From a00fb6f096571c13a9a98379161197c38b56ac68 Mon Sep 17 00:00:00 2001 From: bilelmoussaoui Date: Wed, 23 Oct 2024 20:14:53 +0000 Subject: [PATCH] deploy: ff441ba7a0c9f68c14ae381470a0bf6464c35bc4 --- git/docs/cairo/enum.Antialias.html | 4 +- git/docs/cairo/enum.Content.html | 4 +- git/docs/cairo/enum.DeviceType.html | 4 +- git/docs/cairo/enum.Extend.html | 4 +- git/docs/cairo/enum.FillRule.html | 4 +- git/docs/cairo/enum.Filter.html | 4 +- git/docs/cairo/enum.FontSlant.html | 4 +- git/docs/cairo/enum.FontType.html | 4 +- git/docs/cairo/enum.FontWeight.html | 4 +- git/docs/cairo/enum.Format.html | 4 +- git/docs/cairo/enum.HintMetrics.html | 4 +- git/docs/cairo/enum.HintStyle.html | 4 +- git/docs/cairo/enum.LineCap.html | 4 +- git/docs/cairo/enum.LineJoin.html | 4 +- git/docs/cairo/enum.Operator.html | 4 +- git/docs/cairo/enum.PathDataType.html | 4 +- git/docs/cairo/enum.PatternType.html | 4 +- git/docs/cairo/enum.RegionOverlap.html | 4 +- git/docs/cairo/enum.SubpixelOrder.html | 4 +- git/docs/cairo/enum.SurfaceType.html | 4 +- git/docs/cairo/enum.TextClusterFlags.html | 4 +- git/docs/cairo/struct.FontOptions.html | 4 +- git/docs/cairo/struct.Matrix.html | 4 +- git/docs/cairo/struct.Rectangle.html | 4 +- git/docs/cairo/struct.RectangleInt.html | 4 +- git/docs/gdk_pixbuf/enum.Colorspace.html | 4 +- git/docs/gdk_pixbuf/enum.InterpType.html | 4 +- git/docs/gdk_pixbuf/enum.PixbufAlphaMode.html | 4 +- git/docs/gdk_pixbuf/enum.PixbufError.html | 4 +- git/docs/gdk_pixbuf/enum.PixbufRotation.html | 4 +- git/docs/gdk_pixbuf/struct.Pixbuf.html | 90 +- .../gdk_pixbuf/struct.PixbufAnimation.html | 90 +- .../struct.PixbufAnimationIter.html | 90 +- git/docs/gdk_pixbuf/struct.PixbufFormat.html | 4 +- git/docs/gdk_pixbuf/struct.PixbufLoader.html | 90 +- git/docs/gdk_pixbuf/struct.PixbufNonAnim.html | 90 +- .../gdk_pixbuf/struct.PixbufSimpleAnim.html | 90 +- .../trait.DerivedObjectProperties.html | 8 +- .../prelude/trait.IsSubclassable.html | 4 +- .../prelude/trait.ObjectClassSubclassExt.html | 6 +- .../subclass/prelude/trait.ObjectImpl.html | 42 +- .../subclass/prelude/trait.ObjectImplExt.html | 12 +- .../prelude/trait.TypeModuleImpl.html | 9 +- .../prelude/trait.TypeModuleImplExt.html | 4 +- git/docs/gio/enum.BusType.html | 4 +- git/docs/gio/enum.ConverterResult.html | 4 +- git/docs/gio/enum.CredentialsType.html | 4 +- git/docs/gio/enum.DBusMessageByteOrder.html | 4 +- git/docs/gio/enum.DBusMessageHeaderField.html | 4 +- git/docs/gio/enum.DBusMessageType.html | 4 +- git/docs/gio/enum.DataStreamByteOrder.html | 4 +- git/docs/gio/enum.DataStreamNewlineType.html | 4 +- git/docs/gio/enum.DriveStartStopType.html | 4 +- git/docs/gio/enum.EmblemOrigin.html | 4 +- git/docs/gio/enum.FileAttributeStatus.html | 4 +- git/docs/gio/enum.FileAttributeType.html | 4 +- git/docs/gio/enum.FileMonitorEvent.html | 4 +- git/docs/gio/enum.FileType.html | 4 +- git/docs/gio/enum.IOErrorEnum.html | 4 +- .../gio/enum.MemoryMonitorWarningLevel.html | 4 +- git/docs/gio/enum.MountOperationResult.html | 4 +- git/docs/gio/enum.NetworkConnectivity.html | 4 +- git/docs/gio/enum.NotificationPriority.html | 4 +- git/docs/gio/enum.PasswordSave.html | 4 +- git/docs/gio/enum.PollableReturn.html | 4 +- git/docs/gio/enum.ResolverError.html | 4 +- git/docs/gio/enum.ResolverRecordType.html | 4 +- git/docs/gio/enum.ResourceError.html | 4 +- git/docs/gio/enum.SocketClientEvent.html | 4 +- git/docs/gio/enum.SocketFamily.html | 4 +- git/docs/gio/enum.SocketListenerEvent.html | 4 +- git/docs/gio/enum.SocketProtocol.html | 4 +- git/docs/gio/enum.SocketType.html | 4 +- git/docs/gio/enum.TlsAuthenticationMode.html | 4 +- .../gio/enum.TlsCertificateRequestFlags.html | 4 +- git/docs/gio/enum.TlsChannelBindingType.html | 4 +- git/docs/gio/enum.TlsDatabaseLookupFlags.html | 4 +- git/docs/gio/enum.TlsError.html | 4 +- git/docs/gio/enum.TlsInteractionResult.html | 4 +- git/docs/gio/enum.TlsProtocolVersion.html | 4 +- git/docs/gio/enum.TlsRehandshakeMode.html | 4 +- git/docs/gio/enum.UnixSocketAddressType.html | 4 +- git/docs/gio/enum.ZlibCompressorFormat.html | 4 +- git/docs/gio/struct.Action.html | 90 +- git/docs/gio/struct.ActionGroup.html | 90 +- git/docs/gio/struct.ActionMap.html | 90 +- git/docs/gio/struct.AppInfo.html | 90 +- git/docs/gio/struct.AppInfoCreateFlags.html | 4 +- git/docs/gio/struct.AppInfoMonitor.html | 90 +- git/docs/gio/struct.AppLaunchContext.html | 90 +- git/docs/gio/struct.Application.html | 90 +- .../gio/struct.ApplicationCommandLine.html | 90 +- git/docs/gio/struct.ApplicationFlags.html | 4 +- git/docs/gio/struct.AskPasswordFlags.html | 4 +- git/docs/gio/struct.AsyncInitable.html | 90 +- git/docs/gio/struct.AsyncResult.html | 90 +- git/docs/gio/struct.BufferedInputStream.html | 90 +- git/docs/gio/struct.BufferedOutputStream.html | 90 +- git/docs/gio/struct.BusNameOwnerFlags.html | 4 +- git/docs/gio/struct.BusNameWatcherFlags.html | 4 +- git/docs/gio/struct.BytesIcon.html | 90 +- git/docs/gio/struct.Cancellable.html | 94 +- git/docs/gio/struct.CharsetConverter.html | 90 +- git/docs/gio/struct.Converter.html | 90 +- git/docs/gio/struct.ConverterFlags.html | 4 +- git/docs/gio/struct.ConverterInputStream.html | 90 +- .../gio/struct.ConverterOutputStream.html | 90 +- git/docs/gio/struct.Credentials.html | 90 +- git/docs/gio/struct.DBusActionGroup.html | 90 +- git/docs/gio/struct.DBusAuthObserver.html | 90 +- git/docs/gio/struct.DBusCallFlags.html | 4 +- git/docs/gio/struct.DBusCapabilityFlags.html | 4 +- git/docs/gio/struct.DBusConnection.html | 94 +- git/docs/gio/struct.DBusConnectionFlags.html | 4 +- git/docs/gio/struct.DBusInterface.html | 90 +- .../gio/struct.DBusInterfaceSkeleton.html | 90 +- .../struct.DBusInterfaceSkeletonFlags.html | 4 +- git/docs/gio/struct.DBusMenuModel.html | 90 +- git/docs/gio/struct.DBusMessage.html | 90 +- git/docs/gio/struct.DBusMessageFlags.html | 4 +- git/docs/gio/struct.DBusMethodInvocation.html | 90 +- git/docs/gio/struct.DBusObject.html | 90 +- git/docs/gio/struct.DBusObjectManager.html | 90 +- .../struct.DBusObjectManagerClientFlags.html | 4 +- git/docs/gio/struct.DBusProxy.html | 94 +- git/docs/gio/struct.DBusProxyFlags.html | 4 +- git/docs/gio/struct.DBusSendMessageFlags.html | 4 +- git/docs/gio/struct.DBusServer.html | 90 +- git/docs/gio/struct.DBusServerFlags.html | 4 +- git/docs/gio/struct.DBusSignalFlags.html | 4 +- git/docs/gio/struct.DataInputStream.html | 90 +- git/docs/gio/struct.DataOutputStream.html | 90 +- git/docs/gio/struct.DatagramBased.html | 90 +- git/docs/gio/struct.DebugController.html | 90 +- git/docs/gio/struct.DebugControllerDBus.html | 90 +- git/docs/gio/struct.DesktopAppInfo.html | 90 +- git/docs/gio/struct.Drive.html | 90 +- git/docs/gio/struct.DriveStartFlags.html | 4 +- git/docs/gio/struct.Emblem.html | 90 +- git/docs/gio/struct.EmblemedIcon.html | 90 +- git/docs/gio/struct.File.html | 94 +- .../gio/struct.FileAttributeInfoFlags.html | 4 +- git/docs/gio/struct.FileCopyFlags.html | 4 +- git/docs/gio/struct.FileCreateFlags.html | 4 +- git/docs/gio/struct.FileDescriptorBased.html | 90 +- git/docs/gio/struct.FileEnumerator.html | 90 +- git/docs/gio/struct.FileIOStream.html | 90 +- git/docs/gio/struct.FileIcon.html | 90 +- git/docs/gio/struct.FileInfo.html | 90 +- git/docs/gio/struct.FileInputStream.html | 90 +- git/docs/gio/struct.FileMeasureFlags.html | 4 +- git/docs/gio/struct.FileMonitor.html | 90 +- git/docs/gio/struct.FileMonitorFlags.html | 4 +- git/docs/gio/struct.FileOutputStream.html | 90 +- git/docs/gio/struct.FileQueryInfoFlags.html | 4 +- git/docs/gio/struct.FilenameCompleter.html | 90 +- git/docs/gio/struct.FilterInputStream.html | 90 +- git/docs/gio/struct.FilterOutputStream.html | 90 +- git/docs/gio/struct.IOStream.html | 90 +- git/docs/gio/struct.IOStreamSpliceFlags.html | 4 +- git/docs/gio/struct.Icon.html | 90 +- git/docs/gio/struct.InetAddress.html | 94 +- git/docs/gio/struct.InetAddressMask.html | 94 +- git/docs/gio/struct.InetSocketAddress.html | 94 +- git/docs/gio/struct.Initable.html | 90 +- git/docs/gio/struct.InputStream.html | 90 +- git/docs/gio/struct.ListModel.html | 90 +- git/docs/gio/struct.ListStore.html | 90 +- git/docs/gio/struct.LoadableIcon.html | 90 +- git/docs/gio/struct.LocalTask.html | 90 +- git/docs/gio/struct.MemoryInputStream.html | 90 +- git/docs/gio/struct.MemoryMonitor.html | 90 +- git/docs/gio/struct.MemoryOutputStream.html | 90 +- git/docs/gio/struct.Menu.html | 90 +- git/docs/gio/struct.MenuAttributeIter.html | 90 +- git/docs/gio/struct.MenuItem.html | 90 +- git/docs/gio/struct.MenuLinkIter.html | 90 +- git/docs/gio/struct.MenuModel.html | 90 +- git/docs/gio/struct.Mount.html | 90 +- git/docs/gio/struct.MountMountFlags.html | 4 +- git/docs/gio/struct.MountOperation.html | 90 +- git/docs/gio/struct.MountUnmountFlags.html | 4 +- git/docs/gio/struct.NetworkAddress.html | 94 +- git/docs/gio/struct.NetworkMonitor.html | 90 +- git/docs/gio/struct.NetworkService.html | 90 +- git/docs/gio/struct.Notification.html | 90 +- git/docs/gio/struct.OutputStream.html | 90 +- .../gio/struct.OutputStreamSpliceFlags.html | 4 +- git/docs/gio/struct.Permission.html | 90 +- git/docs/gio/struct.PollableInputStream.html | 90 +- git/docs/gio/struct.PollableOutputStream.html | 90 +- git/docs/gio/struct.PowerProfileMonitor.html | 90 +- git/docs/gio/struct.PropertyAction.html | 90 +- git/docs/gio/struct.Proxy.html | 90 +- git/docs/gio/struct.ProxyAddress.html | 94 +- git/docs/gio/struct.ProxyResolver.html | 90 +- git/docs/gio/struct.ReadInputStream.html | 90 +- git/docs/gio/struct.RemoteActionGroup.html | 90 +- git/docs/gio/struct.Resolver.html | 90 +- .../gio/struct.ResolverNameLookupFlags.html | 4 +- git/docs/gio/struct.ResourceLookupFlags.html | 4 +- git/docs/gio/struct.Seekable.html | 90 +- git/docs/gio/struct.Settings.html | 90 +- git/docs/gio/struct.SettingsBackend.html | 90 +- git/docs/gio/struct.SettingsBindFlags.html | 4 +- git/docs/gio/struct.SimpleAction.html | 90 +- git/docs/gio/struct.SimpleActionGroup.html | 90 +- git/docs/gio/struct.SimpleIOStream.html | 90 +- git/docs/gio/struct.SimplePermission.html | 90 +- git/docs/gio/struct.SimpleProxyResolver.html | 90 +- git/docs/gio/struct.Socket.html | 90 +- git/docs/gio/struct.SocketAddress.html | 94 +- .../gio/struct.SocketAddressEnumerator.html | 90 +- git/docs/gio/struct.SocketClient.html | 90 +- git/docs/gio/struct.SocketConnectable.html | 90 +- git/docs/gio/struct.SocketConnection.html | 90 +- git/docs/gio/struct.SocketControlMessage.html | 90 +- git/docs/gio/struct.SocketListener.html | 90 +- git/docs/gio/struct.SocketMsgFlags.html | 4 +- git/docs/gio/struct.SocketService.html | 90 +- git/docs/gio/struct.Subprocess.html | 90 +- git/docs/gio/struct.SubprocessFlags.html | 4 +- git/docs/gio/struct.SubprocessLauncher.html | 90 +- git/docs/gio/struct.Task.html | 94 +- git/docs/gio/struct.TcpConnection.html | 90 +- git/docs/gio/struct.ThemedIcon.html | 90 +- .../gio/struct.ThreadedSocketService.html | 90 +- git/docs/gio/struct.TlsBackend.html | 90 +- git/docs/gio/struct.TlsCertificate.html | 90 +- git/docs/gio/struct.TlsCertificateFlags.html | 4 +- git/docs/gio/struct.TlsClientConnection.html | 90 +- git/docs/gio/struct.TlsConnection.html | 90 +- git/docs/gio/struct.TlsDatabase.html | 90 +- .../gio/struct.TlsDatabaseVerifyFlags.html | 4 +- git/docs/gio/struct.TlsFileDatabase.html | 90 +- git/docs/gio/struct.TlsInteraction.html | 90 +- git/docs/gio/struct.TlsPassword.html | 90 +- git/docs/gio/struct.TlsPasswordFlags.html | 4 +- git/docs/gio/struct.TlsServerConnection.html | 90 +- .../gio/struct.UnixCredentialsMessage.html | 90 +- git/docs/gio/struct.UnixFDList.html | 90 +- git/docs/gio/struct.UnixFDMessage.html | 90 +- git/docs/gio/struct.UnixInputStream.html | 90 +- git/docs/gio/struct.UnixMountEntry.html | 4 +- git/docs/gio/struct.UnixMountPoint.html | 4 +- git/docs/gio/struct.UnixOutputStream.html | 90 +- git/docs/gio/struct.UnixSocketAddress.html | 94 +- git/docs/gio/struct.Vfs.html | 94 +- git/docs/gio/struct.Volume.html | 90 +- git/docs/gio/struct.VolumeMonitor.html | 90 +- git/docs/gio/struct.WriteOutputStream.html | 90 +- git/docs/gio/struct.ZlibCompressor.html | 90 +- git/docs/gio/struct.ZlibDecompressor.html | 90 +- git/docs/glib/clone/trait.Downgrade.html | 2 +- git/docs/glib/closure/struct.Closure.html | 4 +- .../glib/collections/strv/struct.StrV.html | 6 +- git/docs/glib/enum.ControlFlow.html | 4 +- git/docs/glib/enum.IConvError.html | 4 +- git/docs/glib/enum.NormalizeMode.html | 4 +- git/docs/glib/enum.UnicodeBreakType.html | 4 +- git/docs/glib/enum.UnicodeScript.html | 4 +- git/docs/glib/enum.UnicodeType.html | 4 +- git/docs/glib/enums/index.html | 10 +- .../glib/enums/struct.EnumTypeChecker.html | 2 +- git/docs/glib/enums/struct.EnumValue.html | 28 +- .../glib/enums/struct.EnumerationValues.html | 6 +- .../struct.EnumerationValuesStorage.html | 6 +- git/docs/glib/enums/struct.FlagsBuilder.html | 16 +- git/docs/glib/enums/struct.FlagsClass.html | 52 +- .../glib/enums/struct.FlagsTypeChecker.html | 2 +- git/docs/glib/enums/struct.FlagsValue.html | 24 +- .../glib/enums/struct.InvalidEnumError.html | 6 +- .../glib/enums/struct.InvalidFlagsError.html | 6 +- .../glib/enums/struct.ParseFlagsError.html | 2 +- .../glib/enums/trait.EnumerationValue.html | 8 +- git/docs/glib/enums/type.EnumValues.html | 2 +- .../glib/enums/type.EnumValuesStorage.html | 2 +- git/docs/glib/enums/type.FlagsValues.html | 2 +- .../glib/enums/type.FlagsValuesStorage.html | 2 +- git/docs/glib/error/index.html | 4 +- git/docs/glib/error/struct.BoolError.html | 8 +- git/docs/glib/error/struct.Error.html | 71 +- git/docs/glib/error/trait.ErrorDomain.html | 8 +- git/docs/glib/fn.access.html | 21 +- git/docs/glib/fn.application_name.html | 14 +- git/docs/glib/fn.base64_decode.html | 11 +- git/docs/glib/fn.base64_encode.html | 10 +- git/docs/glib/fn.casefold.html | 2 +- git/docs/glib/fn.check_version.html | 26 +- git/docs/glib/fn.codeset.html | 8 +- .../glib/fn.compute_checksum_for_bytes.html | 15 +- .../glib/fn.compute_checksum_for_data.html | 15 +- git/docs/glib/fn.compute_hmac_for_bytes.html | 15 +- git/docs/glib/fn.compute_hmac_for_data.html | 15 +- git/docs/glib/fn.console_charset.html | 22 +- git/docs/glib/fn.convert.html | 33 +- git/docs/glib/fn.convert_with_fallback.html | 40 +- git/docs/glib/fn.current_dir.html | 14 +- git/docs/glib/fn.dcgettext.html | 15 +- git/docs/glib/fn.dgettext.html | 95 +- git/docs/glib/fn.dngettext.html | 22 +- git/docs/glib/fn.dpgettext.html | 27 +- git/docs/glib/fn.dpgettext2.html | 21 +- git/docs/glib/fn.environ.html | 13 +- git/docs/glib/fn.file_get_contents.html | 20 +- git/docs/glib/fn.file_open_tmp.html | 30 +- git/docs/glib/fn.file_set_contents.html | 17 +- git/docs/glib/fn.file_set_contents_full.html | 71 +- git/docs/glib/fn.filename_charsets.html | 28 +- .../glib/fn.filename_display_basename.html | 23 +- git/docs/glib/fn.filename_display_name.html | 23 +- git/docs/glib/fn.filename_from_uri.html | 19 +- git/docs/glib/fn.filename_from_utf8.html | 34 +- git/docs/glib/fn.filename_to_uri.html | 17 +- git/docs/glib/fn.filename_to_utf8.html | 38 +- git/docs/glib/fn.find_program_in_path.html | 24 +- git/docs/glib/fn.format_size.html | 19 +- git/docs/glib/fn.format_size_full.html | 14 +- git/docs/glib/fn.getenv.html | 17 +- git/docs/glib/fn.home_dir.html | 22 +- git/docs/glib/fn.host_name.html | 18 +- .../glib/fn.hostname_is_ascii_encoded.html | 16 +- git/docs/glib/fn.hostname_is_ip_address.html | 11 +- git/docs/glib/fn.hostname_is_non_ascii.html | 14 +- git/docs/glib/fn.hostname_to_ascii.html | 12 +- git/docs/glib/fn.hostname_to_unicode.html | 15 +- git/docs/glib/fn.is_canonical_pspec_name.html | 2 +- git/docs/glib/fn.language_names.html | 16 +- .../glib/fn.language_names_with_category.html | 18 +- git/docs/glib/fn.listenv.html | 14 +- git/docs/glib/fn.locale_from_utf8.html | 31 +- git/docs/glib/fn.locale_to_utf8.html | 32 +- git/docs/glib/fn.locale_variants.html | 22 +- git/docs/glib/fn.main_current_source.html | 7 +- git/docs/glib/fn.main_depth.html | 104 +- git/docs/glib/fn.markup_escape_text.html | 22 +- git/docs/glib/fn.mkdir_with_parents.html | 13 +- git/docs/glib/fn.mkdtemp.html | 23 +- git/docs/glib/fn.mkdtemp_full.html | 25 +- git/docs/glib/fn.mkstemp.html | 21 +- git/docs/glib/fn.mkstemp_full.html | 26 +- git/docs/glib/fn.monotonic_time.html | 14 +- git/docs/glib/fn.normalize.html | 2 +- git/docs/glib/fn.num_processors.html | 10 +- git/docs/glib/fn.on_error_query.html | 48 +- git/docs/glib/fn.on_error_stack_trace.html | 18 +- git/docs/glib/fn.os_info.html | 16 +- git/docs/glib/fn.random_double.html | 7 +- git/docs/glib/fn.random_double_range.html | 12 +- git/docs/glib/fn.random_int.html | 8 +- git/docs/glib/fn.random_int_range.html | 12 +- git/docs/glib/fn.random_set_seed.html | 8 +- git/docs/glib/fn.real_name.html | 11 +- git/docs/glib/fn.real_time.html | 13 +- .../fn.reload_user_special_dirs_cache.html | 11 +- git/docs/glib/fn.set_application_name.html | 15 +- git/docs/glib/fn.setenv.html | 31 +- git/docs/glib/fn.shell_parse_argv.html | 26 +- git/docs/glib/fn.shell_quote.html | 15 +- git/docs/glib/fn.shell_unquote.html | 32 +- git/docs/glib/fn.spaced_primes_closest.html | 14 +- git/docs/glib/fn.spawn_async.html | 34 +- git/docs/glib/fn.spawn_check_exit_status.html | 18 +- git/docs/glib/fn.spawn_check_wait_status.html | 40 +- .../glib/fn.spawn_command_line_async.html | 14 +- git/docs/glib/fn.spawn_future.html | 2 +- git/docs/glib/fn.spawn_future_local.html | 2 +- git/docs/glib/fn.system_config_dirs.html | 24 +- git/docs/glib/fn.system_data_dirs.html | 34 +- git/docs/glib/fn.tmp_dir.html | 17 +- git/docs/glib/fn.unix_open_pipe.html | 23 +- git/docs/glib/fn.unlink.html | 15 +- git/docs/glib/fn.unsetenv.html | 19 +- git/docs/glib/fn.uri_escape_string.html | 2 +- git/docs/glib/fn.uri_parse_scheme.html | 2 +- git/docs/glib/fn.uri_unescape_segment.html | 2 +- git/docs/glib/fn.uri_unescape_string.html | 2 +- git/docs/glib/fn.user_cache_dir.html | 20 +- git/docs/glib/fn.user_config_dir.html | 21 +- git/docs/glib/fn.user_data_dir.html | 21 +- git/docs/glib/fn.user_name.html | 10 +- git/docs/glib/fn.user_runtime_dir.html | 18 +- git/docs/glib/fn.user_special_dir.html | 18 +- git/docs/glib/fn.user_state_dir.html | 21 +- git/docs/glib/fn.usleep.html | 9 +- git/docs/glib/fn.utf32_to_utf8.html | 2 +- git/docs/glib/fn.utf8_to_utf32.html | 2 +- git/docs/glib/fn.uuid_string_is_valid.html | 13 +- git/docs/glib/fn.uuid_string_random.html | 7 +- git/docs/glib/index.html | 286 +- git/docs/glib/macro.bool_error.html | 2 +- git/docs/glib/macro.glib_object_wrapper.html | 2 +- git/docs/glib/macro.result_from_gboolean.html | 2 +- git/docs/glib/match_info/index.html | 4 +- .../glib/match_info/struct.MatchInfo.html | 22 +- git/docs/glib/object/index.html | 2 +- .../glib/object/struct.BindingBuilder.html | 22 +- .../glib/object/struct.BorrowedObject.html | 20 +- git/docs/glib/object/struct.Class.html | 20 +- git/docs/glib/object/struct.ClassRef.html | 12 +- .../glib/object/struct.InitiallyUnowned.html | 102 +- git/docs/glib/object/struct.Interface.html | 24 +- git/docs/glib/object/struct.InterfaceRef.html | 18 +- git/docs/glib/object/struct.Object.html | 116 +- .../glib/object/struct.ObjectBuilder.html | 14 +- git/docs/glib/object/struct.ObjectRef.html | 10 +- .../object/struct.ObjectValueTypeChecker.html | 4 +- ...truct.PropertyNotificationFreezeGuard.html | 2 +- git/docs/glib/object/struct.SendWeakRef.html | 8 +- .../glib/object/struct.TypedObjectRef.html | 10 +- git/docs/glib/object/struct.WeakRef.html | 16 +- .../glib/object/struct.WeakRefNotify.html | 6 +- git/docs/glib/object/trait.Cast.html | 20 +- git/docs/glib/object/trait.CastNone.html | 20 +- git/docs/glib/object/trait.IsA.html | 4 +- git/docs/glib/object/trait.IsClass.html | 2 +- git/docs/glib/object/trait.IsInterface.html | 2 +- git/docs/glib/object/trait.MayDowncastTo.html | 4 +- .../glib/object/trait.ObjectClassExt.html | 12 +- git/docs/glib/object/trait.ObjectExt.html | 116 +- .../glib/object/trait.ObjectSubclassIs.html | 4 +- git/docs/glib/object/trait.ParentClassIs.html | 4 +- git/docs/glib/object/type.ObjectClass.html | 2 +- git/docs/glib/prelude/trait.HasParamSpec.html | 6 +- .../prelude/trait.ParamSpecBuilderExt.html | 34 +- .../glib/prelude/trait.ParamSpecType.html | 4 +- .../glib/prelude/trait.TypeModuleExt.html | 12 +- .../glib/prelude/trait.TypePluginExt.html | 42 +- git/docs/glib/regex/index.html | 2 +- git/docs/glib/signal/enum.Propagation.html | 4 +- git/docs/glib/static.CSET_A_2_Z.html | 7 +- git/docs/glib/static.CSET_DIGITS.html | 7 +- git/docs/glib/static.CSET_a_2_z.html | 7 +- .../glib/static.KEY_FILE_DESKTOP_GROUP.html | 8 +- .../static.KEY_FILE_DESKTOP_KEY_ACTIONS.html | 6 +- ...tatic.KEY_FILE_DESKTOP_KEY_CATEGORIES.html | 7 +- .../static.KEY_FILE_DESKTOP_KEY_COMMENT.html | 6 +- ...KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE.html | 6 +- .../static.KEY_FILE_DESKTOP_KEY_EXEC.html | 7 +- ...tic.KEY_FILE_DESKTOP_KEY_GENERIC_NAME.html | 6 +- .../static.KEY_FILE_DESKTOP_KEY_HIDDEN.html | 6 +- .../static.KEY_FILE_DESKTOP_KEY_ICON.html | 7 +- ...static.KEY_FILE_DESKTOP_KEY_MIME_TYPE.html | 6 +- .../static.KEY_FILE_DESKTOP_KEY_NAME.html | 6 +- ...atic.KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN.html | 7 +- ...tatic.KEY_FILE_DESKTOP_KEY_NO_DISPLAY.html | 6 +- ...tic.KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN.html | 7 +- .../static.KEY_FILE_DESKTOP_KEY_PATH.html | 7 +- ...c.KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY.html | 7 +- ...KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS.html | 8 +- .../static.KEY_FILE_DESKTOP_KEY_TERMINAL.html | 5 +- .../static.KEY_FILE_DESKTOP_KEY_TRY_EXEC.html | 8 +- .../static.KEY_FILE_DESKTOP_KEY_TYPE.html | 7 +- .../glib/static.KEY_FILE_DESKTOP_KEY_URL.html | 7 +- .../static.KEY_FILE_DESKTOP_KEY_VERSION.html | 7 +- ...tic.KEY_FILE_DESKTOP_TYPE_APPLICATION.html | 6 +- ...tatic.KEY_FILE_DESKTOP_TYPE_DIRECTORY.html | 6 +- .../static.KEY_FILE_DESKTOP_TYPE_LINK.html | 6 +- git/docs/glib/static.OPTION_REMAINING.html | 10 +- git/docs/glib/static.STR_DELIMITERS.html | 5 +- .../glib/static.TEST_OPTION_ISOLATE_DIRS.html | 24 +- ...URI_RESERVED_CHARS_GENERIC_DELIMITERS.html | 6 +- ...ESERVED_CHARS_SUBCOMPONENT_DELIMITERS.html | 6 +- git/docs/glib/struct.Binding.html | 206 +- git/docs/glib/struct.BindingFlags.html | 96 +- git/docs/glib/struct.BindingGroup.html | 149 +- git/docs/glib/struct.BindingGroupBuilder.html | 20 +- git/docs/glib/struct.BoxedAnyObject.html | 88 +- git/docs/glib/struct.ByteArray.html | 57 +- git/docs/glib/struct.Bytes.html | 86 +- git/docs/glib/struct.Checksum.html | 99 +- git/docs/glib/struct.Date.html | 4 +- git/docs/glib/struct.DateTime.html | 822 +++- .../glib/struct.FileSetContentsFlags.html | 104 +- git/docs/glib/struct.FormatSizeFlags.html | 106 +- git/docs/glib/struct.GStr.html | 4 +- git/docs/glib/struct.GString.html | 6 +- git/docs/glib/struct.GStringBuilder.html | 4 +- git/docs/glib/struct.IConv.html | 85 +- git/docs/glib/struct.IOCondition.html | 103 +- git/docs/glib/struct.InterfaceInfo.html | 8 +- git/docs/glib/struct.KeyFile.html | 890 ++++- git/docs/glib/struct.KeyFileFlags.html | 94 +- git/docs/glib/struct.LogLevelFlags.html | 109 +- git/docs/glib/struct.MainContext.html | 229 +- .../glib/struct.MainContextAcquireGuard.html | 2 +- git/docs/glib/struct.MainContextFlags.html | 89 +- git/docs/glib/struct.MainLoop.html | 65 +- git/docs/glib/struct.MarkupParseContext.html | 86 +- git/docs/glib/struct.OptionFlags.html | 118 +- git/docs/glib/struct.ParamFlags.html | 110 +- git/docs/glib/struct.ParamSpec.html | 122 +- git/docs/glib/struct.ParamSpecBoolean.html | 84 +- .../glib/struct.ParamSpecBooleanBuilder.html | 6 +- git/docs/glib/struct.ParamSpecBoxed.html | 88 +- .../glib/struct.ParamSpecBoxedBuilder.html | 4 +- git/docs/glib/struct.ParamSpecChar.html | 84 +- .../glib/struct.ParamSpecCharBuilder.html | 10 +- git/docs/glib/struct.ParamSpecDouble.html | 88 +- .../glib/struct.ParamSpecDoubleBuilder.html | 10 +- git/docs/glib/struct.ParamSpecEnum.html | 90 +- .../glib/struct.ParamSpecEnumBuilder.html | 4 +- git/docs/glib/struct.ParamSpecFlags.html | 88 +- .../glib/struct.ParamSpecFlagsBuilder.html | 6 +- git/docs/glib/struct.ParamSpecFloat.html | 88 +- .../glib/struct.ParamSpecFloatBuilder.html | 10 +- git/docs/glib/struct.ParamSpecGType.html | 88 +- .../glib/struct.ParamSpecGTypeBuilder.html | 6 +- git/docs/glib/struct.ParamSpecInt.html | 84 +- git/docs/glib/struct.ParamSpecInt64.html | 84 +- .../glib/struct.ParamSpecInt64Builder.html | 10 +- git/docs/glib/struct.ParamSpecIntBuilder.html | 10 +- git/docs/glib/struct.ParamSpecLong.html | 84 +- .../glib/struct.ParamSpecLongBuilder.html | 10 +- git/docs/glib/struct.ParamSpecObject.html | 90 +- .../glib/struct.ParamSpecObjectBuilder.html | 4 +- git/docs/glib/struct.ParamSpecOverride.html | 110 +- .../glib/struct.ParamSpecOverrideBuilder.html | 2 +- git/docs/glib/struct.ParamSpecParam.html | 90 +- .../glib/struct.ParamSpecParamBuilder.html | 4 +- git/docs/glib/struct.ParamSpecPointer.html | 88 +- .../glib/struct.ParamSpecPointerBuilder.html | 4 +- git/docs/glib/struct.ParamSpecString.html | 90 +- .../glib/struct.ParamSpecStringBuilder.html | 6 +- git/docs/glib/struct.ParamSpecUChar.html | 84 +- .../glib/struct.ParamSpecUCharBuilder.html | 10 +- git/docs/glib/struct.ParamSpecUInt.html | 84 +- git/docs/glib/struct.ParamSpecUInt64.html | 84 +- .../glib/struct.ParamSpecUInt64Builder.html | 10 +- .../glib/struct.ParamSpecUIntBuilder.html | 10 +- git/docs/glib/struct.ParamSpecULong.html | 84 +- .../glib/struct.ParamSpecULongBuilder.html | 10 +- git/docs/glib/struct.ParamSpecUnichar.html | 84 +- .../glib/struct.ParamSpecUnicharBuilder.html | 4 +- git/docs/glib/struct.ParamSpecValueArray.html | 88 +- .../struct.ParamSpecValueArrayBuilder.html | 6 +- git/docs/glib/struct.ParamSpecVariant.html | 100 +- .../glib/struct.ParamSpecVariantBuilder.html | 6 +- git/docs/glib/struct.Regex.html | 617 ++- git/docs/glib/struct.RegexCompileFlags.html | 192 +- git/docs/glib/struct.RegexMatchFlags.html | 171 +- git/docs/glib/struct.SignalFlags.html | 122 +- git/docs/glib/struct.SignalGroup.html | 228 +- git/docs/glib/struct.Source.html | 190 +- git/docs/glib/struct.SpawnFlags.html | 131 +- git/docs/glib/struct.ThreadHandle.html | 6 +- git/docs/glib/struct.ThreadPool.html | 141 +- git/docs/glib/struct.TimeZone.html | 271 +- git/docs/glib/struct.TypeFlags.html | 100 +- git/docs/glib/struct.TypeInfo.html | 14 +- git/docs/glib/struct.TypeModule.html | 162 +- git/docs/glib/struct.TypePlugin.html | 172 +- git/docs/glib/struct.TypeValueTable.html | 10 +- git/docs/glib/struct.Uri.html | 863 ++++- git/docs/glib/struct.UriFlags.html | 130 +- git/docs/glib/struct.UriHideFlags.html | 88 +- git/docs/glib/struct.UriParamsFlags.html | 84 +- git/docs/glib/struct.VariantTy.html | 4 +- git/docs/glib/struct.VariantType.html | 4 +- .../subclass/basic/struct.ClassStruct.html | 12 +- git/docs/glib/subclass/object/index.html | 2 +- .../object/trait.DerivedObjectProperties.html | 8 +- .../object/trait.ObjectClassSubclassExt.html | 6 +- .../subclass/object/trait.ObjectImpl.html | 44 +- .../subclass/object/trait.ObjectImplExt.html | 12 +- git/docs/glib/subclass/type_module/index.html | 2 +- .../type_module/trait.TypeModuleImpl.html | 11 +- .../type_module/trait.TypeModuleImplExt.html | 4 +- .../subclass/types/trait.IsSubclassable.html | 2 +- git/docs/glib/trait.HasParamSpec.html | 6 +- git/docs/glib/trait.ParamSpecBuilderExt.html | 34 +- git/docs/glib/trait.ParamSpecType.html | 4 +- git/docs/glib/translate/trait.UnsafeFrom.html | 2 +- git/docs/glib/types/struct.ILong.html | 8 +- git/docs/glib/types/struct.Type.html | 4 +- git/docs/glib/types/struct.ULong.html | 8 +- git/docs/glib/types/trait.StaticType.html | 2 +- git/docs/glib/types/type.Pointer.html | 2 +- git/docs/glib/value/index.html | 2 +- git/docs/glib/value/struct.BoxedValue.html | 30 +- git/docs/glib/value/struct.NopChecker.html | 2 +- git/docs/glib/value/struct.SendValue.html | 42 +- git/docs/glib/value/struct.Value.html | 148 +- git/docs/glib/value/trait.FromValue.html | 4 +- git/docs/glib/value/trait.ToSendValue.html | 6 +- git/docs/glib/value/trait.ToValue.html | 4 +- .../glib/value/trait.ToValueOptional.html | 2 +- git/docs/glib/value/trait.ValueType.html | 4 +- .../glib/value/trait.ValueTypeChecker.html | 4 +- .../glib/value/trait.ValueTypeOptional.html | 2 +- git/docs/glib/variant/struct.Variant.html | 6 +- git/docs/graphene/struct.Box.html | 4 +- git/docs/graphene/struct.Euler.html | 4 +- git/docs/graphene/struct.Frustum.html | 4 +- git/docs/graphene/struct.Matrix.html | 4 +- git/docs/graphene/struct.Plane.html | 4 +- git/docs/graphene/struct.Point.html | 4 +- git/docs/graphene/struct.Point3D.html | 4 +- git/docs/graphene/struct.Quad.html | 4 +- git/docs/graphene/struct.Quaternion.html | 4 +- git/docs/graphene/struct.Ray.html | 4 +- git/docs/graphene/struct.Rect.html | 4 +- git/docs/graphene/struct.Size.html | 4 +- git/docs/graphene/struct.Sphere.html | 4 +- git/docs/graphene/struct.Triangle.html | 4 +- git/docs/graphene/struct.Vec2.html | 4 +- git/docs/graphene/struct.Vec3.html | 4 +- git/docs/graphene/struct.Vec4.html | 4 +- git/docs/index.html | 4 +- git/docs/pango/enum.Alignment.html | 4 +- git/docs/pango/enum.AttrType.html | 4 +- git/docs/pango/enum.BaselineShift.html | 4 +- git/docs/pango/enum.BidiType.html | 4 +- git/docs/pango/enum.CoverageLevel.html | 4 +- git/docs/pango/enum.Direction.html | 4 +- git/docs/pango/enum.EllipsizeMode.html | 4 +- git/docs/pango/enum.FontScale.html | 4 +- git/docs/pango/enum.Gravity.html | 4 +- git/docs/pango/enum.GravityHint.html | 4 +- git/docs/pango/enum.Overline.html | 4 +- git/docs/pango/enum.RenderPart.html | 4 +- git/docs/pango/enum.Script.html | 4 +- git/docs/pango/enum.Stretch.html | 4 +- git/docs/pango/enum.Style.html | 4 +- git/docs/pango/enum.TabAlign.html | 4 +- git/docs/pango/enum.TextTransform.html | 4 +- git/docs/pango/enum.Underline.html | 4 +- git/docs/pango/enum.Variant.html | 4 +- git/docs/pango/enum.Weight.html | 4 +- git/docs/pango/enum.WrapMode.html | 4 +- git/docs/pango/struct.AttrColor.html | 4 +- git/docs/pango/struct.AttrFloat.html | 4 +- git/docs/pango/struct.AttrFontDesc.html | 4 +- git/docs/pango/struct.AttrFontFeatures.html | 4 +- git/docs/pango/struct.AttrInt.html | 4 +- git/docs/pango/struct.AttrLanguage.html | 4 +- git/docs/pango/struct.AttrShape.html | 4 +- git/docs/pango/struct.AttrSize.html | 4 +- git/docs/pango/struct.AttrString.html | 4 +- git/docs/pango/struct.Attribute.html | 4 +- git/docs/pango/struct.Color.html | 4 +- git/docs/pango/struct.Context.html | 90 +- git/docs/pango/struct.Coverage.html | 90 +- git/docs/pango/struct.Font.html | 90 +- git/docs/pango/struct.FontDescription.html | 4 +- git/docs/pango/struct.FontFace.html | 90 +- git/docs/pango/struct.FontFamily.html | 90 +- git/docs/pango/struct.FontMap.html | 90 +- git/docs/pango/struct.FontMask.html | 4 +- git/docs/pango/struct.Fontset.html | 90 +- git/docs/pango/struct.FontsetSimple.html | 90 +- git/docs/pango/struct.GlyphString.html | 4 +- git/docs/pango/struct.Language.html | 4 +- git/docs/pango/struct.Layout.html | 90 +- .../pango/struct.LayoutDeserializeFlags.html | 4 +- .../pango/struct.LayoutSerializeFlags.html | 4 +- git/docs/pango/struct.Matrix.html | 4 +- git/docs/pango/struct.Renderer.html | 90 +- git/docs/pango/struct.ShapeFlags.html | 4 +- git/docs/pango/struct.ShowFlags.html | 4 +- git/docs/pango/struct.TabArray.html | 4 +- git/docs/pangocairo/struct.Font.html | 90 +- git/docs/pangocairo/struct.FontMap.html | 90 +- git/docs/search-index.js | 4 +- git/docs/search.desc/glib/glib-desc-0-.js | 2 +- git/docs/search.desc/glib/glib-desc-1-.js | 2 +- git/docs/src/glib/auto/checksum.rs.html | 130 +- git/docs/src/glib/auto/constants.rs.html | 304 +- git/docs/src/glib/auto/date_time.rs.html | 1894 +++++++++- git/docs/src/glib/auto/enums.rs.html | 50 +- git/docs/src/glib/auto/flags.rs.html | 984 ++++- git/docs/src/glib/auto/functions.rs.html | 3304 +++-------------- git/docs/src/glib/auto/key_file.rs.html | 1296 ++++++- git/docs/src/glib/auto/main_context.rs.html | 310 +- git/docs/src/glib/auto/main_loop.rs.html | 106 +- .../glib/auto/markup_parse_context.rs.html | 188 +- git/docs/src/glib/auto/mod.rs.html | 140 +- git/docs/src/glib/auto/regex.rs.html | 280 +- git/docs/src/glib/auto/source.rs.html | 396 +- git/docs/src/glib/auto/time_zone.rs.html | 512 ++- git/docs/src/glib/auto/uri.rs.html | 1888 +++++++++- git/docs/src/glib/boxed_any_object.rs.html | 6 +- git/docs/src/glib/byte_array.rs.html | 54 +- git/docs/src/glib/bytes.rs.html | 174 +- git/docs/src/glib/checksum.rs.html | 62 +- git/docs/src/glib/clone.rs.html | 2 +- git/docs/src/glib/closure.rs.html | 48 +- git/docs/src/glib/collections/strv.rs.html | 8 +- git/docs/src/glib/control_flow.rs.html | 4 +- git/docs/src/glib/convert.rs.html | 668 ++-- git/docs/src/glib/date.rs.html | 62 +- git/docs/src/glib/enums.rs.html | 534 ++- git/docs/src/glib/error.rs.html | 146 +- git/docs/src/glib/functions.rs.html | 104 +- .../src/glib/gobject/auto/binding.rs.html | 336 +- .../glib/gobject/auto/binding_group.rs.html | 120 +- git/docs/src/glib/gobject/auto/flags.rs.html | 170 +- git/docs/src/glib/gobject/auto/mod.rs.html | 20 +- .../glib/gobject/auto/signal_group.rs.html | 222 +- git/docs/src/glib/gobject/binding.rs.html | 12 +- .../src/glib/gobject/binding_group.rs.html | 192 +- .../src/glib/gobject/dynamic_object.rs.html | 40 +- git/docs/src/glib/gobject/flags.rs.html | 68 +- .../src/glib/gobject/interface_info.rs.html | 16 +- git/docs/src/glib/gobject/mod.rs.html | 32 +- .../src/glib/gobject/signal_group.rs.html | 162 +- git/docs/src/glib/gobject/type_info.rs.html | 30 +- git/docs/src/glib/gobject/type_module.rs.html | 140 +- git/docs/src/glib/gobject/type_plugin.rs.html | 220 +- .../src/glib/gobject/type_value_table.rs.html | 16 +- git/docs/src/glib/gstring.rs.html | 24 +- git/docs/src/glib/key_file.rs.html | 684 +++- git/docs/src/glib/lib.rs.html | 60 +- git/docs/src/glib/main_context.rs.html | 234 +- .../src/glib/main_context_futures.rs.html | 36 +- git/docs/src/glib/match_info.rs.html | 166 +- git/docs/src/glib/object.rs.html | 1370 +++---- git/docs/src/glib/param_spec.rs.html | 1388 ++++--- git/docs/src/glib/prelude.rs.html | 10 +- git/docs/src/glib/property.rs.html | 32 +- git/docs/src/glib/regex.rs.html | 1108 +++++- git/docs/src/glib/signal.rs.html | 4 +- git/docs/src/glib/source.rs.html | 78 +- git/docs/src/glib/source_futures.rs.html | 26 +- git/docs/src/glib/subclass/interface.rs.html | 8 +- git/docs/src/glib/subclass/mod.rs.html | 8 +- git/docs/src/glib/subclass/object.rs.html | 248 +- .../src/glib/subclass/object_impl_ref.rs.html | 6 +- git/docs/src/glib/subclass/signal.rs.html | 38 +- .../src/glib/subclass/type_module.rs.html | 64 +- .../src/glib/subclass/type_plugin.rs.html | 62 +- git/docs/src/glib/subclass/types.rs.html | 50 +- git/docs/src/glib/thread_pool.rs.html | 378 +- git/docs/src/glib/time_zone.rs.html | 64 +- git/docs/src/glib/types.rs.html | 18 +- git/docs/src/glib/utils.rs.html | 316 +- git/docs/src/glib/value.rs.html | 734 ++-- git/docs/src/glib/value_array.rs.html | 68 +- git/docs/src/glib/variant.rs.html | 44 +- git/docs/src/glib/variant_type.rs.html | 38 +- .../glib/enums/struct.EnumerationValues.js | 2 +- .../enums/struct.EnumerationValuesStorage.js | 2 +- .../type.impl/glib/object/struct.Class.js | 2 +- git/docs/type.impl/std/primitive.i32.js | 2 +- git/docs/type.impl/std/primitive.u8.js | 2 +- 745 files changed, 31380 insertions(+), 19750 deletions(-) diff --git a/git/docs/cairo/enum.Antialias.html b/git/docs/cairo/enum.Antialias.html index ca5571db1128..2b1db7cdb5ad 100644 --- a/git/docs/cairo/enum.Antialias.html +++ b/git/docs/cairo/enum.Antialias.html @@ -95,8 +95,8 @@
source§

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

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/cairo/enum.Content.html b/git/docs/cairo/enum.Content.html index 2be64bdd3ff6..ae7b33079dce 100644 --- a/git/docs/cairo/enum.Content.html +++ b/git/docs/cairo/enum.Content.html @@ -91,8 +91,8 @@
source§

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

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/cairo/enum.DeviceType.html b/git/docs/cairo/enum.DeviceType.html index 9048d7afe2db..b130268825aa 100644 --- a/git/docs/cairo/enum.DeviceType.html +++ b/git/docs/cairo/enum.DeviceType.html @@ -97,8 +97,8 @@
source§

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

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/cairo/enum.Extend.html b/git/docs/cairo/enum.Extend.html index 54faa567db8f..180945de4dbe 100644 --- a/git/docs/cairo/enum.Extend.html +++ b/git/docs/cairo/enum.Extend.html @@ -92,8 +92,8 @@
source§

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

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/cairo/enum.FillRule.html b/git/docs/cairo/enum.FillRule.html index 5071d5362696..18bd5cabb6e1 100644 --- a/git/docs/cairo/enum.FillRule.html +++ b/git/docs/cairo/enum.FillRule.html @@ -90,8 +90,8 @@
source§

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

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/cairo/enum.Filter.html b/git/docs/cairo/enum.Filter.html index 382ec65bf267..ef5bc2fb6fb2 100644 --- a/git/docs/cairo/enum.Filter.html +++ b/git/docs/cairo/enum.Filter.html @@ -94,8 +94,8 @@
source§

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

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/cairo/enum.FontSlant.html b/git/docs/cairo/enum.FontSlant.html index 8f51efba0aa1..02b145f4afc2 100644 --- a/git/docs/cairo/enum.FontSlant.html +++ b/git/docs/cairo/enum.FontSlant.html @@ -91,8 +91,8 @@
source§

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

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/cairo/enum.FontType.html b/git/docs/cairo/enum.FontType.html index e629b8da5e32..dc31722564f2 100644 --- a/git/docs/cairo/enum.FontType.html +++ b/git/docs/cairo/enum.FontType.html @@ -94,8 +94,8 @@
source§

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

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/cairo/enum.FontWeight.html b/git/docs/cairo/enum.FontWeight.html index ec2643eb9ad3..ea9c100c1ef6 100644 --- a/git/docs/cairo/enum.FontWeight.html +++ b/git/docs/cairo/enum.FontWeight.html @@ -90,8 +90,8 @@
source§

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

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/cairo/enum.Format.html b/git/docs/cairo/enum.Format.html index 142b62b19477..1b6077400023 100644 --- a/git/docs/cairo/enum.Format.html +++ b/git/docs/cairo/enum.Format.html @@ -92,8 +92,8 @@
source§

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

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/cairo/enum.HintMetrics.html b/git/docs/cairo/enum.HintMetrics.html index 387a495844cb..4a6d2fa8a3ff 100644 --- a/git/docs/cairo/enum.HintMetrics.html +++ b/git/docs/cairo/enum.HintMetrics.html @@ -91,8 +91,8 @@
source§

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

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/cairo/enum.HintStyle.html b/git/docs/cairo/enum.HintStyle.html index aec373c19010..4fae21536330 100644 --- a/git/docs/cairo/enum.HintStyle.html +++ b/git/docs/cairo/enum.HintStyle.html @@ -93,8 +93,8 @@
source§

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

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/cairo/enum.LineCap.html b/git/docs/cairo/enum.LineCap.html index 58ae7812fcc1..cd60c5517387 100644 --- a/git/docs/cairo/enum.LineCap.html +++ b/git/docs/cairo/enum.LineCap.html @@ -91,8 +91,8 @@
source§

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

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/cairo/enum.LineJoin.html b/git/docs/cairo/enum.LineJoin.html index 68344df5a8e3..0d531d168288 100644 --- a/git/docs/cairo/enum.LineJoin.html +++ b/git/docs/cairo/enum.LineJoin.html @@ -91,8 +91,8 @@
source§

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

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/cairo/enum.Operator.html b/git/docs/cairo/enum.Operator.html index 7f0ca2ec109e..98848cef5a8b 100644 --- a/git/docs/cairo/enum.Operator.html +++ b/git/docs/cairo/enum.Operator.html @@ -117,8 +117,8 @@
source§

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

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/cairo/enum.PathDataType.html b/git/docs/cairo/enum.PathDataType.html index da3c0fe5c929..47d84f9cf99f 100644 --- a/git/docs/cairo/enum.PathDataType.html +++ b/git/docs/cairo/enum.PathDataType.html @@ -92,8 +92,8 @@
source§

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

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/cairo/enum.PatternType.html b/git/docs/cairo/enum.PatternType.html index 60389730b770..89dac2a37b2d 100644 --- a/git/docs/cairo/enum.PatternType.html +++ b/git/docs/cairo/enum.PatternType.html @@ -94,8 +94,8 @@
source§

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

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/cairo/enum.RegionOverlap.html b/git/docs/cairo/enum.RegionOverlap.html index e71ea6ad25ca..41c42993ec27 100644 --- a/git/docs/cairo/enum.RegionOverlap.html +++ b/git/docs/cairo/enum.RegionOverlap.html @@ -88,8 +88,8 @@
source§

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

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/cairo/enum.SubpixelOrder.html b/git/docs/cairo/enum.SubpixelOrder.html index 9d13582cd091..8f62d99dc5ab 100644 --- a/git/docs/cairo/enum.SubpixelOrder.html +++ b/git/docs/cairo/enum.SubpixelOrder.html @@ -93,8 +93,8 @@
source§

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

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/cairo/enum.SurfaceType.html b/git/docs/cairo/enum.SurfaceType.html index 23b97d731cf2..fb41622975cd 100644 --- a/git/docs/cairo/enum.SurfaceType.html +++ b/git/docs/cairo/enum.SurfaceType.html @@ -110,8 +110,8 @@
source§

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

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/cairo/enum.TextClusterFlags.html b/git/docs/cairo/enum.TextClusterFlags.html index 0d4cdd19b571..b551acdee090 100644 --- a/git/docs/cairo/enum.TextClusterFlags.html +++ b/git/docs/cairo/enum.TextClusterFlags.html @@ -90,8 +90,8 @@
source§

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

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/cairo/struct.FontOptions.html b/git/docs/cairo/struct.FontOptions.html index 6dc91a84becd..90a5fff5ef9e 100644 --- a/git/docs/cairo/struct.FontOptions.html +++ b/git/docs/cairo/struct.FontOptions.html @@ -115,8 +115,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType for T

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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

source§

impl<T, U> TryInto<U> for T
where diff --git a/git/docs/cairo/struct.Matrix.html b/git/docs/cairo/struct.Matrix.html index 429058befb0d..f85bc671a29e 100644 --- a/git/docs/cairo/struct.Matrix.html +++ b/git/docs/cairo/struct.Matrix.html @@ -83,8 +83,8 @@ From<T> for U chooses to do.

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where diff --git a/git/docs/cairo/struct.Rectangle.html b/git/docs/cairo/struct.Rectangle.html index efff85174ef1..6c4e925faa3d 100644 --- a/git/docs/cairo/struct.Rectangle.html +++ b/git/docs/cairo/struct.Rectangle.html @@ -83,8 +83,8 @@ From<T> for U chooses to do.

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where diff --git a/git/docs/cairo/struct.RectangleInt.html b/git/docs/cairo/struct.RectangleInt.html index 9c56332ddf22..c756800e3eea 100644 --- a/git/docs/cairo/struct.RectangleInt.html +++ b/git/docs/cairo/struct.RectangleInt.html @@ -83,8 +83,8 @@ From<T> for U chooses to do.

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where diff --git a/git/docs/gdk_pixbuf/enum.Colorspace.html b/git/docs/gdk_pixbuf/enum.Colorspace.html index 5cbccd8e3bbc..8eb8108054d5 100644 --- a/git/docs/gdk_pixbuf/enum.Colorspace.html +++ b/git/docs/gdk_pixbuf/enum.Colorspace.html @@ -101,8 +101,8 @@ T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.

\ No newline at end of file diff --git a/git/docs/gdk_pixbuf/enum.InterpType.html b/git/docs/gdk_pixbuf/enum.InterpType.html index 312ca419e577..13e13f92578f 100644 --- a/git/docs/gdk_pixbuf/enum.InterpType.html +++ b/git/docs/gdk_pixbuf/enum.InterpType.html @@ -128,8 +128,8 @@ T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gdk_pixbuf/enum.PixbufAlphaMode.html b/git/docs/gdk_pixbuf/enum.PixbufAlphaMode.html index ee60a25a5f6b..07b4d1b28741 100644 --- a/git/docs/gdk_pixbuf/enum.PixbufAlphaMode.html +++ b/git/docs/gdk_pixbuf/enum.PixbufAlphaMode.html @@ -117,8 +117,8 @@

HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gdk_pixbuf/enum.PixbufError.html b/git/docs/gdk_pixbuf/enum.PixbufError.html index b5a9a0b83b20..441330f44510 100644 --- a/git/docs/gdk_pixbuf/enum.PixbufError.html +++ b/git/docs/gdk_pixbuf/enum.PixbufError.html @@ -114,8 +114,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gdk_pixbuf/enum.PixbufRotation.html b/git/docs/gdk_pixbuf/enum.PixbufRotation.html index 9dd1dd4979bf..fbd8999a30d1 100644 --- a/git/docs/gdk_pixbuf/enum.PixbufRotation.html +++ b/git/docs/gdk_pixbuf/enum.PixbufRotation.html @@ -106,8 +106,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gdk_pixbuf/struct.Pixbuf.html b/git/docs/gdk_pixbuf/struct.Pixbuf.html index d022a1e141ed..91cf1ca2830c 100644 --- a/git/docs/gdk_pixbuf/struct.Pixbuf.html +++ b/git/docs/gdk_pixbuf/struct.Pixbuf.html @@ -1060,25 +1060,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for Pixbuf

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for Pixbuf

source§

impl IsA<Icon> for Pixbuf

source§

impl IsA<LoadableIcon> for Pixbuf

Auto Trait Implementations§

§

impl Freeze for Pixbuf

§

impl RefUnwindSafe for Pixbuf

§

impl !Send for Pixbuf

§

impl !Sync for Pixbuf

§

impl Unpin for Pixbuf

§

impl UnwindSafe for Pixbuf

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -1134,116 +1134,116 @@
§Returns
version of this function, see g_loadable_icon_load(). Read more

source§

fn load_future( &self, size: i32, -) -> Pin<Box<dyn Future<Output = Result<(InputStream, GString), Error>>>>

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( +) -> Pin<Box<dyn Future<Output = Result<(InputStream, GString), Error>>>>

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -1255,6 +1255,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gdk_pixbuf/struct.PixbufAnimation.html b/git/docs/gdk_pixbuf/struct.PixbufAnimation.html index ce87fd711cb3..d67f9375bf9b 100644 --- a/git/docs/gdk_pixbuf/struct.PixbufAnimation.html +++ b/git/docs/gdk_pixbuf/struct.PixbufAnimation.html @@ -159,25 +159,25 @@
§callback>= operator. Read more
source§

impl StaticType for PixbufAnimation

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for PixbufAnimation

source§

impl IsA<PixbufAnimation> for PixbufNonAnim

source§

impl IsA<PixbufAnimation> for PixbufSimpleAnim

Auto Trait Implementations§

§

impl Freeze for PixbufAnimation

§

impl RefUnwindSafe for PixbufAnimation

§

impl !Send for PixbufAnimation

§

impl !Sync for PixbufAnimation

§

impl Unpin for PixbufAnimation

§

impl UnwindSafe for PixbufAnimation

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -208,116 +208,116 @@
§callbackObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> PixbufAnimationExt for O
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> PixbufAnimationExt for O
where O: IsA<PixbufAnimation>,

source§

fn height(&self) -> i32

Queries the height of the bounding box of a pixbuf animation. Read more
source§

fn static_image(&self) -> Option<Pixbuf>

Retrieves a static image for the animation. Read more
source§

fn width(&self) -> i32

Queries the width of the bounding box of a pixbuf animation. Read more
source§

fn is_static_image(&self) -> bool

Checks whether the animation is a static image. Read more
source§

impl<O> PixbufAnimationExtManual for O
where O: IsA<PixbufAnimation>,

source§

fn iter(&self, start_time: Option<SystemTime>) -> PixbufAnimationIter

Get an iterator for displaying an animation. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where @@ -331,6 +331,6 @@
§callbackTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gdk_pixbuf/struct.PixbufAnimationIter.html b/git/docs/gdk_pixbuf/struct.PixbufAnimationIter.html index 741aec7b361e..b9b31980ee5f 100644 --- a/git/docs/gdk_pixbuf/struct.PixbufAnimationIter.html +++ b/git/docs/gdk_pixbuf/struct.PixbufAnimationIter.html @@ -147,25 +147,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for PixbufAnimationIter

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for PixbufAnimationIter

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -196,116 +196,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -317,6 +317,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gdk_pixbuf/struct.PixbufFormat.html b/git/docs/gdk_pixbuf/struct.PixbufFormat.html index 4c996e13dc58..9ef58c1c035c 100644 --- a/git/docs/gdk_pixbuf/struct.PixbufFormat.html +++ b/git/docs/gdk_pixbuf/struct.PixbufFormat.html @@ -170,8 +170,8 @@
§disabledHasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType for T

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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

source§

impl<T, U> TryInto<U> for T
where diff --git a/git/docs/gdk_pixbuf/struct.PixbufLoader.html b/git/docs/gdk_pixbuf/struct.PixbufLoader.html index a604cc34f9b0..a6a605f57d8f 100644 --- a/git/docs/gdk_pixbuf/struct.PixbufLoader.html +++ b/git/docs/gdk_pixbuf/struct.PixbufLoader.html @@ -199,25 +199,25 @@
§Returns
the >= operator. Read more

source§

impl StaticType for PixbufLoader

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for PixbufLoader

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -248,116 +248,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> PixbufLoaderExt for O
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> PixbufLoaderExt for O
where O: IsA<PixbufLoader>,

source§

fn close(&self) -> Result<(), Error>

Informs a pixbuf loader that no further writes with gdk_pixbuf_loader_write() will occur, so that it can free its internal loading structures. Read more
source§

fn animation(&self) -> Option<PixbufAnimation>

Queries the #GdkPixbufAnimation that a pixbuf loader is currently creating. Read more
source§

fn format(&self) -> Option<PixbufFormat>

Obtains the available information about the format of the @@ -383,6 +383,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gdk_pixbuf/struct.PixbufNonAnim.html b/git/docs/gdk_pixbuf/struct.PixbufNonAnim.html index 95e98d9bd9bd..e1e1bbca7213 100644 --- a/git/docs/gdk_pixbuf/struct.PixbufNonAnim.html +++ b/git/docs/gdk_pixbuf/struct.PixbufNonAnim.html @@ -96,25 +96,25 @@ the >= operator. Read more
source§

impl StaticType for PixbufNonAnim

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for PixbufNonAnim

source§

impl IsA<PixbufAnimation> for PixbufNonAnim

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -145,116 +145,116 @@ T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> PixbufAnimationExt for O
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> PixbufAnimationExt for O
where O: IsA<PixbufAnimation>,

source§

fn height(&self) -> i32

Queries the height of the bounding box of a pixbuf animation. Read more
source§

fn static_image(&self) -> Option<Pixbuf>

Retrieves a static image for the animation. Read more
source§

fn width(&self) -> i32

Queries the width of the bounding box of a pixbuf animation. Read more
source§

fn is_static_image(&self) -> bool

Checks whether the animation is a static image. Read more
source§

impl<O> PixbufAnimationExtManual for O
where O: IsA<PixbufAnimation>,

source§

fn iter(&self, start_time: Option<SystemTime>) -> PixbufAnimationIter

Get an iterator for displaying an animation. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where @@ -268,6 +268,6 @@ 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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gdk_pixbuf/struct.PixbufSimpleAnim.html b/git/docs/gdk_pixbuf/struct.PixbufSimpleAnim.html index 07133d338fd6..375f5b4b23ac 100644 --- a/git/docs/gdk_pixbuf/struct.PixbufSimpleAnim.html +++ b/git/docs/gdk_pixbuf/struct.PixbufSimpleAnim.html @@ -123,25 +123,25 @@
§loop_
the >= operator. Read more
source§

impl StaticType for PixbufSimpleAnim

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for PixbufSimpleAnim

source§

impl IsA<PixbufAnimation> for PixbufSimpleAnim

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -172,116 +172,116 @@
§loop_
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> PixbufAnimationExt for O
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> PixbufAnimationExt for O
where O: IsA<PixbufAnimation>,

source§

fn height(&self) -> i32

Queries the height of the bounding box of a pixbuf animation. Read more
source§

fn static_image(&self) -> Option<Pixbuf>

Retrieves a static image for the animation. Read more
source§

fn width(&self) -> i32

Queries the width of the bounding box of a pixbuf animation. Read more
source§

fn is_static_image(&self) -> bool

Checks whether the animation is a static image. Read more
source§

impl<O> PixbufAnimationExtManual for O
where O: IsA<PixbufAnimation>,

source§

fn iter(&self, start_time: Option<SystemTime>) -> PixbufAnimationIter

Get an iterator for displaying an animation. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where @@ -295,6 +295,6 @@
§loop_
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gdk_pixbuf/subclass/prelude/trait.DerivedObjectProperties.html b/git/docs/gdk_pixbuf/subclass/prelude/trait.DerivedObjectProperties.html index 5d1e534ed61c..e22ccd40ec66 100644 --- a/git/docs/gdk_pixbuf/subclass/prelude/trait.DerivedObjectProperties.html +++ b/git/docs/gdk_pixbuf/subclass/prelude/trait.DerivedObjectProperties.html @@ -71,7 +71,7 @@ -
gdk_pixbuf::subclass::prelude

Trait DerivedObjectProperties

source
pub trait DerivedObjectProperties: ObjectSubclass {
+
gdk_pixbuf::subclass::prelude

Trait DerivedObjectProperties

source
pub trait DerivedObjectProperties: ObjectSubclass {
     // Provided methods
     fn derived_properties() -> &'static [ParamSpec] { ... }
     fn derived_set_property(
@@ -84,9 +84,9 @@
 }
Expand description

Trait containing only the property related functions of ObjectImpl. Implemented by the Properties macro. When implementing ObjectImpl you may want to delegate the function calls to this trait.

-

Provided Methods§

source

fn derived_properties() -> &'static [ParamSpec]

Properties installed for this type.

-
source

fn derived_set_property(&self, _id: usize, _value: &Value, _pspec: &ParamSpec)

Similar to ObjectImpl but auto-generated by the Properties macro +

Provided Methods§

source

fn derived_properties() -> &'static [ParamSpec]

Properties installed for this type.

+
source

fn derived_set_property(&self, _id: usize, _value: &Value, _pspec: &ParamSpec)

Similar to ObjectImpl but auto-generated by the Properties macro to allow handling more complex use-cases.

-
source

fn derived_property(&self, _id: usize, _pspec: &ParamSpec) -> Value

Similar to ObjectImpl but auto-generated by the Properties macro +

source

fn derived_property(&self, _id: usize, _pspec: &ParamSpec) -> Value

Similar to ObjectImpl but auto-generated by the Properties macro to allow handling more complex use-cases.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/git/docs/gdk_pixbuf/subclass/prelude/trait.IsSubclassable.html b/git/docs/gdk_pixbuf/subclass/prelude/trait.IsSubclassable.html index ee885f57d62e..6166c5a83cb5 100644 --- a/git/docs/gdk_pixbuf/subclass/prelude/trait.IsSubclassable.html +++ b/git/docs/gdk_pixbuf/subclass/prelude/trait.IsSubclassable.html @@ -89,6 +89,6 @@ T: InputStreamImpl,
source§

impl<T> IsSubclassable<T> for IOStream
where T: IOStreamImpl,

source§

impl<T> IsSubclassable<T> for OutputStream

source§

impl<T> IsSubclassable<T> for SocketControlMessage

Implementors§

\ No newline at end of file diff --git a/git/docs/gdk_pixbuf/subclass/prelude/trait.ObjectClassSubclassExt.html b/git/docs/gdk_pixbuf/subclass/prelude/trait.ObjectClassSubclassExt.html index 100e952159f7..79dba0179375 100644 --- a/git/docs/gdk_pixbuf/subclass/prelude/trait.ObjectClassSubclassExt.html +++ b/git/docs/gdk_pixbuf/subclass/prelude/trait.ObjectClassSubclassExt.html @@ -71,11 +71,11 @@ -
gdk_pixbuf::subclass::prelude

Trait ObjectClassSubclassExt

source
pub unsafe trait ObjectClassSubclassExt: Sized + 'static {
+
gdk_pixbuf::subclass::prelude

Trait ObjectClassSubclassExt

source
pub unsafe trait ObjectClassSubclassExt: Sized + 'static {
     // Provided method
     fn override_signal_class_handler<F>(&mut self, name: &str, class_handler: F)
        where F: Fn(&SignalClassHandlerToken, &[Value]) -> Option<Value> + Send + Sync + 'static { ... }
 }
Expand description

Extension trait for glib::Object’s class struct.

This contains various class methods and allows subclasses to override signal class handlers.

-

Provided Methods§

source

fn override_signal_class_handler<F>(&mut self, name: &str, class_handler: F)
where - F: Fn(&SignalClassHandlerToken, &[Value]) -> Option<Value> + Send + Sync + 'static,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

\ No newline at end of file +

Provided Methods§

source

fn override_signal_class_handler<F>(&mut self, name: &str, class_handler: F)
where + F: Fn(&SignalClassHandlerToken, &[Value]) -> Option<Value> + Send + Sync + 'static,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/git/docs/gdk_pixbuf/subclass/prelude/trait.ObjectImpl.html b/git/docs/gdk_pixbuf/subclass/prelude/trait.ObjectImpl.html index 4a7eec33805a..997f7cafa719 100644 --- a/git/docs/gdk_pixbuf/subclass/prelude/trait.ObjectImpl.html +++ b/git/docs/gdk_pixbuf/subclass/prelude/trait.ObjectImpl.html @@ -87,7 +87,7 @@ finalize as implementing Drop would allow the same behavior.

Provided Methods§

source

fn properties() -> &'static [ParamSpec]

Properties installed for this type.

source

fn signals() -> &'static [Signal]

Signals installed for this type.

-
source

fn set_property(&self, _id: usize, _value: &Value, _pspec: &ParamSpec)

Property setter.

+
source

fn set_property(&self, _id: usize, _value: &Value, _pspec: &ParamSpec)

Property setter.

This is called whenever the property of this specific subclass with the given index is set. The new value is passed as glib::Value.

value is guaranteed to be of the correct type for the given property. @@ -95,14 +95,21 @@ overridden for every type with properties. If implementations of set_property don’t emit property change notification explicitly, this will be done implicitly by the type system. However, if the notify signal is +emitted explicitly, the type system will not emit it a second time. +the generic setter for all properties of this type. Should be +overridden for every type with properties. If implementations of +set_property don’t emit property change notification explicitly, this will +be done implicitly by the type system. However, if the notify signal is emitted explicitly, the type system will not emit it a second time.

-
source

fn property(&self, _id: usize, _pspec: &ParamSpec) -> Value

Property getter.

+
source

fn property(&self, _id: usize, _pspec: &ParamSpec) -> Value

Property getter.

This is called whenever the property value of the specific subclass with the given index should be returned.

The returned Value must be of the correct type for the given property. the generic getter for all properties of this type. Should be +overridden for every type with properties. +the generic getter for all properties of this type. Should be overridden for every type with properties.

-
source

fn constructed(&self)

Constructed.

+
source

fn constructed(&self)

Constructed.

This is called once construction of the instance is finished.

Should chain up to the parent class’ implementation. the constructed function is called by Object::new() as the @@ -111,8 +118,15 @@ call is to allow for object initialisation steps that can only be performed after construction properties have been set. constructed implementors should chain up to the constructed call of their parent class to allow it +to complete its initialisation. +the constructed function is called by Object::new() as the +final step of the object creation process. At the point of the call, all +construction properties have been set on the object. The purpose of this +call is to allow for object initialisation steps that can only be performed +after construction properties have been set. constructed implementors +should chain up to the constructed call of their parent class to allow it to complete its initialisation.

-
source

fn dispose(&self)

Disposes of the object.

+
source

fn dispose(&self)

Disposes of the object.

When dispose() ends, the object should not hold any reference to any other member object. The object is also expected to be able to answer client method invocations (with possibly an error code but no memory violation) until it is dropped. dispose() can be executed more @@ -121,8 +135,13 @@ objects, but keep the instance otherwise intact, so that client method invocations still work. It may be run multiple times (due to reference loops). Before returning, dispose should chain up to the dispose method +of the parent class. +the dispose function is supposed to drop all references to other +objects, but keep the instance otherwise intact, so that client method +invocations still work. It may be run multiple times (due to reference +loops). Before returning, dispose should chain up to the dispose method of the parent class.

-
source

fn notify(&self, pspec: &ParamSpec)

Function to be called when property change is notified for with +

source

fn notify(&self, pspec: &ParamSpec)

Function to be called when property change is notified for with self.notify("property"). Emits a “notify” signal for the property property_name on self.

When possible, eg. when signaling a property change from within the class @@ -131,8 +150,19 @@

Note that emission of the notify signal may be blocked with ObjectExt::freeze_notify(). In this case, the signal emissions are queued and will be emitted (in reverse order) when [ObjectExt::thaw_notify()][crate::prelude::ObjectExt::thaw_notify()] is +called. +Emits a “notify” signal for the property property_name on self.

+

When possible, eg. when signaling a property change from within the class +that registered the property, you should use ObjectExt::notify_by_pspec() +instead.

+

Note that emission of the notify signal may be blocked with +ObjectExt::freeze_notify(). In this case, the signal emissions are queued +and will be emitted (in reverse order) when [ObjectExt::thaw_notify()][crate::prelude::ObjectExt::thaw_notify()] is called.

-
source

fn dispatch_properties_changed(&self, pspecs: &[ParamSpec])

emits property change notification for a bunch +

source

fn dispatch_properties_changed(&self, pspecs: &[ParamSpec])

emits property change notification for a bunch +of properties. Overriding dispatch_properties_changed should be rarely +needed. +emits property change notification for a bunch of properties. Overriding dispatch_properties_changed should be rarely needed.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/git/docs/gdk_pixbuf/subclass/prelude/trait.ObjectImplExt.html b/git/docs/gdk_pixbuf/subclass/prelude/trait.ObjectImplExt.html index c874e464c321..fc1616f5ffb4 100644 --- a/git/docs/gdk_pixbuf/subclass/prelude/trait.ObjectImplExt.html +++ b/git/docs/gdk_pixbuf/subclass/prelude/trait.ObjectImplExt.html @@ -71,7 +71,7 @@ -
gdk_pixbuf::subclass::prelude

Trait ObjectImplExt

source
pub trait ObjectImplExt: ObjectImpl {
+
gdk_pixbuf::subclass::prelude

Trait ObjectImplExt

source
pub trait ObjectImplExt: ObjectImpl {
     // Provided methods
     fn parent_constructed(&self) { ... }
     fn parent_notify(&self, pspec: &ParamSpec) { ... }
@@ -81,13 +81,13 @@
         token: &SignalClassHandlerToken,
         values: &[Value],
     ) -> Option<Value> { ... }
-}

Provided Methods§

source

fn parent_constructed(&self)

Chain up to the parent class’ implementation of glib::Object::constructed().

-
source

fn parent_notify(&self, pspec: &ParamSpec)

Chain up to the parent class’ implementation of glib::Object::notify().

-
source

fn parent_dispatch_properties_changed(&self, pspecs: &[ParamSpec])

Chain up to the parent class’ implementation of glib::Object::dispatch_properties_changed().

-
source

fn signal_chain_from_overridden( +}

Provided Methods§

source

fn parent_constructed(&self)

Chain up to the parent class’ implementation of glib::Object::constructed().

+
source

fn parent_notify(&self, pspec: &ParamSpec)

Chain up to the parent class’ implementation of glib::Object::notify().

+
source

fn parent_dispatch_properties_changed(&self, pspecs: &[ParamSpec])

Chain up to the parent class’ implementation of glib::Object::dispatch_properties_changed().

+
source

fn signal_chain_from_overridden( &self, token: &SignalClassHandlerToken, values: &[Value], ) -> Option<Value>

Chain up to parent class signal handler.

-

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

source§

impl<T> ObjectImplExt for T
where +

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

source§

impl<T> ObjectImplExt for T
where T: ObjectImpl,

\ No newline at end of file diff --git a/git/docs/gdk_pixbuf/subclass/prelude/trait.TypeModuleImpl.html b/git/docs/gdk_pixbuf/subclass/prelude/trait.TypeModuleImpl.html index ce91a9016dae..24f877698e82 100644 --- a/git/docs/gdk_pixbuf/subclass/prelude/trait.TypeModuleImpl.html +++ b/git/docs/gdk_pixbuf/subclass/prelude/trait.TypeModuleImpl.html @@ -76,11 +76,14 @@ // Required methods fn load(&self) -> bool; fn unload(&self); -}

Required Methods§

source

fn load(&self) -> bool

Loads the module, registers one or more object subclasses using +}

Required Methods§

source

fn load(&self) -> bool

Loads the module, registers one or more object subclasses using register_dynamic_type and registers one or more object interfaces using register_dynamic_interface (see TypeModule).

loads the module and registers one or more types using +[TypeModuleExtManual::register_type()][crate::prelude::TypeModuleExtManual::register_type()]. +loads the module and registers one or more types using [TypeModuleExtManual::register_type()][crate::prelude::TypeModuleExtManual::register_type()].

-
source

fn unload(&self)

Unloads the module (see TypeModuleExt::unuse).

-

unloads the module

+
source

fn unload(&self)

Unloads the module (see TypeModuleExt::unuse).

+

unloads the module +unloads the module

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/git/docs/gdk_pixbuf/subclass/prelude/trait.TypeModuleImplExt.html b/git/docs/gdk_pixbuf/subclass/prelude/trait.TypeModuleImplExt.html index 137539d2b7a3..ed91e90758d3 100644 --- a/git/docs/gdk_pixbuf/subclass/prelude/trait.TypeModuleImplExt.html +++ b/git/docs/gdk_pixbuf/subclass/prelude/trait.TypeModuleImplExt.html @@ -71,9 +71,9 @@ -
gdk_pixbuf::subclass::prelude

Trait TypeModuleImplExt

source
pub trait TypeModuleImplExt: TypeModuleImpl {
+
gdk_pixbuf::subclass::prelude

Trait TypeModuleImplExt

source
pub trait TypeModuleImplExt: TypeModuleImpl {
     // Required methods
     fn parent_load(&self) -> bool;
     fn parent_unload(&self);
-}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

source§

impl<T> TypeModuleImplExt for T
where +}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/git/docs/gio/enum.BusType.html b/git/docs/gio/enum.BusType.html index 4f0b13b4752e..e9b920e20420 100644 --- a/git/docs/gio/enum.BusType.html +++ b/git/docs/gio/enum.BusType.html @@ -105,8 +105,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.ConverterResult.html b/git/docs/gio/enum.ConverterResult.html index 15613c4318a4..376156b368d1 100644 --- a/git/docs/gio/enum.ConverterResult.html +++ b/git/docs/gio/enum.ConverterResult.html @@ -105,8 +105,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.CredentialsType.html b/git/docs/gio/enum.CredentialsType.html index 6d15df0cb3c7..59c6af6c6ad9 100644 --- a/git/docs/gio/enum.CredentialsType.html +++ b/git/docs/gio/enum.CredentialsType.html @@ -113,8 +113,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.DBusMessageByteOrder.html b/git/docs/gio/enum.DBusMessageByteOrder.html index 4836d1b774b9..25ee269372fd 100644 --- a/git/docs/gio/enum.DBusMessageByteOrder.html +++ b/git/docs/gio/enum.DBusMessageByteOrder.html @@ -101,8 +101,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.DBusMessageHeaderField.html b/git/docs/gio/enum.DBusMessageHeaderField.html index e20b22eb7199..c6aeef3bda13 100644 --- a/git/docs/gio/enum.DBusMessageHeaderField.html +++ b/git/docs/gio/enum.DBusMessageHeaderField.html @@ -117,8 +117,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.DBusMessageType.html b/git/docs/gio/enum.DBusMessageType.html index 80964faec12f..cba2e60cd415 100644 --- a/git/docs/gio/enum.DBusMessageType.html +++ b/git/docs/gio/enum.DBusMessageType.html @@ -107,8 +107,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.DataStreamByteOrder.html b/git/docs/gio/enum.DataStreamByteOrder.html index 850752ca42c2..43f2fec0173c 100644 --- a/git/docs/gio/enum.DataStreamByteOrder.html +++ b/git/docs/gio/enum.DataStreamByteOrder.html @@ -104,8 +104,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.DataStreamNewlineType.html b/git/docs/gio/enum.DataStreamNewlineType.html index 2c1182869f4e..71aba32b423b 100644 --- a/git/docs/gio/enum.DataStreamNewlineType.html +++ b/git/docs/gio/enum.DataStreamNewlineType.html @@ -105,8 +105,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.DriveStartStopType.html b/git/docs/gio/enum.DriveStartStopType.html index e3e3aa882a27..d6b07d50958e 100644 --- a/git/docs/gio/enum.DriveStartStopType.html +++ b/git/docs/gio/enum.DriveStartStopType.html @@ -114,8 +114,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.EmblemOrigin.html b/git/docs/gio/enum.EmblemOrigin.html index 5287f74604d1..69db6a181c85 100644 --- a/git/docs/gio/enum.EmblemOrigin.html +++ b/git/docs/gio/enum.EmblemOrigin.html @@ -106,8 +106,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.FileAttributeStatus.html b/git/docs/gio/enum.FileAttributeStatus.html index f2779c2b94b8..3e305b892735 100644 --- a/git/docs/gio/enum.FileAttributeStatus.html +++ b/git/docs/gio/enum.FileAttributeStatus.html @@ -103,8 +103,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.FileAttributeType.html b/git/docs/gio/enum.FileAttributeType.html index 1da44bb65aba..7a385f1a900d 100644 --- a/git/docs/gio/enum.FileAttributeType.html +++ b/git/docs/gio/enum.FileAttributeType.html @@ -117,8 +117,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.FileMonitorEvent.html b/git/docs/gio/enum.FileMonitorEvent.html index 447881ffcfbb..f6ab6da715ac 100644 --- a/git/docs/gio/enum.FileMonitorEvent.html +++ b/git/docs/gio/enum.FileMonitorEvent.html @@ -126,8 +126,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.FileType.html b/git/docs/gio/enum.FileType.html index 89bb5ed6f7ca..721d29455956 100644 --- a/git/docs/gio/enum.FileType.html +++ b/git/docs/gio/enum.FileType.html @@ -121,8 +121,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.IOErrorEnum.html b/git/docs/gio/enum.IOErrorEnum.html index dbb29773beda..d678316c1a56 100644 --- a/git/docs/gio/enum.IOErrorEnum.html +++ b/git/docs/gio/enum.IOErrorEnum.html @@ -218,8 +218,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.MemoryMonitorWarningLevel.html b/git/docs/gio/enum.MemoryMonitorWarningLevel.html index 6a65c8d2de7a..a7d726f63665 100644 --- a/git/docs/gio/enum.MemoryMonitorWarningLevel.html +++ b/git/docs/gio/enum.MemoryMonitorWarningLevel.html @@ -113,8 +113,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.MountOperationResult.html b/git/docs/gio/enum.MountOperationResult.html index 3494fda41ea2..fc76b9c73e50 100644 --- a/git/docs/gio/enum.MountOperationResult.html +++ b/git/docs/gio/enum.MountOperationResult.html @@ -107,8 +107,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.NetworkConnectivity.html b/git/docs/gio/enum.NetworkConnectivity.html index 02e39ad4eeeb..d053f3b9c802 100644 --- a/git/docs/gio/enum.NetworkConnectivity.html +++ b/git/docs/gio/enum.NetworkConnectivity.html @@ -111,8 +111,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.NotificationPriority.html b/git/docs/gio/enum.NotificationPriority.html index be8da4181d15..6a27c9e2ac49 100644 --- a/git/docs/gio/enum.NotificationPriority.html +++ b/git/docs/gio/enum.NotificationPriority.html @@ -113,8 +113,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.PasswordSave.html b/git/docs/gio/enum.PasswordSave.html index 36c89e056088..8c6f4ce97592 100644 --- a/git/docs/gio/enum.PasswordSave.html +++ b/git/docs/gio/enum.PasswordSave.html @@ -105,8 +105,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.PollableReturn.html b/git/docs/gio/enum.PollableReturn.html index f79e2ad68494..04488658d480 100644 --- a/git/docs/gio/enum.PollableReturn.html +++ b/git/docs/gio/enum.PollableReturn.html @@ -109,8 +109,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.ResolverError.html b/git/docs/gio/enum.ResolverError.html index 9ee7150c1f80..047aa083053c 100644 --- a/git/docs/gio/enum.ResolverError.html +++ b/git/docs/gio/enum.ResolverError.html @@ -106,8 +106,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.ResolverRecordType.html b/git/docs/gio/enum.ResolverRecordType.html index 92a7553b9b88..12c6281a4137 100644 --- a/git/docs/gio/enum.ResolverRecordType.html +++ b/git/docs/gio/enum.ResolverRecordType.html @@ -131,8 +131,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.ResourceError.html b/git/docs/gio/enum.ResourceError.html index 050d6397dbb7..56d0d9a7e8b2 100644 --- a/git/docs/gio/enum.ResourceError.html +++ b/git/docs/gio/enum.ResourceError.html @@ -102,8 +102,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.SocketClientEvent.html b/git/docs/gio/enum.SocketClientEvent.html index 8296439180ae..d8c9fafe7028 100644 --- a/git/docs/gio/enum.SocketClientEvent.html +++ b/git/docs/gio/enum.SocketClientEvent.html @@ -124,8 +124,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.SocketFamily.html b/git/docs/gio/enum.SocketFamily.html index 1b83462ea5ea..8e5f057c79b0 100644 --- a/git/docs/gio/enum.SocketFamily.html +++ b/git/docs/gio/enum.SocketFamily.html @@ -107,8 +107,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.SocketListenerEvent.html b/git/docs/gio/enum.SocketListenerEvent.html index cd20cc82c3ac..75d8020f4723 100644 --- a/git/docs/gio/enum.SocketListenerEvent.html +++ b/git/docs/gio/enum.SocketListenerEvent.html @@ -109,8 +109,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.SocketProtocol.html b/git/docs/gio/enum.SocketProtocol.html index ce15af64377f..1995f59d3b2a 100644 --- a/git/docs/gio/enum.SocketProtocol.html +++ b/git/docs/gio/enum.SocketProtocol.html @@ -112,8 +112,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.SocketType.html b/git/docs/gio/enum.SocketType.html index 0c234d09f2ad..23f1255f7ff0 100644 --- a/git/docs/gio/enum.SocketType.html +++ b/git/docs/gio/enum.SocketType.html @@ -108,8 +108,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.TlsAuthenticationMode.html b/git/docs/gio/enum.TlsAuthenticationMode.html index de3601183b63..84ddae4c9851 100644 --- a/git/docs/gio/enum.TlsAuthenticationMode.html +++ b/git/docs/gio/enum.TlsAuthenticationMode.html @@ -103,8 +103,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.TlsCertificateRequestFlags.html b/git/docs/gio/enum.TlsCertificateRequestFlags.html index f2634c7f2b19..718fe5f7956a 100644 --- a/git/docs/gio/enum.TlsCertificateRequestFlags.html +++ b/git/docs/gio/enum.TlsCertificateRequestFlags.html @@ -101,8 +101,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.TlsChannelBindingType.html b/git/docs/gio/enum.TlsChannelBindingType.html index c0783cac8ff0..c05e0f1f4a36 100644 --- a/git/docs/gio/enum.TlsChannelBindingType.html +++ b/git/docs/gio/enum.TlsChannelBindingType.html @@ -109,8 +109,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.TlsDatabaseLookupFlags.html b/git/docs/gio/enum.TlsDatabaseLookupFlags.html index d53cd3a37bc4..ad2b14354dab 100644 --- a/git/docs/gio/enum.TlsDatabaseLookupFlags.html +++ b/git/docs/gio/enum.TlsDatabaseLookupFlags.html @@ -104,8 +104,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.TlsError.html b/git/docs/gio/enum.TlsError.html index c7c684f66043..87cb83798f0f 100644 --- a/git/docs/gio/enum.TlsError.html +++ b/git/docs/gio/enum.TlsError.html @@ -126,8 +126,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.TlsInteractionResult.html b/git/docs/gio/enum.TlsInteractionResult.html index cf2f11498a36..107e3fcad78a 100644 --- a/git/docs/gio/enum.TlsInteractionResult.html +++ b/git/docs/gio/enum.TlsInteractionResult.html @@ -107,8 +107,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.TlsProtocolVersion.html b/git/docs/gio/enum.TlsProtocolVersion.html index d89c9e2a2393..74ac778075ad 100644 --- a/git/docs/gio/enum.TlsProtocolVersion.html +++ b/git/docs/gio/enum.TlsProtocolVersion.html @@ -121,8 +121,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.TlsRehandshakeMode.html b/git/docs/gio/enum.TlsRehandshakeMode.html index 550028b5a9f8..75608ad8b1b0 100644 --- a/git/docs/gio/enum.TlsRehandshakeMode.html +++ b/git/docs/gio/enum.TlsRehandshakeMode.html @@ -108,8 +108,8 @@

HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.UnixSocketAddressType.html b/git/docs/gio/enum.UnixSocketAddressType.html index 6c96e9d7bc0d..6354384abbd6 100644 --- a/git/docs/gio/enum.UnixSocketAddressType.html +++ b/git/docs/gio/enum.UnixSocketAddressType.html @@ -119,8 +119,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/enum.ZlibCompressorFormat.html b/git/docs/gio/enum.ZlibCompressorFormat.html index 9d66088da2e9..9b9d035fd956 100644 --- a/git/docs/gio/enum.ZlibCompressorFormat.html +++ b/git/docs/gio/enum.ZlibCompressorFormat.html @@ -104,8 +104,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.Action.html b/git/docs/gio/struct.Action.html index 56fd3addd969..fef67cce4844 100644 --- a/git/docs/gio/struct.Action.html +++ b/git/docs/gio/struct.Action.html @@ -212,25 +212,25 @@
§Returns
) -> SignalHandlerId
source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. 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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -256,116 +256,116 @@
§Returns

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -377,6 +377,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.ActionGroup.html b/git/docs/gio/struct.ActionGroup.html index 6672acc7749f..62581c03475b 100644 --- a/git/docs/gio/struct.ActionGroup.html +++ b/git/docs/gio/struct.ActionGroup.html @@ -170,25 +170,25 @@

§ImplementsSignalHandlerId

Signals that the state of the named action has changed. Read more
source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. 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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -214,116 +214,116 @@

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -335,6 +335,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.ActionMap.html b/git/docs/gio/struct.ActionMap.html index 4300c370bc57..c1c519c673c1 100644 --- a/git/docs/gio/struct.ActionMap.html +++ b/git/docs/gio/struct.ActionMap.html @@ -112,25 +112,25 @@

§ImplementsActionMap. Read more
source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. 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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -156,116 +156,116 @@

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -277,6 +277,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.AppInfo.html b/git/docs/gio/struct.AppInfo.html index a627c56f97de..f6f6d29cfdaa 100644 --- a/git/docs/gio/struct.AppInfo.html +++ b/git/docs/gio/struct.AppInfo.html @@ -349,25 +349,25 @@
§Option<&P>, ) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
Available on crate feature v2_60 only.
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -393,116 +393,116 @@
§That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -514,6 +514,6 @@
§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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.AppInfoCreateFlags.html b/git/docs/gio/struct.AppInfoCreateFlags.html index 849288d6d6b0..a6898ea3ee8a 100644 --- a/git/docs/gio/struct.AppInfoCreateFlags.html +++ b/git/docs/gio/struct.AppInfoCreateFlags.html @@ -149,8 +149,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.AppInfoMonitor.html b/git/docs/gio/struct.AppInfoMonitor.html index 2716a0e3e06b..a96f083c0a3e 100644 --- a/git/docs/gio/struct.AppInfoMonitor.html +++ b/git/docs/gio/struct.AppInfoMonitor.html @@ -148,25 +148,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for AppInfoMonitor

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for AppInfoMonitor

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -197,116 +197,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -318,6 +318,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.AppLaunchContext.html b/git/docs/gio/struct.AppLaunchContext.html index 6839489bf4ab..c4e2e31fd848 100644 --- a/git/docs/gio/struct.AppLaunchContext.html +++ b/git/docs/gio/struct.AppLaunchContext.html @@ -179,25 +179,25 @@
§Returns
) -> SignalHandlerId
The launched signal is emitted when a AppInfo is successfully launched. 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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -228,116 +228,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -349,6 +349,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.Application.html b/git/docs/gio/struct.Application.html index c9cc0b6f74cf..f954d8a60f96 100644 --- a/git/docs/gio/struct.Application.html +++ b/git/docs/gio/struct.Application.html @@ -474,25 +474,25 @@
§Returns
) -> SignalHandlerId
The ::open signal is emitted on the primary instance when there are files to open. See g_application_open() for more information. Read more
source§

fn hold(&self) -> ApplicationHoldGuard

Increases the use count of @self. Read more
source§

fn mark_busy(&self) -> ApplicationBusyGuard

Increases the busy count of @self. 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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -523,116 +523,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -644,6 +644,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.ApplicationCommandLine.html b/git/docs/gio/struct.ApplicationCommandLine.html index c57a47010953..f4774261681e 100644 --- a/git/docs/gio/struct.ApplicationCommandLine.html +++ b/git/docs/gio/struct.ApplicationCommandLine.html @@ -270,25 +270,25 @@

§ImplementsSignalHandlerId

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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -319,116 +319,116 @@

§ImplementsObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -440,6 +440,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.ApplicationFlags.html b/git/docs/gio/struct.ApplicationFlags.html index 4f5998d6f7ef..7938c102a42a 100644 --- a/git/docs/gio/struct.ApplicationFlags.html +++ b/git/docs/gio/struct.ApplicationFlags.html @@ -183,8 +183,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.AskPasswordFlags.html b/git/docs/gio/struct.AskPasswordFlags.html index 50ec150262ce..66bca9620be7 100644 --- a/git/docs/gio/struct.AskPasswordFlags.html +++ b/git/docs/gio/struct.AskPasswordFlags.html @@ -153,8 +153,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.AsyncInitable.html b/git/docs/gio/struct.AsyncInitable.html index 818136ea074d..ab0c902189c1 100644 --- a/git/docs/gio/struct.AsyncInitable.html +++ b/git/docs/gio/struct.AsyncInitable.html @@ -248,25 +248,25 @@ io_priority: Priority, ) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -292,116 +292,116 @@

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -413,6 +413,6 @@ 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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.AsyncResult.html b/git/docs/gio/struct.AsyncResult.html index 9074b6ff36c8..86408edde460 100644 --- a/git/docs/gio/struct.AsyncResult.html +++ b/git/docs/gio/struct.AsyncResult.html @@ -176,25 +176,25 @@

§ImplementsGio::SimpleAsyncResult::propagate_error(). Otherwise it returns FALSE. 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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -220,116 +220,116 @@

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -341,6 +341,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.BufferedInputStream.html b/git/docs/gio/struct.BufferedInputStream.html index 59a5acdd2b09..46bba21c4bbd 100644 --- a/git/docs/gio/struct.BufferedInputStream.html +++ b/git/docs/gio/struct.BufferedInputStream.html @@ -165,25 +165,25 @@
§Returns
smaller than its current contents. Read more
source§

fn connect_buffer_size_notify<F: Fn(&Self) + 'static>( &self, f: F, -) -> SignalHandlerId

source§

impl<T> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where +) -> SignalHandlerId

source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> FilterInputStreamExt for O

source§

fn base_stream(&self) -> InputStream

Gets the base stream for the filter stream. Read more
source§

fn closes_base_stream(&self) -> bool

Returns whether the base stream will be closed when @self is @@ -314,116 +314,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,
source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> SeekableExt for O
where @@ -448,6 +448,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.BufferedOutputStream.html b/git/docs/gio/struct.BufferedOutputStream.html index bf7c880e1e71..b69b427fd1e1 100644 --- a/git/docs/gio/struct.BufferedOutputStream.html +++ b/git/docs/gio/struct.BufferedOutputStream.html @@ -146,25 +146,25 @@
§Returns
) -> SignalHandlerId
source§

fn connect_buffer_size_notify<F: Fn(&Self) + 'static>( &self, f: F, -) -> SignalHandlerId

source§

impl<T> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where +) -> SignalHandlerId

source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> FilterOutputStreamExt for O

source§

fn base_stream(&self) -> OutputStream

Gets the base stream for the filter stream. Read more
source§

fn closes_base_stream(&self) -> bool

Returns whether the base stream will be closed when @self is @@ -200,116 +200,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,
source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> OutputStreamExt for O
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> OutputStreamExt for O
where O: IsA<OutputStream>,

source§

fn clear_pending(&self)

Clears the pending flag on @self.
source§

fn close( &self, cancellable: Option<&impl IsA<Cancellable>>, @@ -482,6 +482,6 @@

§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.BusNameOwnerFlags.html b/git/docs/gio/struct.BusNameOwnerFlags.html index 1bd1b6750608..1038caf51f96 100644 --- a/git/docs/gio/struct.BusNameOwnerFlags.html +++ b/git/docs/gio/struct.BusNameOwnerFlags.html @@ -151,8 +151,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.BusNameWatcherFlags.html b/git/docs/gio/struct.BusNameWatcherFlags.html index 3af676af4ae4..cb8c20a26891 100644 --- a/git/docs/gio/struct.BusNameWatcherFlags.html +++ b/git/docs/gio/struct.BusNameWatcherFlags.html @@ -149,8 +149,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.BytesIcon.html b/git/docs/gio/struct.BytesIcon.html index b8f9d88a5842..a1f47e2ad175 100644 --- a/git/docs/gio/struct.BytesIcon.html +++ b/git/docs/gio/struct.BytesIcon.html @@ -112,25 +112,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for BytesIcon

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for BytesIcon

source§

impl IsA<Icon> for BytesIcon

source§

impl IsA<LoadableIcon> for BytesIcon

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -185,116 +185,116 @@
§Returns
version of this function, see g_loadable_icon_load(). Read more

source§

fn load_future( &self, size: i32, -) -> Pin<Box_<dyn Future<Output = Result<(InputStream, GString), Error>> + 'static>>

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( +) -> Pin<Box_<dyn Future<Output = Result<(InputStream, GString), Error>> + 'static>>

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -306,6 +306,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.Cancellable.html b/git/docs/gio/struct.Cancellable.html index c2123f9af7fd..6034e5ccb8af 100644 --- a/git/docs/gio/struct.Cancellable.html +++ b/git/docs/gio/struct.Cancellable.html @@ -183,25 +183,25 @@
§Returns
result in a deadlock. Read more
source§

fn future(&self) -> Pin<Box<dyn Future<Output = ()> + Send + Sync + 'static>>

Returns a Future that completes when the cancellable becomes cancelled. Completes immediately if the cancellable is already cancelled.
source§

fn set_error_if_cancelled(&self) -> Result<(), Error>

Set an error if the cancellable is already cancelled. If the @self is cancelled, sets the error to notify -that the operation was cancelled. Read more
source§

impl<T> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where +that the operation was cancelled. Read more

source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -232,128 +232,128 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType for T

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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.CharsetConverter.html b/git/docs/gio/struct.CharsetConverter.html index de6588bf3f50..ac26bfcd0a61 100644 --- a/git/docs/gio/struct.CharsetConverter.html +++ b/git/docs/gio/struct.CharsetConverter.html @@ -133,25 +133,25 @@
§use the >= operator. Read more
source§

impl StaticType for CharsetConverter

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for CharsetConverter

source§

impl IsA<Converter> for CharsetConverter

source§

impl IsA<Initable> for CharsetConverter

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> ConverterExt for O
where O: IsA<Converter>,

source§

fn convert_bytes(&self, bytes: &Bytes) -> Result<Bytes, Error>

Available on crate feature v2_82 only.
Applies @self to the data in @bytes. Read more
source§

fn reset(&self)

Resets all internal state in the converter, making it behave @@ -198,116 +198,116 @@
§use T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,
source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -319,6 +319,6 @@
§use 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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.Converter.html b/git/docs/gio/struct.Converter.html index be8650cb9715..d67e735d8652 100644 --- a/git/docs/gio/struct.Converter.html +++ b/git/docs/gio/struct.Converter.html @@ -103,25 +103,25 @@

§Implements>= operator. Read more
source§

impl StaticType for Converter

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for Converter

source§

impl IsA<Converter> for CharsetConverter

source§

impl IsA<Converter> for ZlibCompressor

source§

impl IsA<Converter> for ZlibDecompressor

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> ConverterExt for O
where O: IsA<Converter>,

source§

fn convert_bytes(&self, bytes: &Bytes) -> Result<Bytes, Error>

Available on crate feature v2_82 only.
Applies @self to the data in @bytes. Read more
source§

fn reset(&self)

Resets all internal state in the converter, making it behave @@ -159,116 +159,116 @@

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -280,6 +280,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.ConverterFlags.html b/git/docs/gio/struct.ConverterFlags.html index b7f25dcd99d3..a19ede66e267 100644 --- a/git/docs/gio/struct.ConverterFlags.html +++ b/git/docs/gio/struct.ConverterFlags.html @@ -148,8 +148,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.ConverterInputStream.html b/git/docs/gio/struct.ConverterInputStream.html index d3670fe69bc5..97cbb0185b16 100644 --- a/git/docs/gio/struct.ConverterInputStream.html +++ b/git/docs/gio/struct.ConverterInputStream.html @@ -123,25 +123,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for ConverterInputStream

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for ConverterInputStream

source§

impl IsA<FilterInputStream> for ConverterInputStream

source§

impl IsA<InputStream> for ConverterInputStream

source§

impl IsA<PollableInputStream> for ConverterInputStream

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> ConverterInputStreamExt for O

source§

fn converter(&self) -> Converter

Gets the #GConverter that is used by @self. Read more
source§

impl<O> FilterInputStreamExt for O
where @@ -273,116 +273,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> PollableInputStreamExt for O
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> PollableInputStreamExt for O

source§

fn can_poll(&self) -> bool

Checks if @self is actually pollable. Some classes may implement #GPollableInputStream but have only certain instances of that class be pollable. If this method returns false, then the behavior of @@ -426,6 +426,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.ConverterOutputStream.html b/git/docs/gio/struct.ConverterOutputStream.html index e46d84439a92..16e809bb6b7a 100644 --- a/git/docs/gio/struct.ConverterOutputStream.html +++ b/git/docs/gio/struct.ConverterOutputStream.html @@ -122,25 +122,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for ConverterOutputStream

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for ConverterOutputStream

source§

impl IsA<FilterOutputStream> for ConverterOutputStream

source§

impl IsA<OutputStream> for ConverterOutputStream

source§

impl IsA<PollableOutputStream> for ConverterOutputStream

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> ConverterOutputStreamExt for O

source§

fn converter(&self) -> Converter

Gets the #GConverter that is used by @self. Read more
source§

impl<O> FilterOutputStreamExt for O
where @@ -177,116 +177,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> OutputStreamExt for O
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> OutputStreamExt for O
where O: IsA<OutputStream>,

source§

fn clear_pending(&self)

Clears the pending flag on @self.
source§

fn close( &self, cancellable: Option<&impl IsA<Cancellable>>, @@ -487,6 +487,6 @@

§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.Credentials.html b/git/docs/gio/struct.Credentials.html index 64252c43e962..d8eb46a79607 100644 --- a/git/docs/gio/struct.Credentials.html +++ b/git/docs/gio/struct.Credentials.html @@ -183,25 +183,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for Credentials

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for Credentials

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -232,116 +232,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -354,6 +354,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.DBusActionGroup.html b/git/docs/gio/struct.DBusActionGroup.html index 8e922315f05c..11ea7dfb5c87 100644 --- a/git/docs/gio/struct.DBusActionGroup.html +++ b/git/docs/gio/struct.DBusActionGroup.html @@ -145,25 +145,25 @@
§Returns
) -> SignalHandlerId
Signals that the state of the named action has changed. Read more
source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. 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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -194,116 +194,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> RemoteActionGroupExt for O
where @@ -326,6 +326,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.DBusAuthObserver.html b/git/docs/gio/struct.DBusAuthObserver.html index 21e0fa375bed..7ef762448e44 100644 --- a/git/docs/gio/struct.DBusAuthObserver.html +++ b/git/docs/gio/struct.DBusAuthObserver.html @@ -191,25 +191,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for DBusAuthObserver

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for DBusAuthObserver

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -240,116 +240,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -361,6 +361,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.DBusCallFlags.html b/git/docs/gio/struct.DBusCallFlags.html index 4afc997e05a7..26d183126059 100644 --- a/git/docs/gio/struct.DBusCallFlags.html +++ b/git/docs/gio/struct.DBusCallFlags.html @@ -151,8 +151,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.DBusCapabilityFlags.html b/git/docs/gio/struct.DBusCapabilityFlags.html index 7dde2300fa83..392403dd2c93 100644 --- a/git/docs/gio/struct.DBusCapabilityFlags.html +++ b/git/docs/gio/struct.DBusCapabilityFlags.html @@ -148,8 +148,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.DBusConnection.html b/git/docs/gio/struct.DBusConnection.html index 9b03b3e34bcc..7970464163ae 100644 --- a/git/docs/gio/struct.DBusConnection.html +++ b/git/docs/gio/struct.DBusConnection.html @@ -1200,25 +1200,25 @@
§error
io_priority: Priority, ) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -1253,128 +1253,128 @@
§error
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType for T

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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.DBusConnectionFlags.html b/git/docs/gio/struct.DBusConnectionFlags.html index d6edfcb58e6e..a7b207b69200 100644 --- a/git/docs/gio/struct.DBusConnectionFlags.html +++ b/git/docs/gio/struct.DBusConnectionFlags.html @@ -163,8 +163,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.DBusInterface.html b/git/docs/gio/struct.DBusInterface.html index 9f78da2bd343..fc8bdcfd76e3 100644 --- a/git/docs/gio/struct.DBusInterface.html +++ b/git/docs/gio/struct.DBusInterface.html @@ -100,25 +100,25 @@

§Implements>= operator. Read more
source§

impl StaticType for DBusInterface

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for DBusInterface

source§

impl IsA<DBusInterface> for DBusInterfaceSkeleton

source§

impl IsA<DBusInterface> for DBusProxy

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> DBusInterfaceExt for O
where O: IsA<DBusInterface>,

source§

fn get(&self) -> Option<DBusObject>

Gets the #GDBusObject that @self belongs to, if any. Read more
source§

fn info(&self) -> DBusInterfaceInfo

Gets D-Bus introspection information for the D-Bus interface @@ -146,116 +146,116 @@

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -267,6 +267,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.DBusInterfaceSkeleton.html b/git/docs/gio/struct.DBusInterfaceSkeleton.html index 20bcb1f1df55..bf4c8b91831d 100644 --- a/git/docs/gio/struct.DBusInterfaceSkeleton.html +++ b/git/docs/gio/struct.DBusInterfaceSkeleton.html @@ -130,25 +130,25 @@

§Implements>= operator. Read more
source§

impl StaticType for DBusInterfaceSkeleton

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for DBusInterfaceSkeleton

source§

impl IsA<DBusInterface> for DBusInterfaceSkeleton

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> DBusInterfaceExt for O
where O: IsA<DBusInterface>,

source§

fn get(&self) -> Option<DBusObject>

Gets the #GDBusObject that @self belongs to, if any. Read more
source§

fn info(&self) -> DBusInterfaceInfo

Gets D-Bus introspection information for the D-Bus interface @@ -196,116 +196,116 @@

§ImplementsObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -317,6 +317,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.DBusInterfaceSkeletonFlags.html b/git/docs/gio/struct.DBusInterfaceSkeletonFlags.html index 726de5ab3364..0af2f4eed27f 100644 --- a/git/docs/gio/struct.DBusInterfaceSkeletonFlags.html +++ b/git/docs/gio/struct.DBusInterfaceSkeletonFlags.html @@ -150,8 +150,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.DBusMenuModel.html b/git/docs/gio/struct.DBusMenuModel.html index d3045d8cba20..965ba6d34872 100644 --- a/git/docs/gio/struct.DBusMenuModel.html +++ b/git/docs/gio/struct.DBusMenuModel.html @@ -120,25 +120,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for DBusMenuModel

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for DBusMenuModel

source§

impl IsA<MenuModel> for DBusMenuModel

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -182,116 +182,116 @@
§Returns
position @item_index in @self. Read more

source§

fn connect_items_changed<F: Fn(&Self, i32, i32, i32) + 'static>( &self, f: F, -) -> SignalHandlerId

Emitted when a change has occurred to the menu. Read more
source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( +) -> SignalHandlerId

Emitted when a change has occurred to the menu. Read more
source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -303,6 +303,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.DBusMessage.html b/git/docs/gio/struct.DBusMessage.html index 63f2d0d9c1b7..bef48bba1d3e 100644 --- a/git/docs/gio/struct.DBusMessage.html +++ b/git/docs/gio/struct.DBusMessage.html @@ -363,25 +363,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for DBusMessage

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for DBusMessage

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -412,116 +412,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -534,6 +534,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.DBusMessageFlags.html b/git/docs/gio/struct.DBusMessageFlags.html index e05314ace8be..f579efe294b3 100644 --- a/git/docs/gio/struct.DBusMessageFlags.html +++ b/git/docs/gio/struct.DBusMessageFlags.html @@ -152,8 +152,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.DBusMethodInvocation.html b/git/docs/gio/struct.DBusMethodInvocation.html index 220e4aba294f..0ce159f2cd67 100644 --- a/git/docs/gio/struct.DBusMethodInvocation.html +++ b/git/docs/gio/struct.DBusMethodInvocation.html @@ -231,25 +231,25 @@
§fd_list>= operator. Read more
source§

impl StaticType for DBusMethodInvocation

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for DBusMethodInvocation

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -280,116 +280,116 @@
§fd_listObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -401,6 +401,6 @@
§fd_listTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.DBusObject.html b/git/docs/gio/struct.DBusObject.html index 6e6193cf8650..49be2b15fc74 100644 --- a/git/docs/gio/struct.DBusObject.html +++ b/git/docs/gio/struct.DBusObject.html @@ -104,25 +104,25 @@

§Implements>= operator. Read more
source§

impl StaticType for DBusObject

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for DBusObject

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> DBusObjectExt for O
where O: IsA<DBusObject>,

source§

fn interface(&self, interface_name: &str) -> Option<DBusInterface>

Gets the D-Bus interface with name @interface_name associated with @@ -156,116 +156,116 @@

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -277,6 +277,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.DBusObjectManager.html b/git/docs/gio/struct.DBusObjectManager.html index e8f43bd211ff..3bd68fe785bd 100644 --- a/git/docs/gio/struct.DBusObjectManager.html +++ b/git/docs/gio/struct.DBusObjectManager.html @@ -114,25 +114,25 @@

§Implements>= operator. Read more
source§

impl StaticType for DBusObjectManager

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for DBusObjectManager

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> DBusObjectManagerExt for O

source§

fn interface( @@ -176,116 +176,116 @@

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -297,6 +297,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.DBusObjectManagerClientFlags.html b/git/docs/gio/struct.DBusObjectManagerClientFlags.html index 3affc8ca29e9..d863c8ec258c 100644 --- a/git/docs/gio/struct.DBusObjectManagerClientFlags.html +++ b/git/docs/gio/struct.DBusObjectManagerClientFlags.html @@ -150,8 +150,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.DBusProxy.html b/git/docs/gio/struct.DBusProxy.html index 4677c3eda250..660126afa633 100644 --- a/git/docs/gio/struct.DBusProxy.html +++ b/git/docs/gio/struct.DBusProxy.html @@ -387,25 +387,25 @@
§callbac io_priority: Priority, ) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> DBusInterfaceExt for O
where O: IsA<DBusInterface>,

source§

fn get(&self) -> Option<DBusObject>

Gets the #GDBusObject that @self belongs to, if any. Read more
source§

fn info(&self) -> DBusInterfaceInfo

Gets D-Bus introspection information for the D-Bus interface @@ -527,128 +527,128 @@
§callbac T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,
source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType for T

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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.DBusProxyFlags.html b/git/docs/gio/struct.DBusProxyFlags.html index e184b3608757..a108fca5741c 100644 --- a/git/docs/gio/struct.DBusProxyFlags.html +++ b/git/docs/gio/struct.DBusProxyFlags.html @@ -159,8 +159,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.DBusSendMessageFlags.html b/git/docs/gio/struct.DBusSendMessageFlags.html index c14ef4051000..ac712bbaf1a3 100644 --- a/git/docs/gio/struct.DBusSendMessageFlags.html +++ b/git/docs/gio/struct.DBusSendMessageFlags.html @@ -149,8 +149,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.DBusServer.html b/git/docs/gio/struct.DBusServer.html index 93a7ad7b3bbd..4a2c86498189 100644 --- a/git/docs/gio/struct.DBusServer.html +++ b/git/docs/gio/struct.DBusServer.html @@ -236,25 +236,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for DBusServer

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for DBusServer

source§

impl IsA<Initable> for DBusServer

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -289,116 +289,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -410,6 +410,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.DBusServerFlags.html b/git/docs/gio/struct.DBusServerFlags.html index 02719a35bf91..2fbd5f50396b 100644 --- a/git/docs/gio/struct.DBusServerFlags.html +++ b/git/docs/gio/struct.DBusServerFlags.html @@ -153,8 +153,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.DBusSignalFlags.html b/git/docs/gio/struct.DBusSignalFlags.html index f6758ac11030..f6008781a661 100644 --- a/git/docs/gio/struct.DBusSignalFlags.html +++ b/git/docs/gio/struct.DBusSignalFlags.html @@ -154,8 +154,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.DataInputStream.html b/git/docs/gio/struct.DataInputStream.html index 46b168292fed..096d3194fe3f 100644 --- a/git/docs/gio/struct.DataInputStream.html +++ b/git/docs/gio/struct.DataInputStream.html @@ -156,25 +156,25 @@
§Returns
smaller than its current contents. Read more
source§

fn connect_buffer_size_notify<F: Fn(&Self) + 'static>( &self, f: F, -) -> SignalHandlerId

source§

impl<T> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where +) -> SignalHandlerId

source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> DataInputStreamExt for O
where O: IsA<DataInputStream>,

source§

fn byte_order(&self) -> DataStreamByteOrder

Gets the byte order for the data input stream. Read more
source§

fn newline_type(&self) -> DataStreamNewlineType

Gets the current newline type for the @self. Read more
source§

fn read_byte( @@ -376,116 +376,116 @@

§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,
source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> SeekableExt for O
where @@ -510,6 +510,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.DataOutputStream.html b/git/docs/gio/struct.DataOutputStream.html index a569ea690608..a134189111c6 100644 --- a/git/docs/gio/struct.DataOutputStream.html +++ b/git/docs/gio/struct.DataOutputStream.html @@ -116,25 +116,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for DataOutputStream

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for DataOutputStream

source§

impl IsA<FilterOutputStream> for DataOutputStream

source§

impl IsA<OutputStream> for DataOutputStream

source§

impl IsA<Seekable> for DataOutputStream

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> DataOutputStreamExt for O

source§

fn byte_order(&self) -> DataStreamByteOrder

Gets the byte order for the stream. Read more
source§

fn put_byte( @@ -206,116 +206,116 @@

§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,
source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> OutputStreamExt for O
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> OutputStreamExt for O
where O: IsA<OutputStream>,

source§

fn clear_pending(&self)

Clears the pending flag on @self.
source§

fn close( &self, cancellable: Option<&impl IsA<Cancellable>>, @@ -488,6 +488,6 @@

§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.DatagramBased.html b/git/docs/gio/struct.DatagramBased.html index f34ca2540de7..59bfae8b6ea1 100644 --- a/git/docs/gio/struct.DatagramBased.html +++ b/git/docs/gio/struct.DatagramBased.html @@ -138,25 +138,25 @@

§Implements>= operator. Read more
source§

impl StaticType for DatagramBased

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for DatagramBased

source§

impl IsA<DatagramBased> for Socket

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> DatagramBasedExt for O
where O: IsA<DatagramBased>,

source§

fn condition_check(&self, condition: IOCondition) -> IOCondition

Checks on the readiness of @self to perform operations. The @@ -225,116 +225,116 @@

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -346,6 +346,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.DebugController.html b/git/docs/gio/struct.DebugController.html index 7be8e975a82d..714dcca63bee 100644 --- a/git/docs/gio/struct.DebugController.html +++ b/git/docs/gio/struct.DebugController.html @@ -113,25 +113,25 @@

§Implements>= operator. Read more
source§

impl StaticType for DebugController

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for DebugController

source§

impl IsA<DebugController> for DebugControllerDBus

source§

impl IsA<Initable> for DebugController

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> DebugControllerExt for O
where O: IsA<DebugController>,

source§

fn is_debug_enabled(&self) -> bool

Available on crate feature v2_72 only.
Get the value of #GDebugController:debug-enabled. Read more
source§

fn set_debug_enabled(&self, debug_enabled: bool)

Available on crate feature v2_72 only.
Set the value of #GDebugController:debug-enabled. Read more
source§

fn connect_debug_enabled_notify<F: Fn(&Self) + 'static>( @@ -165,116 +165,116 @@

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -286,6 +286,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.DebugControllerDBus.html b/git/docs/gio/struct.DebugControllerDBus.html index 83da46401e29..d3044694c29d 100644 --- a/git/docs/gio/struct.DebugControllerDBus.html +++ b/git/docs/gio/struct.DebugControllerDBus.html @@ -234,25 +234,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for DebugControllerDBus

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for DebugControllerDBus

source§

impl IsA<DebugController> for DebugControllerDBus

source§

impl IsA<Initable> for DebugControllerDBus

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> DebugControllerDBusExt for O

source§

fn stop(&self)

Available on crate feature v2_72 only.
Stop the debug controller, unregistering its object from the bus. Read more
source§

fn connect_authorize<F: Fn(&Self, &DBusMethodInvocation) -> bool + 'static>( @@ -297,116 +297,116 @@

§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,
source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -418,6 +418,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.DesktopAppInfo.html b/git/docs/gio/struct.DesktopAppInfo.html index 0a1a7785eb99..96f027913983 100644 --- a/git/docs/gio/struct.DesktopAppInfo.html +++ b/git/docs/gio/struct.DesktopAppInfo.html @@ -365,25 +365,25 @@
§Returns
context: Option<&P>, ) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
Available on crate feature v2_60 only.
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> DesktopAppInfoExtManual for O
where O: IsA<DesktopAppInfo>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -546,6 +546,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.Drive.html b/git/docs/gio/struct.Drive.html index 0cd7263c625f..570de0b81264 100644 --- a/git/docs/gio/struct.Drive.html +++ b/git/docs/gio/struct.Drive.html @@ -131,25 +131,25 @@

§Implements>= operator. Read more
source§

impl StaticType for Drive

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for Drive

Auto Trait Implementations§

§

impl Freeze for Drive

§

impl RefUnwindSafe for Drive

§

impl !Send for Drive

§

impl !Sync for Drive

§

impl Unpin for Drive

§

impl UnwindSafe for Drive

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> DriveExt for O
where O: IsA<Drive>,

source§

fn can_eject(&self) -> bool

Checks if a drive can be ejected. Read more
source§

fn can_poll_for_media(&self) -> bool

Checks if a drive can be polled for media changes. Read more
source§

fn can_start(&self) -> bool

Checks if a drive can be started. Read more
source§

fn can_start_degraded(&self) -> bool

Checks if a drive can be started degraded. Read more
source§

fn can_stop(&self) -> bool

Checks if a drive can be stopped. Read more
source§

fn eject_with_operation<P: FnOnce(Result<(), Error>) + 'static>( @@ -226,116 +226,116 @@

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -347,6 +347,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.DriveStartFlags.html b/git/docs/gio/struct.DriveStartFlags.html index aab0e5cf0b71..804e66b40843 100644 --- a/git/docs/gio/struct.DriveStartFlags.html +++ b/git/docs/gio/struct.DriveStartFlags.html @@ -146,8 +146,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.Emblem.html b/git/docs/gio/struct.Emblem.html index 2669c6ad15e7..a210a5796b82 100644 --- a/git/docs/gio/struct.Emblem.html +++ b/git/docs/gio/struct.Emblem.html @@ -126,25 +126,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for Emblem

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for Emblem

source§

impl IsA<Icon> for Emblem

Auto Trait Implementations§

§

impl Freeze for Emblem

§

impl RefUnwindSafe for Emblem

§

impl !Send for Emblem

§

impl !Sync for Emblem

§

impl Unpin for Emblem

§

impl UnwindSafe for Emblem

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -183,116 +183,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -304,6 +304,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.EmblemedIcon.html b/git/docs/gio/struct.EmblemedIcon.html index 28d9115021ec..d9b085b94da1 100644 --- a/git/docs/gio/struct.EmblemedIcon.html +++ b/git/docs/gio/struct.EmblemedIcon.html @@ -111,25 +111,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for EmblemedIcon

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for EmblemedIcon

source§

impl IsA<Icon> for EmblemedIcon

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> EmblemedIconExt for O
where O: IsA<EmblemedIcon>,

source§

fn add_emblem(&self, emblem: &Emblem)

Adds @emblem to the #GList of #GEmblems. Read more
source§

fn clear_emblems(&self)

Removes all the emblems from @icon.
source§

fn emblems(&self) -> Vec<Emblem>

Gets the list of emblems for the @icon. Read more
source§

fn icon(&self) -> Icon

Gets the main icon for @self. Read more
source§

fn gicon(&self) -> Option<Icon>

The Icon to attach emblems to.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

@@ -169,116 +169,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,
source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -290,6 +290,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.File.html b/git/docs/gio/struct.File.html index 96f824e7b739..4a03842ccbfb 100644 --- a/git/docs/gio/struct.File.html +++ b/git/docs/gio/struct.File.html @@ -309,25 +309,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for File

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for File

source§

impl Send for File

source§

impl Sync for File

Auto Trait Implementations§

§

impl Freeze for File

§

impl RefUnwindSafe for File

§

impl Unpin for File

§

impl UnwindSafe for File

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> FileExt for O
where O: IsA<File>,

source§

fn append_to( @@ -941,128 +941,128 @@

§Returns

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType for T

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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.FileAttributeInfoFlags.html b/git/docs/gio/struct.FileAttributeInfoFlags.html index 57ca3246c99c..0e5e6d270d6c 100644 --- a/git/docs/gio/struct.FileAttributeInfoFlags.html +++ b/git/docs/gio/struct.FileAttributeInfoFlags.html @@ -148,8 +148,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.FileCopyFlags.html b/git/docs/gio/struct.FileCopyFlags.html index a3e367408b01..913f412a5dcf 100644 --- a/git/docs/gio/struct.FileCopyFlags.html +++ b/git/docs/gio/struct.FileCopyFlags.html @@ -154,8 +154,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.FileCreateFlags.html b/git/docs/gio/struct.FileCreateFlags.html index f4c51570f3aa..70beeca8a880 100644 --- a/git/docs/gio/struct.FileCreateFlags.html +++ b/git/docs/gio/struct.FileCreateFlags.html @@ -158,8 +158,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.FileDescriptorBased.html b/git/docs/gio/struct.FileDescriptorBased.html index d6e3b65c7169..d552755a70fd 100644 --- a/git/docs/gio/struct.FileDescriptorBased.html +++ b/git/docs/gio/struct.FileDescriptorBased.html @@ -102,25 +102,25 @@

§Implements>= operator. Read more
source§

impl StaticType for FileDescriptorBased

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for FileDescriptorBased

source§

impl IsA<FileDescriptorBased> for UnixInputStream

Available on Unix only.
source§

impl IsA<FileDescriptorBased> for UnixOutputStream

Available on Unix only.

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> FileDescriptorBasedExtManual for O

source§

fn fd<T: FromRawFd>(&self) -> T

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

@@ -147,116 +147,116 @@

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -268,6 +268,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.FileEnumerator.html b/git/docs/gio/struct.FileEnumerator.html index 1d8044e4b3b5..f54035838e4d 100644 --- a/git/docs/gio/struct.FileEnumerator.html +++ b/git/docs/gio/struct.FileEnumerator.html @@ -319,25 +319,25 @@

§Implements>= operator. Read more
source§

impl StaticType for FileEnumerator

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for FileEnumerator

source§

impl FusedIterator for FileEnumerator

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> FileEnumeratorExt for O
where O: IsA<FileEnumerator>,

source§

fn close( @@ -403,116 +403,116 @@

§ImplementsObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -524,6 +524,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.FileIOStream.html b/git/docs/gio/struct.FileIOStream.html index f66af18efdb7..dd9d9cd98e2b 100644 --- a/git/docs/gio/struct.FileIOStream.html +++ b/git/docs/gio/struct.FileIOStream.html @@ -111,25 +111,25 @@

§Implements>= operator. Read more
source§

impl StaticType for FileIOStream

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for FileIOStream

source§

impl IsA<IOStream> for FileIOStream

source§

impl IsA<Seekable> for FileIOStream

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> FileIOStreamExt for O
where O: IsA<FileIOStream>,

source§

fn etag(&self) -> Option<GString>

Gets the entity tag for the file when it has been written. @@ -206,116 +206,116 @@

§ImplementsObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> SeekableExt for O
where @@ -340,6 +340,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.FileIcon.html b/git/docs/gio/struct.FileIcon.html index 0ae568c2a5f2..d13f2460a70d 100644 --- a/git/docs/gio/struct.FileIcon.html +++ b/git/docs/gio/struct.FileIcon.html @@ -111,25 +111,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for FileIcon

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for FileIcon

source§

impl IsA<Icon> for FileIcon

source§

impl IsA<LoadableIcon> for FileIcon

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -184,116 +184,116 @@
§Returns
version of this function, see g_loadable_icon_load(). Read more

source§

fn load_future( &self, size: i32, -) -> Pin<Box_<dyn Future<Output = Result<(InputStream, GString), Error>> + 'static>>

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( +) -> Pin<Box_<dyn Future<Output = Result<(InputStream, GString), Error>> + 'static>>

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -305,6 +305,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.FileInfo.html b/git/docs/gio/struct.FileInfo.html index 56e212c94ef4..362a3a6f1573 100644 --- a/git/docs/gio/struct.FileInfo.html +++ b/git/docs/gio/struct.FileInfo.html @@ -539,25 +539,25 @@

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -588,116 +588,116 @@

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -709,6 +709,6 @@

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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.FileInputStream.html b/git/docs/gio/struct.FileInputStream.html index 8807d465821e..58da046e1fbd 100644 --- a/git/docs/gio/struct.FileInputStream.html +++ b/git/docs/gio/struct.FileInputStream.html @@ -104,25 +104,25 @@

§Implements>= operator. Read more
source§

impl StaticType for FileInputStream

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for FileInputStream

source§

impl IsA<InputStream> for FileInputStream

source§

impl IsA<Seekable> for FileInputStream

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> FileInputStreamExt for O
where O: IsA<FileInputStream>,

source§

fn query_info( @@ -270,116 +270,116 @@

§ImplementsObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> SeekableExt for O
where @@ -404,6 +404,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.FileMeasureFlags.html b/git/docs/gio/struct.FileMeasureFlags.html index 7b5591942cea..7a2e39b1017f 100644 --- a/git/docs/gio/struct.FileMeasureFlags.html +++ b/git/docs/gio/struct.FileMeasureFlags.html @@ -158,8 +158,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.FileMonitor.html b/git/docs/gio/struct.FileMonitor.html index dcbcded4f43c..ff741a261637 100644 --- a/git/docs/gio/struct.FileMonitor.html +++ b/git/docs/gio/struct.FileMonitor.html @@ -138,25 +138,25 @@

§Implements>= operator. Read more
source§

impl StaticType for FileMonitor

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for FileMonitor

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> FileMonitorExt for O
where O: IsA<FileMonitor>,

source§

fn cancel(&self) -> bool

Cancels a file monitor. Read more
source§

fn emit_event( @@ -205,116 +205,116 @@

§ImplementsObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -326,6 +326,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.FileMonitorFlags.html b/git/docs/gio/struct.FileMonitorFlags.html index 457b22e41962..6f72febaec26 100644 --- a/git/docs/gio/struct.FileMonitorFlags.html +++ b/git/docs/gio/struct.FileMonitorFlags.html @@ -159,8 +159,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.FileOutputStream.html b/git/docs/gio/struct.FileOutputStream.html index 421d401dcc07..bd0e115f8209 100644 --- a/git/docs/gio/struct.FileOutputStream.html +++ b/git/docs/gio/struct.FileOutputStream.html @@ -108,25 +108,25 @@

§Implements>= operator. Read more
source§

impl StaticType for FileOutputStream

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for FileOutputStream

source§

impl IsA<OutputStream> for FileOutputStream

source§

impl IsA<Seekable> for FileOutputStream

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> FileOutputStreamExt for O

source§

fn etag(&self) -> Option<GString>

Gets the entity tag for the file when it has been written. @@ -181,116 +181,116 @@

§ImplementsObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> OutputStreamExt for O
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> OutputStreamExt for O
where O: IsA<OutputStream>,

source§

fn clear_pending(&self)

Clears the pending flag on @self.
source§

fn close( &self, cancellable: Option<&impl IsA<Cancellable>>, @@ -463,6 +463,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.FileQueryInfoFlags.html b/git/docs/gio/struct.FileQueryInfoFlags.html index 964bb5649eaf..3a67416292aa 100644 --- a/git/docs/gio/struct.FileQueryInfoFlags.html +++ b/git/docs/gio/struct.FileQueryInfoFlags.html @@ -147,8 +147,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.FilenameCompleter.html b/git/docs/gio/struct.FilenameCompleter.html index 0dcbb654f4f9..6317a301a907 100644 --- a/git/docs/gio/struct.FilenameCompleter.html +++ b/git/docs/gio/struct.FilenameCompleter.html @@ -125,25 +125,25 @@
§dirs_only the >= operator. Read more
source§

impl StaticType for FilenameCompleter

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for FilenameCompleter

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -174,116 +174,116 @@
§dirs_only T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -295,6 +295,6 @@
§dirs_only 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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.FilterInputStream.html b/git/docs/gio/struct.FilterInputStream.html index 2cea1c99b31e..5824c2dff928 100644 --- a/git/docs/gio/struct.FilterInputStream.html +++ b/git/docs/gio/struct.FilterInputStream.html @@ -107,25 +107,25 @@

§Implements>= operator. Read more
source§

impl StaticType for FilterInputStream

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for FilterInputStream

source§

impl IsA<FilterInputStream> for BufferedInputStream

source§

impl IsA<FilterInputStream> for ConverterInputStream

source§

impl IsA<FilterInputStream> for DataInputStream

source§

impl IsA<InputStream> for FilterInputStream

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> FilterInputStreamExt for O

source§

fn base_stream(&self) -> InputStream

Gets the base stream for the filter stream. Read more
source§

fn closes_base_stream(&self) -> bool

Returns whether the base stream will be closed when @self is @@ -256,116 +256,116 @@

§ImplementsObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -377,6 +377,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.FilterOutputStream.html b/git/docs/gio/struct.FilterOutputStream.html index cc37f01e089e..0517ea63ba63 100644 --- a/git/docs/gio/struct.FilterOutputStream.html +++ b/git/docs/gio/struct.FilterOutputStream.html @@ -106,25 +106,25 @@

§Implements>= operator. Read more
source§

impl StaticType for FilterOutputStream

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for FilterOutputStream

source§

impl IsA<FilterOutputStream> for BufferedOutputStream

source§

impl IsA<FilterOutputStream> for ConverterOutputStream

source§

impl IsA<FilterOutputStream> for DataOutputStream

source§

impl IsA<OutputStream> for FilterOutputStream

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> FilterOutputStreamExt for O

source§

fn base_stream(&self) -> OutputStream

Gets the base stream for the filter stream. Read more
source§

fn closes_base_stream(&self) -> bool

Returns whether the base stream will be closed when @self is @@ -160,116 +160,116 @@

§ImplementsObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> OutputStreamExt for O
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> OutputStreamExt for O
where O: IsA<OutputStream>,

source§

fn clear_pending(&self)

Clears the pending flag on @self.
source§

fn close( &self, cancellable: Option<&impl IsA<Cancellable>>, @@ -429,6 +429,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.IOStream.html b/git/docs/gio/struct.IOStream.html index 4c471f22d96b..3ff6e465d0dd 100644 --- a/git/docs/gio/struct.IOStream.html +++ b/git/docs/gio/struct.IOStream.html @@ -148,25 +148,25 @@

§Implements>= operator. Read more
source§

impl StaticType for IOStream

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for IOStream

source§

impl IsA<IOStream> for FileIOStream

source§

impl IsA<IOStream> for SimpleIOStream

source§

impl IsA<IOStream> for SocketConnection

source§

impl IsA<IOStream> for TcpConnection

source§

impl IsA<IOStream> for TlsClientConnection

source§

impl IsA<IOStream> for TlsConnection

source§

impl IsA<IOStream> for TlsServerConnection

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -219,116 +219,116 @@

§ImplementsObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -340,6 +340,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.IOStreamSpliceFlags.html b/git/docs/gio/struct.IOStreamSpliceFlags.html index 7103a17feeee..5f7f7d8dac36 100644 --- a/git/docs/gio/struct.IOStreamSpliceFlags.html +++ b/git/docs/gio/struct.IOStreamSpliceFlags.html @@ -152,8 +152,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.Icon.html b/git/docs/gio/struct.Icon.html index 4bc89f63d6f9..ca8d1aef4b00 100644 --- a/git/docs/gio/struct.Icon.html +++ b/git/docs/gio/struct.Icon.html @@ -135,25 +135,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for Icon

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for Icon

source§

impl IsA<Icon> for BytesIcon

source§

impl IsA<Icon> for Emblem

source§

impl IsA<Icon> for EmblemedIcon

source§

impl IsA<Icon> for FileIcon

source§

impl IsA<Icon> for LoadableIcon

source§

impl IsA<Icon> for ThemedIcon

Auto Trait Implementations§

§

impl Freeze for Icon

§

impl RefUnwindSafe for Icon

§

impl !Send for Icon

§

impl !Sync for Icon

§

impl Unpin for Icon

§

impl UnwindSafe for Icon

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -187,116 +187,116 @@
§Returns

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -308,6 +308,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.InetAddress.html b/git/docs/gio/struct.InetAddress.html index cdf9f10c9623..2f448e7c03b6 100644 --- a/git/docs/gio/struct.InetAddress.html +++ b/git/docs/gio/struct.InetAddress.html @@ -183,25 +183,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for InetAddress

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for InetAddress

source§

impl Send for InetAddress

source§

impl Sync for InetAddress

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -271,122 +271,122 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> ToString 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T> TransparentType for T

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> TryFromClosureReturnValue for T
where @@ -394,6 +394,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.InetAddressMask.html b/git/docs/gio/struct.InetAddressMask.html index c0039ddff35a..8d648122b76f 100644 --- a/git/docs/gio/struct.InetAddressMask.html +++ b/git/docs/gio/struct.InetAddressMask.html @@ -129,25 +129,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for InetAddressMask

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for InetAddressMask

source§

impl IsA<Initable> for InetAddressMask

source§

impl Send for InetAddressMask

source§

impl Sync for InetAddressMask

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -192,122 +192,122 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> ToString 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T> TransparentType for T

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> TryFromClosureReturnValue for T
where @@ -315,6 +315,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.InetSocketAddress.html b/git/docs/gio/struct.InetSocketAddress.html index e16e00102204..90e1a00e29d8 100644 --- a/git/docs/gio/struct.InetSocketAddress.html +++ b/git/docs/gio/struct.InetSocketAddress.html @@ -134,25 +134,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for InetSocketAddress

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for InetSocketAddress

source§

impl IsA<InetSocketAddress> for ProxyAddress

source§

impl IsA<SocketAddress> for InetSocketAddress

source§

impl IsA<SocketConnectable> for InetSocketAddress

source§

impl Send for InetSocketAddress

source§

impl Sync for InetSocketAddress

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -186,116 +186,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> SocketAddressExt for O
where @@ -312,14 +312,14 @@
§Returns
suitable for use in user interfaces as it exposes too much information for a user. Read more

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType for T

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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.Initable.html b/git/docs/gio/struct.Initable.html index 4a2e753413bf..f99a75baa45c 100644 --- a/git/docs/gio/struct.Initable.html +++ b/git/docs/gio/struct.Initable.html @@ -153,25 +153,25 @@
§Panics
the >= operator. Read more
source§

impl StaticType for Initable

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for Initable

source§

impl IsA<Initable> for CharsetConverter

source§

impl IsA<Initable> for DBusConnection

source§

impl IsA<Initable> for DBusProxy

source§

impl IsA<Initable> for DBusServer

source§

impl IsA<Initable> for DebugController

Available on crate feature v2_72 only.
source§

impl IsA<Initable> for DebugControllerDBus

Available on crate feature v2_72 only.
source§

impl IsA<Initable> for InetAddressMask

source§

impl IsA<Initable> for MemoryMonitor

Available on crate feature v2_64 only.
source§

impl IsA<Initable> for NetworkMonitor

source§

impl IsA<Initable> for PowerProfileMonitor

Available on crate feature v2_70 only.
source§

impl IsA<Initable> for Socket

source§

impl IsA<Initable> for Subprocess

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -201,116 +201,116 @@
§Panics

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -322,6 +322,6 @@
§Panics
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.InputStream.html b/git/docs/gio/struct.InputStream.html index 5f9990f3a7ed..0aac69e241de 100644 --- a/git/docs/gio/struct.InputStream.html +++ b/git/docs/gio/struct.InputStream.html @@ -107,25 +107,25 @@

§Implements>= operator. Read more
source§

impl StaticType for InputStream

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for InputStream

source§

impl IsA<InputStream> for BufferedInputStream

source§

impl IsA<InputStream> for ConverterInputStream

source§

impl IsA<InputStream> for DataInputStream

source§

impl IsA<InputStream> for FileInputStream

source§

impl IsA<InputStream> for FilterInputStream

source§

impl IsA<InputStream> for MemoryInputStream

source§

impl IsA<InputStream> for PollableInputStream

source§

impl IsA<InputStream> for ReadInputStream

source§

impl IsA<InputStream> for UnixInputStream

Available on Unix only.

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -251,116 +251,116 @@

§ImplementsObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -372,6 +372,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.ListModel.html b/git/docs/gio/struct.ListModel.html index 8b0c266e466b..0abf014f5f46 100644 --- a/git/docs/gio/struct.ListModel.html +++ b/git/docs/gio/struct.ListModel.html @@ -155,25 +155,25 @@

§Implements>= operator. Read more
source§

impl StaticType for ListModel

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for ListModel

source§

impl IsA<ListModel> for ListStore

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -209,116 +209,116 @@

§ImplementsIsA<ListModel>,

source§

fn snapshot(&self) -> Vec<Object>

Get an immutable snapshot of the container inside the ListModel. Any modification done to the returned container Vec will not be reflected on the ListModel.
source§

fn iter<LT: IsA<Object>>(&self) -> ListModelIter<'_, LT>

If T::static_type().is_a(self.item_type()) then it returns an iterator over the ListModel elements, -else the types are not compatible and returns an Err(...). Read more
source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( +else the types are not compatible and returns an Err(...). Read more

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -330,6 +330,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.ListStore.html b/git/docs/gio/struct.ListStore.html index 6f62a030feb5..0612525ce67e 100644 --- a/git/docs/gio/struct.ListStore.html +++ b/git/docs/gio/struct.ListStore.html @@ -216,25 +216,25 @@
§positio the >= operator. Read more
source§

impl StaticType for ListStore

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for ListStore

source§

impl IsA<ListModel> for ListStore

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -275,116 +275,116 @@
§positio T: IsA<ListModel>,

source§

fn snapshot(&self) -> Vec<Object>

Get an immutable snapshot of the container inside the ListModel. Any modification done to the returned container Vec will not be reflected on the ListModel.
source§

fn iter<LT: IsA<Object>>(&self) -> ListModelIter<'_, LT>

If T::static_type().is_a(self.item_type()) then it returns an iterator over the ListModel elements, -else the types are not compatible and returns an Err(...). Read more
source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( +else the types are not compatible and returns an Err(...). Read more

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -396,6 +396,6 @@
§positio 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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.LoadableIcon.html b/git/docs/gio/struct.LoadableIcon.html index afd4d069136b..ec488a39bcd2 100644 --- a/git/docs/gio/struct.LoadableIcon.html +++ b/git/docs/gio/struct.LoadableIcon.html @@ -98,25 +98,25 @@

§Implements>= operator. Read more
source§

impl StaticType for LoadableIcon

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for LoadableIcon

source§

impl IsA<Icon> for LoadableIcon

source§

impl IsA<LoadableIcon> for BytesIcon

source§

impl IsA<LoadableIcon> for FileIcon

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -166,116 +166,116 @@

§ImplementsRead more

source§

fn load_future( &self, size: i32, -) -> Pin<Box_<dyn Future<Output = Result<(InputStream, GString), Error>> + 'static>>

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( +) -> Pin<Box_<dyn Future<Output = Result<(InputStream, GString), Error>> + 'static>>

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -287,6 +287,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.LocalTask.html b/git/docs/gio/struct.LocalTask.html index bc70c826f465..4baf0e601f5c 100644 --- a/git/docs/gio/struct.LocalTask.html +++ b/git/docs/gio/struct.LocalTask.html @@ -120,25 +120,25 @@ Gio::SimpleAsyncResult::propagate_error(). Otherwise it returns FALSE. 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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where @@ -151,116 +151,116 @@ T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -272,6 +272,6 @@ 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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.MemoryInputStream.html b/git/docs/gio/struct.MemoryInputStream.html index e9eeaaeecc8e..033f13b030d7 100644 --- a/git/docs/gio/struct.MemoryInputStream.html +++ b/git/docs/gio/struct.MemoryInputStream.html @@ -108,25 +108,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for MemoryInputStream

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for MemoryInputStream

source§

impl IsA<InputStream> for MemoryInputStream

source§

impl IsA<PollableInputStream> for MemoryInputStream

source§

impl IsA<Seekable> for MemoryInputStream

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -253,116 +253,116 @@
§Returns
<U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<O> MemoryInputStreamExt for O
where - O: IsA<MemoryInputStream>,

source§

fn add_bytes(&self, bytes: &Bytes)

Appends @bytes to data that can be read from the input stream. Read more
source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + O: IsA<MemoryInputStream>,

source§

fn add_bytes(&self, bytes: &Bytes)

Appends @bytes to data that can be read from the input stream. Read more
source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> PollableInputStreamExt for O
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> PollableInputStreamExt for O

source§

fn can_poll(&self) -> bool

Checks if @self is actually pollable. Some classes may implement #GPollableInputStream but have only certain instances of that class be pollable. If this method returns false, then the behavior of @@ -419,6 +419,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.MemoryMonitor.html b/git/docs/gio/struct.MemoryMonitor.html index fb89c41f3aea..0826eb671ca9 100644 --- a/git/docs/gio/struct.MemoryMonitor.html +++ b/git/docs/gio/struct.MemoryMonitor.html @@ -146,25 +146,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for MemoryMonitor

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for MemoryMonitor

source§

impl IsA<Initable> for MemoryMonitor

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -201,116 +201,116 @@
§Returns
) -> SignalHandlerId

Available on crate feature v2_64 only.
Emitted when the system is running low on free memory. The signal handler should then take the appropriate action depending on the warning level. See the #GMemoryMonitorWarningLevel documentation for -details. Read more
source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( +details. Read more

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -322,6 +322,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.MemoryOutputStream.html b/git/docs/gio/struct.MemoryOutputStream.html index 944851c7fce3..088b960ae83c 100644 --- a/git/docs/gio/struct.MemoryOutputStream.html +++ b/git/docs/gio/struct.MemoryOutputStream.html @@ -117,25 +117,25 @@

§Implements>= operator. Read more
source§

impl StaticType for MemoryOutputStream

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for MemoryOutputStream

source§

impl IsA<OutputStream> for MemoryOutputStream

source§

impl IsA<PollableOutputStream> for MemoryOutputStream

source§

impl IsA<Seekable> for MemoryOutputStream

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -172,116 +172,116 @@

§ImplementsRead more

source§

fn connect_data_size_notify<F: Fn(&Self) + 'static>( &self, f: F, -) -> SignalHandlerId

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( +) -> SignalHandlerId

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> OutputStreamExt for O
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> OutputStreamExt for O
where O: IsA<OutputStream>,

source§

fn clear_pending(&self)

Clears the pending flag on @self.
source§

fn close( &self, cancellable: Option<&impl IsA<Cancellable>>, @@ -495,6 +495,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.Menu.html b/git/docs/gio/struct.Menu.html index cf082c5bb479..edc2ebeff463 100644 --- a/git/docs/gio/struct.Menu.html +++ b/git/docs/gio/struct.Menu.html @@ -240,25 +240,25 @@
§positio the >= operator. Read more
source§

impl StaticType for Menu

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for Menu

source§

impl IsA<MenuModel> for Menu

Auto Trait Implementations§

§

impl Freeze for Menu

§

impl RefUnwindSafe for Menu

§

impl !Send for Menu

§

impl !Sync for Menu

§

impl Unpin for Menu

§

impl UnwindSafe for Menu

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -302,116 +302,116 @@
§positio position @item_index in @self. Read more

source§

fn connect_items_changed<F: Fn(&Self, i32, i32, i32) + 'static>( &self, f: F, -) -> SignalHandlerId

Emitted when a change has occurred to the menu. Read more
source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( +) -> SignalHandlerId

Emitted when a change has occurred to the menu. Read more
source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -423,6 +423,6 @@
§positio 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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.MenuAttributeIter.html b/git/docs/gio/struct.MenuAttributeIter.html index b405d79b900f..f32c3275e99f 100644 --- a/git/docs/gio/struct.MenuAttributeIter.html +++ b/git/docs/gio/struct.MenuAttributeIter.html @@ -99,25 +99,25 @@

§Implements>= operator. Read more
source§

impl StaticType for MenuAttributeIter

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for MenuAttributeIter

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -150,116 +150,116 @@

§ImplementsObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<O> MenuAttributeIterExt for O

source§

fn next(&self) -> Option<(GString, Variant)>

This function combines g_menu_attribute_iter_next() with -g_menu_attribute_iter_get_name() and g_menu_attribute_iter_get_value(). Read more
source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( +g_menu_attribute_iter_get_name() and g_menu_attribute_iter_get_value(). Read more

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -271,6 +271,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.MenuItem.html b/git/docs/gio/struct.MenuItem.html index 9b3fc2fffc7f..ba39455d369a 100644 --- a/git/docs/gio/struct.MenuItem.html +++ b/git/docs/gio/struct.MenuItem.html @@ -318,25 +318,25 @@

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -367,116 +367,116 @@

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -488,6 +488,6 @@

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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.MenuLinkIter.html b/git/docs/gio/struct.MenuLinkIter.html index 22b80a60d49d..707592e3983f 100644 --- a/git/docs/gio/struct.MenuLinkIter.html +++ b/git/docs/gio/struct.MenuLinkIter.html @@ -99,25 +99,25 @@

§Implements>= operator. Read more
source§

impl StaticType for MenuLinkIter

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for MenuLinkIter

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -150,116 +150,116 @@

§ImplementsObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<O> MenuLinkIterExt for O
where O: IsA<MenuLinkIter>,

source§

fn next(&self) -> Option<(GString, MenuModel)>

This function combines g_menu_link_iter_next() with -g_menu_link_iter_get_name() and g_menu_link_iter_get_value(). Read more
source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( +g_menu_link_iter_get_name() and g_menu_link_iter_get_value(). Read more

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -271,6 +271,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.MenuModel.html b/git/docs/gio/struct.MenuModel.html index 71abaff3a0f4..9b2309b366f5 100644 --- a/git/docs/gio/struct.MenuModel.html +++ b/git/docs/gio/struct.MenuModel.html @@ -213,25 +213,25 @@

§Implements>= operator. Read more
source§

impl StaticType for MenuModel

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for MenuModel

source§

impl IsA<MenuModel> for DBusMenuModel

source§

impl IsA<MenuModel> for Menu

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -275,116 +275,116 @@

§ImplementsRead more

source§

fn connect_items_changed<F: Fn(&Self, i32, i32, i32) + 'static>( &self, f: F, -) -> SignalHandlerId

Emitted when a change has occurred to the menu. Read more
source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( +) -> SignalHandlerId

Emitted when a change has occurred to the menu. Read more
source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -396,6 +396,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.Mount.html b/git/docs/gio/struct.Mount.html index 198ea5ff50a0..5ee4816f5750 100644 --- a/git/docs/gio/struct.Mount.html +++ b/git/docs/gio/struct.Mount.html @@ -129,25 +129,25 @@

§Implements>= operator. Read more
source§

impl StaticType for Mount

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for Mount

Auto Trait Implementations§

§

impl Freeze for Mount

§

impl RefUnwindSafe for Mount

§

impl !Send for Mount

§

impl !Sync for Mount

§

impl Unpin for Mount

§

impl UnwindSafe for Mount

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -248,116 +248,116 @@

§ImplementsRead more

source§

fn connect_unmounted<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

This signal is emitted when the #GMount have been unmounted. If the recipient is holding references to the object they should release them so the object can be -finalized.
source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( +finalized.

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -369,6 +369,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.MountMountFlags.html b/git/docs/gio/struct.MountMountFlags.html index c665b07bd102..946e83526613 100644 --- a/git/docs/gio/struct.MountMountFlags.html +++ b/git/docs/gio/struct.MountMountFlags.html @@ -146,8 +146,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.MountOperation.html b/git/docs/gio/struct.MountOperation.html index 9914b7573305..77d99d1ecb96 100644 --- a/git/docs/gio/struct.MountOperation.html +++ b/git/docs/gio/struct.MountOperation.html @@ -197,25 +197,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for MountOperation

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for MountOperation

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -279,116 +279,116 @@
§Returns
) -> SignalHandlerId

source§

fn connect_pim_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Available on crate feature v2_58 only.
source§

fn connect_username_notify<F: Fn(&Self) + 'static>( &self, f: F, -) -> SignalHandlerId

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( +) -> SignalHandlerId

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -400,6 +400,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.MountUnmountFlags.html b/git/docs/gio/struct.MountUnmountFlags.html index ec540063745d..8ae14e94ef0b 100644 --- a/git/docs/gio/struct.MountUnmountFlags.html +++ b/git/docs/gio/struct.MountUnmountFlags.html @@ -148,8 +148,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.NetworkAddress.html b/git/docs/gio/struct.NetworkAddress.html index 9e0fb3268b65..16d08c003e65 100644 --- a/git/docs/gio/struct.NetworkAddress.html +++ b/git/docs/gio/struct.NetworkAddress.html @@ -179,25 +179,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for NetworkAddress

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for NetworkAddress

source§

impl IsA<SocketConnectable> for NetworkAddress

source§

impl Send for NetworkAddress

source§

impl Sync for NetworkAddress

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -230,116 +230,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<O> NetworkAddressExt for O
where O: IsA<NetworkAddress>,

source§

fn hostname(&self) -> GString

Gets @self’s hostname. This might be either UTF-8 or ASCII-encoded, -depending on what @self was created with. Read more
source§

fn port(&self) -> u16

Gets @self’s port number Read more
source§

fn scheme(&self) -> Option<GString>

Gets @self’s scheme Read more
source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( +depending on what @self was created with. Read more

source§

fn port(&self) -> u16

Gets @self’s port number Read more
source§

fn scheme(&self) -> Option<GString>

Gets @self’s scheme Read more
source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> SocketConnectableExt for O
where @@ -350,14 +350,14 @@
§Returns
suitable for use in user interfaces as it exposes too much information for a user. Read more

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType for T

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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.NetworkMonitor.html b/git/docs/gio/struct.NetworkMonitor.html index 0cc0c91f93cb..31908d25caa3 100644 --- a/git/docs/gio/struct.NetworkMonitor.html +++ b/git/docs/gio/struct.NetworkMonitor.html @@ -148,25 +148,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for NetworkMonitor

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for NetworkMonitor

source§

impl IsA<Initable> for NetworkMonitor

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -230,116 +230,116 @@
§Returns
) -> SignalHandlerId

source§

fn connect_network_metered_notify<F: Fn(&Self) + 'static>( &self, f: F, -) -> SignalHandlerId

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( +) -> SignalHandlerId

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -351,6 +351,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.NetworkService.html b/git/docs/gio/struct.NetworkService.html index 1825e9e7225b..6652502b8ef2 100644 --- a/git/docs/gio/struct.NetworkService.html +++ b/git/docs/gio/struct.NetworkService.html @@ -127,25 +127,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for NetworkService

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for NetworkService

source§

impl IsA<SocketConnectable> for NetworkService

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -180,116 +180,116 @@
§Returns
O: IsA<NetworkService>,

source§

fn domain(&self) -> GString

Gets the domain that @self serves. This might be either UTF-8 or ASCII-encoded, depending on what @self was created with. Read more
source§

fn protocol(&self) -> GString

Gets @self’s protocol name (eg, “tcp”). Read more
source§

fn scheme(&self) -> GString

Gets the URI scheme used to resolve proxies. By default, the service name is used as scheme. Read more
source§

fn service(&self) -> GString

Gets @self’s service name (eg, “ldap”). Read more
source§

fn set_scheme(&self, scheme: &str)

Set’s the URI scheme used to resolve proxies. By default, the service name -is used as scheme. Read more
source§

fn connect_scheme_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( +is used as scheme. Read more

source§

fn connect_scheme_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> SocketConnectableExt for O
where @@ -307,6 +307,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.Notification.html b/git/docs/gio/struct.Notification.html index 8aa604a14694..6c7d471485ac 100644 --- a/git/docs/gio/struct.Notification.html +++ b/git/docs/gio/struct.Notification.html @@ -213,25 +213,25 @@
§title< the >= operator. Read more
source§

impl StaticType for Notification

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for Notification

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -262,116 +262,116 @@
§title< T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -383,6 +383,6 @@
§title< 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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.OutputStream.html b/git/docs/gio/struct.OutputStream.html index 5a1a19d7d8df..c9e8d2706163 100644 --- a/git/docs/gio/struct.OutputStream.html +++ b/git/docs/gio/struct.OutputStream.html @@ -110,25 +110,25 @@

§Implements>= operator. Read more
source§

impl StaticType for OutputStream

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for OutputStream

source§

impl IsA<OutputStream> for BufferedOutputStream

source§

impl IsA<OutputStream> for ConverterOutputStream

source§

impl IsA<OutputStream> for DataOutputStream

source§

impl IsA<OutputStream> for FileOutputStream

source§

impl IsA<OutputStream> for FilterOutputStream

source§

impl IsA<OutputStream> for MemoryOutputStream

source§

impl IsA<OutputStream> for PollableOutputStream

source§

impl IsA<OutputStream> for UnixOutputStream

Available on Unix only.
source§

impl IsA<OutputStream> for WriteOutputStream

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -159,116 +159,116 @@

§ImplementsObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> OutputStreamExt for O
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> OutputStreamExt for O
where O: IsA<OutputStream>,

source§

fn clear_pending(&self)

Clears the pending flag on @self.
source§

fn close( &self, cancellable: Option<&impl IsA<Cancellable>>, @@ -428,6 +428,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.OutputStreamSpliceFlags.html b/git/docs/gio/struct.OutputStreamSpliceFlags.html index 79696a4749c9..d939de730a1d 100644 --- a/git/docs/gio/struct.OutputStreamSpliceFlags.html +++ b/git/docs/gio/struct.OutputStreamSpliceFlags.html @@ -150,8 +150,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.Permission.html b/git/docs/gio/struct.Permission.html index 2e679b6ca062..8c4bf1fa5eca 100644 --- a/git/docs/gio/struct.Permission.html +++ b/git/docs/gio/struct.Permission.html @@ -121,25 +121,25 @@

§Implements>= operator. Read more
source§

impl StaticType for Permission

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for Permission

source§

impl IsA<Permission> for SimplePermission

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -170,116 +170,116 @@

§ImplementsObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> PermissionExt for O
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> PermissionExt for O
where O: IsA<Permission>,

source§

fn acquire( &self, cancellable: Option<&impl IsA<Cancellable>>, @@ -327,6 +327,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.PollableInputStream.html b/git/docs/gio/struct.PollableInputStream.html index 2e0f4b79a283..ed007266ca93 100644 --- a/git/docs/gio/struct.PollableInputStream.html +++ b/git/docs/gio/struct.PollableInputStream.html @@ -104,25 +104,25 @@

§Implements>= operator. Read more
source§

impl StaticType for PollableInputStream

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for PollableInputStream

source§

impl IsA<InputStream> for PollableInputStream

source§

impl IsA<PollableInputStream> for ConverterInputStream

source§

impl IsA<PollableInputStream> for MemoryInputStream

source§

impl IsA<PollableInputStream> for UnixInputStream

Available on Unix only.

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -243,116 +243,116 @@

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> PollableInputStreamExt for O
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> PollableInputStreamExt for O

source§

fn can_poll(&self) -> bool

Checks if @self is actually pollable. Some classes may implement #GPollableInputStream but have only certain instances of that class be pollable. If this method returns false, then the behavior of @@ -396,6 +396,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.PollableOutputStream.html b/git/docs/gio/struct.PollableOutputStream.html index 54d6913a0a10..ca5737cb84e2 100644 --- a/git/docs/gio/struct.PollableOutputStream.html +++ b/git/docs/gio/struct.PollableOutputStream.html @@ -104,25 +104,25 @@

§Implements>= operator. Read more

source§

impl StaticType for PollableOutputStream

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for PollableOutputStream

source§

impl IsA<OutputStream> for PollableOutputStream

source§

impl IsA<PollableOutputStream> for ConverterOutputStream

source§

impl IsA<PollableOutputStream> for MemoryOutputStream

source§

impl IsA<PollableOutputStream> for UnixOutputStream

Available on Unix only.

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -148,116 +148,116 @@

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> OutputStreamExt for O
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> OutputStreamExt for O
where O: IsA<OutputStream>,

source§

fn clear_pending(&self)

Clears the pending flag on @self.
source§

fn close( &self, cancellable: Option<&impl IsA<Cancellable>>, @@ -458,6 +458,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.PowerProfileMonitor.html b/git/docs/gio/struct.PowerProfileMonitor.html index 7d9e36b844cb..85fbfdb7b134 100644 --- a/git/docs/gio/struct.PowerProfileMonitor.html +++ b/git/docs/gio/struct.PowerProfileMonitor.html @@ -123,25 +123,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for PowerProfileMonitor

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for PowerProfileMonitor

source§

impl IsA<Initable> for PowerProfileMonitor

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -171,116 +171,116 @@
§Returns

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> PowerProfileMonitorExt for O
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> PowerProfileMonitorExt for O

source§

fn is_power_saver_enabled(&self) -> bool

Available on crate feature v2_70 only.
Gets whether the system is in “Power Saver” mode. Read more
source§

fn connect_power_saver_enabled_notify<F: Fn(&Self) + 'static>( &self, f: F, @@ -296,6 +296,6 @@

§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.PropertyAction.html b/git/docs/gio/struct.PropertyAction.html index 7dc365c6082c..8d2c025c9331 100644 --- a/git/docs/gio/struct.PropertyAction.html +++ b/git/docs/gio/struct.PropertyAction.html @@ -225,25 +225,25 @@
§Returns
) -> SignalHandlerId
source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. 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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -274,116 +274,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -395,6 +395,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.Proxy.html b/git/docs/gio/struct.Proxy.html index 34e5247ea303..b2e0648862e3 100644 --- a/git/docs/gio/struct.Proxy.html +++ b/git/docs/gio/struct.Proxy.html @@ -109,25 +109,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for Proxy

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for Proxy

Auto Trait Implementations§

§

impl Freeze for Proxy

§

impl RefUnwindSafe for Proxy

§

impl !Send for Proxy

§

impl !Sync for Proxy

§

impl Unpin for Proxy

§

impl UnwindSafe for Proxy

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -153,116 +153,116 @@
§Returns

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> ProxyExt for O
where @@ -299,6 +299,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.ProxyAddress.html b/git/docs/gio/struct.ProxyAddress.html index bf9b37aee6f7..6b3179fdec25 100644 --- a/git/docs/gio/struct.ProxyAddress.html +++ b/git/docs/gio/struct.ProxyAddress.html @@ -170,25 +170,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for ProxyAddress

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for ProxyAddress

source§

impl IsA<InetSocketAddress> for ProxyAddress

source§

impl IsA<SocketAddress> for ProxyAddress

source§

impl IsA<SocketConnectable> for ProxyAddress

source§

impl Send for ProxyAddress

source§

impl Sync for ProxyAddress

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -222,116 +222,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> ProxyAddressExt for O
where @@ -354,14 +354,14 @@
§Returns
suitable for use in user interfaces as it exposes too much information for a user. Read more

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType for T

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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.ProxyResolver.html b/git/docs/gio/struct.ProxyResolver.html index 3449671a4a71..1632dff0fa40 100644 --- a/git/docs/gio/struct.ProxyResolver.html +++ b/git/docs/gio/struct.ProxyResolver.html @@ -107,25 +107,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for ProxyResolver

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for ProxyResolver

source§

impl IsA<ProxyResolver> for SimpleProxyResolver

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -151,116 +151,116 @@
§Returns

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> ProxyResolverExt for O
where @@ -292,6 +292,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.ReadInputStream.html b/git/docs/gio/struct.ReadInputStream.html index c0553d56d105..5d5641e41bd2 100644 --- a/git/docs/gio/struct.ReadInputStream.html +++ b/git/docs/gio/struct.ReadInputStream.html @@ -94,25 +94,25 @@ the >= operator. Read more
source§

impl StaticType for ReadInputStream

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for ReadInputStream

source§

impl IsA<InputStream> for ReadInputStream

source§

impl IsA<Seekable> for ReadInputStream

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -238,116 +238,116 @@ T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T, S> ObjectSubclassIsExt for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T, S> ObjectSubclassIsExt for T
where T: ObjectSubclassIs<Subclass = S>, S: ObjectSubclass<Type = T>,

source§

fn imp(&self) -> &<T as ObjectSubclassIs>::Subclass

Returns the implementation (the private Rust struct) of this class instance
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where @@ -374,6 +374,6 @@ 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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.RemoteActionGroup.html b/git/docs/gio/struct.RemoteActionGroup.html index 6a782b7a34db..d5ade030878f 100644 --- a/git/docs/gio/struct.RemoteActionGroup.html +++ b/git/docs/gio/struct.RemoteActionGroup.html @@ -135,25 +135,25 @@

§ImplementsSignalHandlerId

Signals that the state of the named action has changed. Read more
source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. 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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -179,116 +179,116 @@

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> RemoteActionGroupExt for O
where @@ -311,6 +311,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.Resolver.html b/git/docs/gio/struct.Resolver.html index 6c72fe2eac9d..5aca8934c3d2 100644 --- a/git/docs/gio/struct.Resolver.html +++ b/git/docs/gio/struct.Resolver.html @@ -129,25 +129,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for Resolver

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for Resolver

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -178,116 +178,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> ResolverExt for O
where @@ -405,6 +405,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.ResolverNameLookupFlags.html b/git/docs/gio/struct.ResolverNameLookupFlags.html index aebb3cf6df79..856a36a23ae9 100644 --- a/git/docs/gio/struct.ResolverNameLookupFlags.html +++ b/git/docs/gio/struct.ResolverNameLookupFlags.html @@ -148,8 +148,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.ResourceLookupFlags.html b/git/docs/gio/struct.ResourceLookupFlags.html index 385509533465..949ebf2f4037 100644 --- a/git/docs/gio/struct.ResourceLookupFlags.html +++ b/git/docs/gio/struct.ResourceLookupFlags.html @@ -146,8 +146,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.Seekable.html b/git/docs/gio/struct.Seekable.html index 0b214e0142a6..8b8d497fe8f2 100644 --- a/git/docs/gio/struct.Seekable.html +++ b/git/docs/gio/struct.Seekable.html @@ -108,25 +108,25 @@

§Implements>= operator. Read more
source§

impl StaticType for Seekable

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for Seekable

source§

impl IsA<Seekable> for BufferedInputStream

source§

impl IsA<Seekable> for BufferedOutputStream

source§

impl IsA<Seekable> for DataInputStream

source§

impl IsA<Seekable> for DataOutputStream

source§

impl IsA<Seekable> for FileIOStream

source§

impl IsA<Seekable> for FileInputStream

source§

impl IsA<Seekable> for FileOutputStream

source§

impl IsA<Seekable> for MemoryInputStream

source§

impl IsA<Seekable> for MemoryOutputStream

source§

impl IsA<Seekable> for ReadInputStream

source§

impl IsA<Seekable> for WriteOutputStream

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -152,116 +152,116 @@

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> SeekableExt for O
where @@ -286,6 +286,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.Settings.html b/git/docs/gio/struct.Settings.html index 1001a285b843..25cce1e5e103 100644 --- a/git/docs/gio/struct.Settings.html +++ b/git/docs/gio/struct.Settings.html @@ -564,25 +564,25 @@
§property>= operator. Read more
source§

impl StaticType for Settings

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for Settings

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -613,116 +613,116 @@
§propertyObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> SettingsExt for O
where @@ -805,6 +805,6 @@
§propertyTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.SettingsBackend.html b/git/docs/gio/struct.SettingsBackend.html index 80ae444069ca..496871243d03 100644 --- a/git/docs/gio/struct.SettingsBackend.html +++ b/git/docs/gio/struct.SettingsBackend.html @@ -124,25 +124,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for SettingsBackend

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for SettingsBackend

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -173,116 +173,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> SettingsBackendExt for O
where @@ -296,6 +296,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.SettingsBindFlags.html b/git/docs/gio/struct.SettingsBindFlags.html index be05dbb86d27..ea773c29bb2a 100644 --- a/git/docs/gio/struct.SettingsBindFlags.html +++ b/git/docs/gio/struct.SettingsBindFlags.html @@ -158,8 +158,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.SimpleAction.html b/git/docs/gio/struct.SimpleAction.html index 4d8166e83bf1..ce5f97d72a0c 100644 --- a/git/docs/gio/struct.SimpleAction.html +++ b/git/docs/gio/struct.SimpleAction.html @@ -293,25 +293,25 @@
§value< ) -> SignalHandlerId
source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. 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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -342,116 +342,116 @@
§value< T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -463,6 +463,6 @@
§value< 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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.SimpleActionGroup.html b/git/docs/gio/struct.SimpleActionGroup.html index 9e06949c3255..1af344520846 100644 --- a/git/docs/gio/struct.SimpleActionGroup.html +++ b/git/docs/gio/struct.SimpleActionGroup.html @@ -129,25 +129,25 @@
§Returns
instances and adding them to a ActionMap. Read more
source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. 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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -178,116 +178,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -299,6 +299,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.SimpleIOStream.html b/git/docs/gio/struct.SimpleIOStream.html index 9b8acee092b7..0738fb9e5152 100644 --- a/git/docs/gio/struct.SimpleIOStream.html +++ b/git/docs/gio/struct.SimpleIOStream.html @@ -133,25 +133,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for SimpleIOStream

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for SimpleIOStream

source§

impl IsA<IOStream> for SimpleIOStream

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -204,116 +204,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -325,6 +325,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.SimplePermission.html b/git/docs/gio/struct.SimplePermission.html index 3b67cbcf8363..eee127049cff 100644 --- a/git/docs/gio/struct.SimplePermission.html +++ b/git/docs/gio/struct.SimplePermission.html @@ -107,25 +107,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for SimplePermission

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for SimplePermission

source§

impl IsA<Permission> for SimplePermission

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -156,116 +156,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> PermissionExt for O
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> PermissionExt for O
where O: IsA<Permission>,

source§

fn acquire( &self, cancellable: Option<&impl IsA<Cancellable>>, @@ -313,6 +313,6 @@

§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.SimpleProxyResolver.html b/git/docs/gio/struct.SimpleProxyResolver.html index 45eeeb1ce10c..691bb611a57e 100644 --- a/git/docs/gio/struct.SimpleProxyResolver.html +++ b/git/docs/gio/struct.SimpleProxyResolver.html @@ -164,25 +164,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for SimpleProxyResolver

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for SimpleProxyResolver

source§

impl IsA<ProxyResolver> for SimpleProxyResolver

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -213,116 +213,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> ProxyResolverExt for O
where @@ -369,6 +369,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.Socket.html b/git/docs/gio/struct.Socket.html index 31e3628f69fd..a51ba13fad75 100644 --- a/git/docs/gio/struct.Socket.html +++ b/git/docs/gio/struct.Socket.html @@ -234,25 +234,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for Socket

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for Socket

source§

impl IsA<DatagramBased> for Socket

source§

impl IsA<Initable> for Socket

Auto Trait Implementations§

§

impl Freeze for Socket

§

impl RefUnwindSafe for Socket

§

impl !Send for Socket

§

impl !Sync for Socket

§

impl Unpin for Socket

§

impl UnwindSafe for Socket

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> DatagramBasedExt for O
where O: IsA<DatagramBased>,

source§

fn condition_check(&self, condition: IOCondition) -> IOCondition

Checks on the readiness of @self to perform operations. The @@ -330,116 +330,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,
source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> SocketExt for O
where @@ -689,6 +689,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.SocketAddress.html b/git/docs/gio/struct.SocketAddress.html index 3747ba2f8d91..851069071c14 100644 --- a/git/docs/gio/struct.SocketAddress.html +++ b/git/docs/gio/struct.SocketAddress.html @@ -104,25 +104,25 @@

§Implements>= operator. Read more
source§

impl StaticType for SocketAddress

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for SocketAddress

source§

impl IsA<SocketAddress> for InetSocketAddress

source§

impl IsA<SocketAddress> for ProxyAddress

source§

impl IsA<SocketAddress> for UnixSocketAddress

Available on Unix only.
source§

impl IsA<SocketConnectable> for SocketAddress

source§

impl Send for SocketAddress

source§

impl Sync for SocketAddress

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -153,116 +153,116 @@

§ImplementsObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> SocketAddressExt for O
where @@ -279,14 +279,14 @@

§ImplementsRead more

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType for T

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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.SocketAddressEnumerator.html b/git/docs/gio/struct.SocketAddressEnumerator.html index ca9bfe797a63..4253afcce34c 100644 --- a/git/docs/gio/struct.SocketAddressEnumerator.html +++ b/git/docs/gio/struct.SocketAddressEnumerator.html @@ -110,25 +110,25 @@

§Implements>= operator. Read more
source§

impl StaticType for SocketAddressEnumerator

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for SocketAddressEnumerator

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -159,116 +159,116 @@

§ImplementsObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> SocketAddressEnumeratorExt for O
where @@ -296,6 +296,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.SocketClient.html b/git/docs/gio/struct.SocketClient.html index aa0fcf916d68..b20b2885e715 100644 --- a/git/docs/gio/struct.SocketClient.html +++ b/git/docs/gio/struct.SocketClient.html @@ -210,25 +210,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for SocketClient

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for SocketClient

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -259,116 +259,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> SocketClientExt for O
where @@ -493,6 +493,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.SocketConnectable.html b/git/docs/gio/struct.SocketConnectable.html index 2319ae4170ba..316dd6e3a358 100644 --- a/git/docs/gio/struct.SocketConnectable.html +++ b/git/docs/gio/struct.SocketConnectable.html @@ -150,25 +150,25 @@ the >= operator. Read more
source§

impl StaticType for SocketConnectable

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for SocketConnectable

source§

impl IsA<SocketConnectable> for InetSocketAddress

source§

impl IsA<SocketConnectable> for NetworkAddress

source§

impl IsA<SocketConnectable> for NetworkService

source§

impl IsA<SocketConnectable> for ProxyAddress

source§

impl IsA<SocketConnectable> for SocketAddress

source§

impl IsA<SocketConnectable> for UnixSocketAddress

Available on Unix only.

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -194,116 +194,116 @@

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> SocketConnectableExt for O
where @@ -321,6 +321,6 @@ 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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.SocketConnection.html b/git/docs/gio/struct.SocketConnection.html index a7b5c64fdeb1..97b49af08849 100644 --- a/git/docs/gio/struct.SocketConnection.html +++ b/git/docs/gio/struct.SocketConnection.html @@ -154,25 +154,25 @@
§protocol>= operator. Read more
source§

impl StaticType for SocketConnection

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for SocketConnection

source§

impl IsA<IOStream> for SocketConnection

source§

impl IsA<SocketConnection> for TcpConnection

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -225,116 +225,116 @@
§protocolObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> SocketConnectionExt for O
where @@ -362,6 +362,6 @@
§protocolTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.SocketControlMessage.html b/git/docs/gio/struct.SocketControlMessage.html index fa3421121b3c..aad5e39d1c8f 100644 --- a/git/docs/gio/struct.SocketControlMessage.html +++ b/git/docs/gio/struct.SocketControlMessage.html @@ -130,25 +130,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for SocketControlMessage

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for SocketControlMessage

source§

impl IsA<SocketControlMessage> for UnixCredentialsMessage

Available on Unix only.
source§

impl IsA<SocketControlMessage> for UnixFDMessage

Available on Unix only.

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -179,116 +179,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> SocketControlMessageExt for O
where @@ -306,6 +306,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.SocketListener.html b/git/docs/gio/struct.SocketListener.html index 8d0e9e23a675..44ec2c9d9702 100644 --- a/git/docs/gio/struct.SocketListener.html +++ b/git/docs/gio/struct.SocketListener.html @@ -122,25 +122,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for SocketListener

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for SocketListener

source§

impl IsA<SocketListener> for SocketService

source§

impl IsA<SocketListener> for ThreadedSocketService

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -171,116 +171,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> SocketListenerExt for O
where @@ -352,6 +352,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.SocketMsgFlags.html b/git/docs/gio/struct.SocketMsgFlags.html index 11ba15d3d2f6..de8810a5a9f1 100644 --- a/git/docs/gio/struct.SocketMsgFlags.html +++ b/git/docs/gio/struct.SocketMsgFlags.html @@ -140,8 +140,8 @@ From<T> for U chooses to do.

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.SocketService.html b/git/docs/gio/struct.SocketService.html index c345b964c281..b3f0dd2562a0 100644 --- a/git/docs/gio/struct.SocketService.html +++ b/git/docs/gio/struct.SocketService.html @@ -148,25 +148,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for SocketService

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for SocketService

source§

impl IsA<SocketListener> for SocketService

source§

impl IsA<SocketService> for ThreadedSocketService

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -197,116 +197,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> SocketListenerExt for O
where @@ -392,6 +392,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.Subprocess.html b/git/docs/gio/struct.Subprocess.html index f8c9a71f1976..958da12908a3 100644 --- a/git/docs/gio/struct.Subprocess.html +++ b/git/docs/gio/struct.Subprocess.html @@ -392,25 +392,25 @@
§callbac the >= operator. Read more
source§

impl StaticType for Subprocess

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for Subprocess

source§

impl IsA<Initable> for Subprocess

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -445,116 +445,116 @@
§callbac T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -566,6 +566,6 @@
§callbac 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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.SubprocessFlags.html b/git/docs/gio/struct.SubprocessFlags.html index 1ff5284f7f05..fc169ccce9b5 100644 --- a/git/docs/gio/struct.SubprocessFlags.html +++ b/git/docs/gio/struct.SubprocessFlags.html @@ -177,8 +177,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.SubprocessLauncher.html b/git/docs/gio/struct.SubprocessLauncher.html index f9bfd8e6ced8..b0de6a926f8e 100644 --- a/git/docs/gio/struct.SubprocessLauncher.html +++ b/git/docs/gio/struct.SubprocessLauncher.html @@ -289,25 +289,25 @@
§variabl the >= operator. Read more
source§

impl StaticType for SubprocessLauncher

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for SubprocessLauncher

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -338,116 +338,116 @@
§variabl T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -459,6 +459,6 @@
§variabl 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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.Task.html b/git/docs/gio/struct.Task.html index ada331cefc03..a6270eddb177 100644 --- a/git/docs/gio/struct.Task.html +++ b/git/docs/gio/struct.Task.html @@ -643,25 +643,25 @@

§ImplementsGio::SimpleAsyncResult::propagate_error(). Otherwise it returns FALSE. 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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where @@ -674,128 +674,128 @@

§ImplementsObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType for T

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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.TcpConnection.html b/git/docs/gio/struct.TcpConnection.html index 2d7538efdbd4..02d3199fd19b 100644 --- a/git/docs/gio/struct.TcpConnection.html +++ b/git/docs/gio/struct.TcpConnection.html @@ -117,25 +117,25 @@

§Implements>= operator. Read more
source§

impl StaticType for TcpConnection

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for TcpConnection

source§

impl IsA<IOStream> for TcpConnection

source§

impl IsA<SocketConnection> for TcpConnection

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -188,116 +188,116 @@

§ImplementsObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> SocketConnectionExt for O
where @@ -332,6 +332,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.ThemedIcon.html b/git/docs/gio/struct.ThemedIcon.html index dd31d7e8f2ed..da996d7fb66b 100644 --- a/git/docs/gio/struct.ThemedIcon.html +++ b/git/docs/gio/struct.ThemedIcon.html @@ -179,25 +179,25 @@
§iconnam the >= operator. Read more
source§

impl StaticType for ThemedIcon

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for ThemedIcon

source§

impl IsA<Icon> for ThemedIcon

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -236,116 +236,116 @@
§iconnam T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -357,6 +357,6 @@
§iconnam 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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.ThreadedSocketService.html b/git/docs/gio/struct.ThreadedSocketService.html index 50e1ab0d019f..c88adf3e7634 100644 --- a/git/docs/gio/struct.ThreadedSocketService.html +++ b/git/docs/gio/struct.ThreadedSocketService.html @@ -150,25 +150,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for ThreadedSocketService

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for ThreadedSocketService

source§

impl IsA<SocketListener> for ThreadedSocketService

source§

impl IsA<SocketService> for ThreadedSocketService

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -199,116 +199,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> SocketListenerExt for O
where @@ -401,6 +401,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.TlsBackend.html b/git/docs/gio/struct.TlsBackend.html index 77d0b994b702..07f14c5b020f 100644 --- a/git/docs/gio/struct.TlsBackend.html +++ b/git/docs/gio/struct.TlsBackend.html @@ -103,25 +103,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for TlsBackend

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for TlsBackend

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -147,116 +147,116 @@
§Returns

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -271,6 +271,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.TlsCertificate.html b/git/docs/gio/struct.TlsCertificate.html index 33b4c7bf0f1e..93abda8a432d 100644 --- a/git/docs/gio/struct.TlsCertificate.html +++ b/git/docs/gio/struct.TlsCertificate.html @@ -337,25 +337,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for TlsCertificate

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for TlsCertificate

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -386,116 +386,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -555,6 +555,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.TlsCertificateFlags.html b/git/docs/gio/struct.TlsCertificateFlags.html index 27e0011ce79d..d9faad9ca2fe 100644 --- a/git/docs/gio/struct.TlsCertificateFlags.html +++ b/git/docs/gio/struct.TlsCertificateFlags.html @@ -169,8 +169,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.TlsClientConnection.html b/git/docs/gio/struct.TlsClientConnection.html index 8b18d84eeb44..f95b2e23b64b 100644 --- a/git/docs/gio/struct.TlsClientConnection.html +++ b/git/docs/gio/struct.TlsClientConnection.html @@ -253,25 +253,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for TlsClientConnection

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for TlsClientConnection

source§

impl IsA<IOStream> for TlsClientConnection

source§

impl IsA<TlsConnection> for TlsClientConnection

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -319,116 +319,116 @@
§Returns

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -578,6 +578,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.TlsConnection.html b/git/docs/gio/struct.TlsConnection.html index 0653fb2bb98a..7c143f14a0b8 100644 --- a/git/docs/gio/struct.TlsConnection.html +++ b/git/docs/gio/struct.TlsConnection.html @@ -235,25 +235,25 @@

§Implements>= operator. Read more
source§

impl StaticType for TlsConnection

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for TlsConnection

source§

impl IsA<IOStream> for TlsConnection

source§

impl IsA<TlsConnection> for TlsClientConnection

source§

impl IsA<TlsConnection> for TlsServerConnection

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -306,116 +306,116 @@

§ImplementsObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -541,6 +541,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.TlsDatabase.html b/git/docs/gio/struct.TlsDatabase.html index 4cd945ec73ed..e60bb588add0 100644 --- a/git/docs/gio/struct.TlsDatabase.html +++ b/git/docs/gio/struct.TlsDatabase.html @@ -104,25 +104,25 @@

§Implements>= operator. Read more
source§

impl StaticType for TlsDatabase

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for TlsDatabase

source§

impl IsA<TlsDatabase> for TlsFileDatabase

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -153,116 +153,116 @@

§ImplementsObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -367,6 +367,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.TlsDatabaseVerifyFlags.html b/git/docs/gio/struct.TlsDatabaseVerifyFlags.html index c3ea25fbcc15..ed7603bb0770 100644 --- a/git/docs/gio/struct.TlsDatabaseVerifyFlags.html +++ b/git/docs/gio/struct.TlsDatabaseVerifyFlags.html @@ -146,8 +146,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.TlsFileDatabase.html b/git/docs/gio/struct.TlsFileDatabase.html index aaa53bb99667..a7fb000de464 100644 --- a/git/docs/gio/struct.TlsFileDatabase.html +++ b/git/docs/gio/struct.TlsFileDatabase.html @@ -113,25 +113,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for TlsFileDatabase

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for TlsFileDatabase

source§

impl IsA<TlsDatabase> for TlsFileDatabase

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -157,116 +157,116 @@
§Returns

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -381,6 +381,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.TlsInteraction.html b/git/docs/gio/struct.TlsInteraction.html index ccee3845ea61..b821b4d5bb6e 100644 --- a/git/docs/gio/struct.TlsInteraction.html +++ b/git/docs/gio/struct.TlsInteraction.html @@ -112,25 +112,25 @@

§Implements>= operator. Read more
source§

impl StaticType for TlsInteraction

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for TlsInteraction

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -161,116 +161,116 @@

§ImplementsObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -336,6 +336,6 @@

§ImplementsTryFrom<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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.TlsPassword.html b/git/docs/gio/struct.TlsPassword.html index 1b724fd6acb0..6af0e906ec84 100644 --- a/git/docs/gio/struct.TlsPassword.html +++ b/git/docs/gio/struct.TlsPassword.html @@ -114,25 +114,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for TlsPassword

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for TlsPassword

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -163,116 +163,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -295,6 +295,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.TlsPasswordFlags.html b/git/docs/gio/struct.TlsPasswordFlags.html index 52edc5eabb78..fd7f776287be 100644 --- a/git/docs/gio/struct.TlsPasswordFlags.html +++ b/git/docs/gio/struct.TlsPasswordFlags.html @@ -157,8 +157,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/gio/struct.TlsServerConnection.html b/git/docs/gio/struct.TlsServerConnection.html index 8d5c34d28296..bd1b38b7ee73 100644 --- a/git/docs/gio/struct.TlsServerConnection.html +++ b/git/docs/gio/struct.TlsServerConnection.html @@ -214,25 +214,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for TlsServerConnection

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for TlsServerConnection

source§

impl IsA<IOStream> for TlsServerConnection

source§

impl IsA<TlsConnection> for TlsServerConnection

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -280,116 +280,116 @@
§Returns

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -523,6 +523,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.UnixCredentialsMessage.html b/git/docs/gio/struct.UnixCredentialsMessage.html index f3b27d9eb12d..f6b1787d6723 100644 --- a/git/docs/gio/struct.UnixCredentialsMessage.html +++ b/git/docs/gio/struct.UnixCredentialsMessage.html @@ -126,25 +126,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for UnixCredentialsMessage

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for UnixCredentialsMessage

source§

impl IsA<SocketControlMessage> for UnixCredentialsMessage

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -175,116 +175,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> SocketControlMessageExt for O
where @@ -303,6 +303,6 @@
§Returns
O: IsA<UnixCredentialsMessage>,

source§

fn credentials(&self) -> Credentials

Available on Unix only.
Gets the credentials stored in @self. Read more
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.UnixFDList.html b/git/docs/gio/struct.UnixFDList.html index 466caad7a723..1400d79a18b0 100644 --- a/git/docs/gio/struct.UnixFDList.html +++ b/git/docs/gio/struct.UnixFDList.html @@ -120,25 +120,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for UnixFDList

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for UnixFDList

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -169,116 +169,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -295,6 +295,6 @@
§Returns
object. Read more

source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.UnixFDMessage.html b/git/docs/gio/struct.UnixFDMessage.html index cc33390b9f10..b57ebe16d731 100644 --- a/git/docs/gio/struct.UnixFDMessage.html +++ b/git/docs/gio/struct.UnixFDMessage.html @@ -119,25 +119,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for UnixFDMessage

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for UnixFDMessage

source§

impl IsA<SocketControlMessage> for UnixFDMessage

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -168,116 +168,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> SocketControlMessageExt for O
where @@ -300,6 +300,6 @@
§Returns
object. Read more

source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.UnixInputStream.html b/git/docs/gio/struct.UnixInputStream.html index bc2747ccaaa1..8f890336a7ae 100644 --- a/git/docs/gio/struct.UnixInputStream.html +++ b/git/docs/gio/struct.UnixInputStream.html @@ -118,25 +118,25 @@
§Safety
the >= operator. Read more
source§

impl StaticType for UnixInputStream

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for UnixInputStream

source§

impl IsA<FileDescriptorBased> for UnixInputStream

source§

impl IsA<InputStream> for UnixInputStream

source§

impl IsA<PollableInputStream> for UnixInputStream

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> FileDescriptorBasedExtManual for O

source§

fn fd<T: FromRawFd>(&self) -> T

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

@@ -263,116 +263,116 @@
§Safety
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,
source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> PollableInputStreamExt for O
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> PollableInputStreamExt for O

source§

fn can_poll(&self) -> bool

Checks if @self is actually pollable. Some classes may implement #GPollableInputStream but have only certain instances of that class be pollable. If this method returns false, then the behavior of @@ -419,6 +419,6 @@
§Safety
O: IsA<UnixInputStream>,
source§

unsafe fn set_close_fd(&self, close_fd: bool)

Sets whether the fd of this stream will be closed when the stream is closed. Read more
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.UnixMountEntry.html b/git/docs/gio/struct.UnixMountEntry.html index 54c918a97f6b..cf1fbdc08a4b 100644 --- a/git/docs/gio/struct.UnixMountEntry.html +++ b/git/docs/gio/struct.UnixMountEntry.html @@ -124,8 +124,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType for T

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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

source§

impl<T, U> TryInto<U> for T
where diff --git a/git/docs/gio/struct.UnixMountPoint.html b/git/docs/gio/struct.UnixMountPoint.html index 547a55a4c5a8..154aff68662e 100644 --- a/git/docs/gio/struct.UnixMountPoint.html +++ b/git/docs/gio/struct.UnixMountPoint.html @@ -167,8 +167,8 @@
§time_read T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType for T

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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

source§

impl<T, U> TryInto<U> for T
where diff --git a/git/docs/gio/struct.UnixOutputStream.html b/git/docs/gio/struct.UnixOutputStream.html index 8eae53c1a3b1..ffd72d7125c7 100644 --- a/git/docs/gio/struct.UnixOutputStream.html +++ b/git/docs/gio/struct.UnixOutputStream.html @@ -118,25 +118,25 @@
§Safety
the >= operator. Read more

source§

impl StaticType for UnixOutputStream

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for UnixOutputStream

source§

impl IsA<FileDescriptorBased> for UnixOutputStream

source§

impl IsA<OutputStream> for UnixOutputStream

source§

impl IsA<PollableOutputStream> for UnixOutputStream

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> FileDescriptorBasedExtManual for O

source§

fn fd<T: FromRawFd>(&self) -> T

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

@@ -168,116 +168,116 @@
§Safety
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,
source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> OutputStreamExt for O
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<O> OutputStreamExt for O
where O: IsA<OutputStream>,

source§

fn clear_pending(&self)

Clears the pending flag on @self.
source§

fn close( &self, cancellable: Option<&impl IsA<Cancellable>>, @@ -481,6 +481,6 @@

§Safety
O: IsA<UnixOutputStream>,
source§

unsafe fn set_close_fd(&self, close_fd: bool)

Sets whether the fd of this stream will be closed when the stream is closed. Read more
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.UnixSocketAddress.html b/git/docs/gio/struct.UnixSocketAddress.html index e9074f41f35b..a7fc2bfed82b 100644 --- a/git/docs/gio/struct.UnixSocketAddress.html +++ b/git/docs/gio/struct.UnixSocketAddress.html @@ -171,25 +171,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for UnixSocketAddress

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for UnixSocketAddress

source§

impl IsA<SocketAddress> for UnixSocketAddress

source§

impl IsA<SocketConnectable> for UnixSocketAddress

source§

impl Send for UnixSocketAddress

source§

impl Sync for UnixSocketAddress

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -220,116 +220,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<O> SocketAddressExt for O
where @@ -346,8 +346,8 @@
§Returns
suitable for use in user interfaces as it exposes too much information for a user. Read more

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType for T

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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

source§

impl<T, U> TryInto<U> for T
where @@ -356,6 +356,6 @@
§Returns
O: IsA<UnixSocketAddress>,

source§

fn path(&self) -> Option<UnixSocketAddressPath<'_>>

Gets @self’s path, or for abstract sockets the “name”. Read more
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.Vfs.html b/git/docs/gio/struct.Vfs.html index aa9aa4608414..5956d4d8ca0d 100644 --- a/git/docs/gio/struct.Vfs.html +++ b/git/docs/gio/struct.Vfs.html @@ -104,25 +104,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for Vfs

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for Vfs

source§

impl Send for Vfs

source§

impl Sync for Vfs

Auto Trait Implementations§

§

impl Freeze for Vfs

§

impl RefUnwindSafe for Vfs

§

impl Unpin for Vfs

§

impl UnwindSafe for Vfs

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -153,122 +153,122 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType for T

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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

source§

impl<T, U> TryInto<U> for T
where @@ -287,6 +287,6 @@
§Returns
g_vfs_register_uri_scheme(). Read more

source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.Volume.html b/git/docs/gio/struct.Volume.html index 2c8588f1ebdb..1030999fd7b3 100644 --- a/git/docs/gio/struct.Volume.html +++ b/git/docs/gio/struct.Volume.html @@ -141,25 +141,25 @@

§Implements>= operator. Read more
source§

impl StaticType for Volume

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for Volume

Auto Trait Implementations§

§

impl Freeze for Volume

§

impl RefUnwindSafe for Volume

§

impl !Send for Volume

§

impl !Sync for Volume

§

impl Unpin for Volume

§

impl UnwindSafe for Volume

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -185,116 +185,116 @@

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

source§

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

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + T: Into<Value>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -344,6 +344,6 @@

§Implements

source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.VolumeMonitor.html b/git/docs/gio/struct.VolumeMonitor.html index 274c4adff76a..6ea325591d92 100644 --- a/git/docs/gio/struct.VolumeMonitor.html +++ b/git/docs/gio/struct.VolumeMonitor.html @@ -135,25 +135,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for VolumeMonitor

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for VolumeMonitor

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -184,116 +184,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -342,6 +342,6 @@
§Returns
) -> SignalHandlerId

Emitted when a mountable volume is removed from the system. Read more
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.WriteOutputStream.html b/git/docs/gio/struct.WriteOutputStream.html index fdf657a4334f..c5ee0b69d09c 100644 --- a/git/docs/gio/struct.WriteOutputStream.html +++ b/git/docs/gio/struct.WriteOutputStream.html @@ -96,25 +96,25 @@ the >= operator. Read more
source§

impl StaticType for WriteOutputStream

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for WriteOutputStream

source§

impl IsA<OutputStream> for WriteOutputStream

source§

impl IsA<Seekable> for WriteOutputStream

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T
where @@ -145,116 +145,116 @@ T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T, S> ObjectSubclassIsExt for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T, S> ObjectSubclassIsExt for T
where T: ObjectSubclassIs<Subclass = S>, S: ObjectSubclass<Type = T>,

source§

fn imp(&self) -> &<T as ObjectSubclassIs>::Subclass

Returns the implementation (the private Rust struct) of this class instance
source§

impl<O> OutputStreamExt for O
where O: IsA<OutputStream>,

source§

fn clear_pending(&self)

Clears the pending flag on @self.
source§

fn close( @@ -429,6 +429,6 @@ 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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.ZlibCompressor.html b/git/docs/gio/struct.ZlibCompressor.html index 8ac299f1f03c..32fba11f7ef9 100644 --- a/git/docs/gio/struct.ZlibCompressor.html +++ b/git/docs/gio/struct.ZlibCompressor.html @@ -135,25 +135,25 @@
§file_info the >= operator. Read more
source§

impl StaticType for ZlibCompressor

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for ZlibCompressor

source§

impl IsA<Converter> for ZlibCompressor

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> ConverterExt for O
where O: IsA<Converter>,

source§

fn convert_bytes(&self, bytes: &Bytes) -> Result<Bytes, Error>

Available on crate feature v2_82 only.
Applies @self to the data in @bytes. Read more
source§

fn reset(&self)

Resets all internal state in the converter, making it behave @@ -196,116 +196,116 @@
§file_info T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,
source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -317,6 +317,6 @@
§file_info 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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/gio/struct.ZlibDecompressor.html b/git/docs/gio/struct.ZlibDecompressor.html index 32d3947639cd..fc72705783ac 100644 --- a/git/docs/gio/struct.ZlibDecompressor.html +++ b/git/docs/gio/struct.ZlibDecompressor.html @@ -123,25 +123,25 @@
§Returns
the >= operator. Read more
source§

impl StaticType for ZlibDecompressor

source§

fn static_type() -> Type

Returns the type identifier of Self.
source§

impl Eq for ZlibDecompressor

source§

impl IsA<Converter> for ZlibDecompressor

Auto Trait Implementations§

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
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> Cast for T
where - T: ObjectType,

source§

fn upcast<T>(self) -> T
where + T: ?Sized,

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> Cast for T
where + T: ObjectType,

source§

fn upcast<T>(self) -> T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where + Self: IsA<T>,

Upcasts an object to a superclass or interface T. Read more
source§

fn upcast_ref<T>(&self) -> &T
where T: ObjectType, - Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where + Self: IsA<T>,

Upcasts an object to a reference of its superclass or interface T. Read more
source§

fn downcast<T>(self) -> Result<T, Self>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where + Self: MayDowncastTo<T>,

Tries to downcast to a subclass or interface implementor T. Read more
source§

fn downcast_ref<T>(&self) -> Option<&T>
where T: ObjectType, - Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where + Self: MayDowncastTo<T>,

Tries to downcast to a reference of its subclass or interface implementor T. Read more
source§

fn dynamic_cast<T>(self) -> Result<T, Self>
where T: ObjectType,

Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where +compile-time safety. Read more

source§

fn dynamic_cast_ref<T>(&self) -> Option<&T>
where T: ObjectType,

Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
source§

unsafe fn unsafe_cast<T>(self) -> T
where - T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

source§

unsafe fn unsafe_cast<T>(self) -> T
where + T: ObjectType,

Casts to T unconditionally. Read more
source§

unsafe fn unsafe_cast_ref<T>(&self) -> &T
where T: ObjectType,

Casts to &T unconditionally. Read more
source§

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

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

impl<O> ConverterExt for O
where O: IsA<Converter>,

source§

fn convert_bytes(&self, bytes: &Bytes) -> Result<Bytes, Error>

Available on crate feature v2_82 only.
Applies @self to the data in @bytes. Read more
source§

fn reset(&self)

Resets all internal state in the converter, making it behave @@ -184,116 +184,116 @@
§Returns
T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,
source§

fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

source§

impl<T> ObjectExt for T
where - T: ObjectType,

source§

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

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where - T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where - U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where - U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where - V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where - QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where - QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where - QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

source§

impl<T> ObjectExt for T
where + T: ObjectType,

source§

fn is<U>(&self) -> bool
where + U: StaticType,

Returns true if the object is an instance of (can be cast to) T.
source§

fn type_(&self) -> Type

Returns the type of the object.
source§

fn object_class(&self) -> &Class<Object>

Returns the ObjectClass of the object. Read more
source§

fn class(&self) -> &Class<T>
where + T: IsClass,

Returns the class of the object.
source§

fn class_of<U>(&self) -> Option<&Class<U>>
where + U: IsClass,

Returns the class of the object in the given type T. Read more
source§

fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
where + U: IsInterface,

Returns the interface T of the object. Read more
source§

fn set_property(&self, property_name: &str, value: impl Into<Value>)

Sets the property property_name of the object to value value. Read more
source§

fn set_property_from_value(&self, property_name: &str, value: &Value)

Sets the property property_name of the object to value value. Read more
source§

fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

Sets multiple properties of the object at once. Read more
source§

fn set_properties_from_value(&self, property_values: &[(&str, Value)])

Sets multiple properties of the object at once. Read more
source§

fn property<V>(&self, property_name: &str) -> V
where + V: for<'b> FromValue<'b> + 'static,

Gets the property property_name of the object and cast it to the type V. Read more
source§

fn property_value(&self, property_name: &str) -> Value

Gets the property property_name of the object. Read more
source§

fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

Check if the object has a property property_name of the given type_. Read more
source§

fn property_type(&self, property_name: &str) -> Option<Type>

Get the type of the property property_name of this object. Read more
source§

fn find_property(&self, property_name: &str) -> Option<ParamSpec>

Get the ParamSpec of the property property_name of this object.
source§

fn list_properties(&self) -> PtrSlice<ParamSpec>

Return all ParamSpec of the properties of this object.
source§

fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

Freeze all property notifications until the return guard object is dropped. Read more
source§

unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn set_data<QD>(&self, key: &str, value: QD)
where + QD: 'static,

Set arbitrary data on this object with the given key. Read more
source§

unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
where + QD: 'static,

Return previously set arbitrary data of this object with the given key. Read more
source§

unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
where + QD: 'static,

Retrieve previously set arbitrary data of this object with the given key. Read more
source§

fn block_signal(&self, handler_id: &SignalHandlerId)

Block a given signal handler. Read more
source§

fn unblock_signal(&self, handler_id: &SignalHandlerId)

Unblock a given signal handler.
source§

fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

Stop emission of the currently emitted signal.
source§

fn stop_signal_emission_by_name(&self, signal_name: &str)

Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§

fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

Connect to the signal signal_id on this object. Read more
source§

fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_name on this object. Read more
source§

fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

Connect to the signal signal_id on this object. Read more
source§

unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_name on this object. Read more
source§

unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
where - F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

Connect to the signal signal_id on this object. Read more
source§

fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( +) -> SignalHandlerId

Connect a closure to the signal signal_name on this object. Read more
source§

fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
Connect a closure to the signal signal_id on this object. Read more
source§

fn watch_closure(&self, closure: &impl AsRef<Closure>)

Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( +invoke when using Rust closures.

source§

fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

Emit signal by signal id. Read more
source§

fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

Same as Self::emit but takes Value for the arguments.
source§

fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

Emit signal by its name. Read more
source§

fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( +) -> Option<Value>

Emit signal by its name. Read more
source§

fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by its name with details. Read more
source§

fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( +) -> Option<Value>

Emit signal by its name with details. Read more
source§

fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

Emit signal by signal id with details. Read more
source§

fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

Emit signal by signal id with details. Read more
source§

fn disconnect(&self, handler_id: SignalHandlerId)

Disconnect a previously connected signal handler.
source§

fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

Connect to the notify signal of the object. Read more
source§

fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
where + F: Fn(&T, &ParamSpec) + 'static,

Connect to the notify signal of the object. Read more
source§

unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
where - F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where - F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

Connect to the notify signal of the object. Read more
source§

fn notify(&self, property_name: &str)

Notify that the given property has changed its value. Read more
source§

fn notify_by_pspec(&self, pspec: &ParamSpec)

Notify that the given property has changed its value. Read more
source§

fn downgrade(&self) -> WeakRef<T>

Downgrade this object to a weak reference.
source§

fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + Send + 'static,

Add a callback to be notified when the Object is disposed.
source§

fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
where + F: FnOnce() + 'static,

Add a callback to be notified when the Object is disposed. Read more
source§

fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
where - O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where + O: ObjectType,

Bind property source_property on this object to the target_property on the target object. Read more
source§

fn ref_count(&self) -> u32

Returns the strong reference count of this object.
source§

unsafe fn run_dispose(&self)

Runs the dispose mechanism of the object. Read more
source§

impl<T> Property for T
where T: HasParamSpec,

source§

type Value = T

source§

impl<T> PropertyGet for T
where T: HasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where @@ -305,6 +305,6 @@
§Returns
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.
source§

impl<'a, T, C, E> FromValueOptional<'a> for T
where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where + E: Error + Send + 'static,

source§

impl<Super, Sub> MayDowncastTo<Sub> for Super
where Super: IsA<Super>, Sub: IsA<Super>,

\ No newline at end of file diff --git a/git/docs/glib/clone/trait.Downgrade.html b/git/docs/glib/clone/trait.Downgrade.html index d84497286296..5074ac5e7215 100644 --- a/git/docs/glib/clone/trait.Downgrade.html +++ b/git/docs/glib/clone/trait.Downgrade.html @@ -80,4 +80,4 @@ }
Expand description

Trait for generalizing downgrading a strong reference to a weak reference.

Required Associated Types§

source

type Weak: Upgrade

Weak reference type.

Required Methods§

source

fn downgrade(&self) -> Self::Weak

Downgrade to a weak reference.

-

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

source§

impl<T> Downgrade for Rc<T>

source§

type Weak = Weak<T>

source§

fn downgrade(&self) -> Self::Weak

source§

impl<T> Downgrade for Arc<T>

source§

type Weak = Weak<T>

source§

fn downgrade(&self) -> Self::Weak

source§

impl<T> Downgrade for PhantomData<T>

source§

type Weak = PhantomData<T>

source§

fn downgrade(&self) -> Self::Weak

source§

impl<T: Downgrade> Downgrade for &T

source§

type Weak = <T as Downgrade>::Weak

source§

fn downgrade(&self) -> Self::Weak

Implementors§

\ No newline at end of file +

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

source§

impl<T> Downgrade for Rc<T>

source§

type Weak = Weak<T>

source§

fn downgrade(&self) -> Self::Weak

source§

impl<T> Downgrade for Arc<T>

source§

type Weak = Weak<T>

source§

fn downgrade(&self) -> Self::Weak

source§

impl<T> Downgrade for PhantomData<T>

source§

type Weak = PhantomData<T>

source§

fn downgrade(&self) -> Self::Weak

source§

impl<T: Downgrade> Downgrade for &T

source§

type Weak = <T as Downgrade>::Weak

source§

fn downgrade(&self) -> Self::Weak

Implementors§

\ No newline at end of file diff --git a/git/docs/glib/closure/struct.Closure.html b/git/docs/glib/closure/struct.Closure.html index 1b21f224c9af..7e0e46254b30 100644 --- a/git/docs/glib/closure/struct.Closure.html +++ b/git/docs/glib/closure/struct.Closure.html @@ -171,8 +171,8 @@
§Safety
T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T> TransparentType for T

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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

source§

impl<T, U> TryInto<U> for T
where diff --git a/git/docs/glib/collections/strv/struct.StrV.html b/git/docs/glib/collections/strv/struct.StrV.html index eb8178571025..d103b2cda23b 100644 --- a/git/docs/glib/collections/strv/struct.StrV.html +++ b/git/docs/glib/collections/strv/struct.StrV.html @@ -1266,7 +1266,7 @@
§ExamplesASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

To lowercase the value in-place, use make_ascii_lowercase.

-

Trait Implementations§

source§

impl AsRef<[GStringPtr]> for StrV

source§

fn as_ref(&self) -> &[GStringPtr]

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<[GStringPtr]> for StrV

source§

fn borrow(&self) -> &[GStringPtr]

Immutably borrows from an owned value. Read more
source§

impl Clone for StrV

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for StrV

source§

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

Formats the value using the given formatter. Read more
source§

impl Default for StrV

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Deref for StrV

source§

type Target = [GStringPtr]

The resulting type after dereferencing.
source§

fn deref(&self) -> &[GStringPtr]

Dereferences the value.
source§

impl Drop for StrV

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl<'a> Extend<&'a str> for StrV

source§

fn extend<I: IntoIterator<Item = &'a str>>(&mut self, iter: I)

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
source§

impl Extend<GString> for StrV

source§

fn extend<I: IntoIterator<Item = GString>>(&mut self, iter: I)

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
source§

impl<'a> From<&'a [&'a GStr]> for StrV

source§

fn from(value: &'a [&'a GStr]) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a [&'a str]> for StrV

source§

fn from(value: &'a [&'a str]) -> Self

Converts to this type from the input type.
source§

impl<'a, const N: usize> From<[&'a GStr; N]> for StrV

source§

fn from(value: [&'a GStr; N]) -> Self

Converts to this type from the input type.
source§

impl<'a, const N: usize> From<[&'a str; N]> for StrV

source§

fn from(value: [&'a str; N]) -> Self

Converts to this type from the input type.
source§

impl<const N: usize> From<[GString; N]> for StrV

source§

fn from(value: [GString; N]) -> Self

Converts to this type from the input type.
source§

impl<const N: usize> From<[String; N]> for StrV

source§

fn from(value: [String; N]) -> Self

Converts to this type from the input type.
source§

impl From<StrV> for Value

source§

fn from(s: StrV) -> Self

Converts to this type from the input type.
source§

impl From<StrV> for Vec<GString>

source§

fn from(value: StrV) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Vec<&'a str>> for StrV

source§

fn from(value: Vec<&'a str>) -> Self

Converts to this type from the input type.
source§

impl From<Vec<GString>> for StrV

source§

fn from(value: Vec<GString>) -> Self

Converts to this type from the input type.
source§

impl From<Vec<String>> for StrV

source§

fn from(value: Vec<String>) -> Self

Converts to this type from the input type.
source§

impl FromGlibContainer<*mut i8, *const *mut i8> for StrV

source§

unsafe fn from_glib_none_num(ptr: *const *mut c_char, num: usize) -> Self

Transfer: none. Read more
source§

unsafe fn from_glib_container_num(_ptr: *const *mut c_char, _num: usize) -> Self

Transfer: container. Read more
source§

unsafe fn from_glib_full_num(_ptr: *const *mut c_char, _num: usize) -> Self

Transfer: full. Read more
source§

impl FromGlibContainer<*mut i8, *mut *mut i8> for StrV

source§

unsafe fn from_glib_none_num(ptr: *mut *mut c_char, num: usize) -> Self

Transfer: none. Read more
source§

unsafe fn from_glib_container_num(ptr: *mut *mut c_char, num: usize) -> Self

Transfer: container. Read more
source§

unsafe fn from_glib_full_num(ptr: *mut *mut c_char, num: usize) -> Self

Transfer: full. Read more
source§

impl FromGlibPtrContainer<*mut i8, *const *mut i8> for StrV

source§

unsafe fn from_glib_none(ptr: *const *mut c_char) -> Self

Transfer: none.
source§

unsafe fn from_glib_container(_ptr: *const *mut c_char) -> Self

Transfer: container.
source§

unsafe fn from_glib_full(_ptr: *const *mut c_char) -> Self

Transfer: full.
source§

impl FromGlibPtrContainer<*mut i8, *mut *mut i8> for StrV

source§

unsafe fn from_glib_none(ptr: *mut *mut c_char) -> Self

Transfer: none.
source§

unsafe fn from_glib_container(ptr: *mut *mut c_char) -> Self

Transfer: container.
source§

unsafe fn from_glib_full(ptr: *mut *mut c_char) -> Self

Transfer: full.
source§

impl FromIterator<GString> for StrV

source§

fn from_iter<I: IntoIterator<Item = GString>>(iter: I) -> Self

Creates a value from an iterator. Read more
source§

impl<'a> FromValue<'a> for StrV

source§

type Checker = GenericValueTypeChecker<StrV>

Value type checker.
source§

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

Get the contained value from a Value. Read more
source§

impl HasParamSpec for StrV

source§

type ParamSpec = ParamSpecBoxed

source§

type SetValue = StrV

Preferred value to be used as setter for the associated ParamSpec.
source§

type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, StrV>

source§

fn param_spec_builder() -> Self::BuilderFn

source§

impl Hash for StrV

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where +

Trait Implementations§

source§

impl AsRef<[GStringPtr]> for StrV

source§

fn as_ref(&self) -> &[GStringPtr]

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<[GStringPtr]> for StrV

source§

fn borrow(&self) -> &[GStringPtr]

Immutably borrows from an owned value. Read more
source§

impl Clone for StrV

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for StrV

source§

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

Formats the value using the given formatter. Read more
source§

impl Default for StrV

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Deref for StrV

source§

type Target = [GStringPtr]

The resulting type after dereferencing.
source§

fn deref(&self) -> &[GStringPtr]

Dereferences the value.
source§

impl Drop for StrV

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl<'a> Extend<&'a str> for StrV

source§

fn extend<I: IntoIterator<Item = &'a str>>(&mut self, iter: I)

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
source§

impl Extend<GString> for StrV

source§

fn extend<I: IntoIterator<Item = GString>>(&mut self, iter: I)

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
source§

impl<'a> From<&'a [&'a GStr]> for StrV

source§

fn from(value: &'a [&'a GStr]) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a [&'a str]> for StrV

source§

fn from(value: &'a [&'a str]) -> Self

Converts to this type from the input type.
source§

impl<'a, const N: usize> From<[&'a GStr; N]> for StrV

source§

fn from(value: [&'a GStr; N]) -> Self

Converts to this type from the input type.
source§

impl<'a, const N: usize> From<[&'a str; N]> for StrV

source§

fn from(value: [&'a str; N]) -> Self

Converts to this type from the input type.
source§

impl<const N: usize> From<[GString; N]> for StrV

source§

fn from(value: [GString; N]) -> Self

Converts to this type from the input type.
source§

impl<const N: usize> From<[String; N]> for StrV

source§

fn from(value: [String; N]) -> Self

Converts to this type from the input type.
source§

impl From<StrV> for Value

source§

fn from(s: StrV) -> Self

Converts to this type from the input type.
source§

impl From<StrV> for Vec<GString>

source§

fn from(value: StrV) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Vec<&'a str>> for StrV

source§

fn from(value: Vec<&'a str>) -> Self

Converts to this type from the input type.
source§

impl From<Vec<GString>> for StrV

source§

fn from(value: Vec<GString>) -> Self

Converts to this type from the input type.
source§

impl From<Vec<String>> for StrV

source§

fn from(value: Vec<String>) -> Self

Converts to this type from the input type.
source§

impl FromGlibContainer<*mut i8, *const *mut i8> for StrV

source§

unsafe fn from_glib_none_num(ptr: *const *mut c_char, num: usize) -> Self

Transfer: none. Read more
source§

unsafe fn from_glib_container_num(_ptr: *const *mut c_char, _num: usize) -> Self

Transfer: container. Read more
source§

unsafe fn from_glib_full_num(_ptr: *const *mut c_char, _num: usize) -> Self

Transfer: full. Read more
source§

impl FromGlibContainer<*mut i8, *mut *mut i8> for StrV

source§

unsafe fn from_glib_none_num(ptr: *mut *mut c_char, num: usize) -> Self

Transfer: none. Read more
source§

unsafe fn from_glib_container_num(ptr: *mut *mut c_char, num: usize) -> Self

Transfer: container. Read more
source§

unsafe fn from_glib_full_num(ptr: *mut *mut c_char, num: usize) -> Self

Transfer: full. Read more
source§

impl FromGlibPtrContainer<*mut i8, *const *mut i8> for StrV

source§

unsafe fn from_glib_none(ptr: *const *mut c_char) -> Self

Transfer: none.
source§

unsafe fn from_glib_container(_ptr: *const *mut c_char) -> Self

Transfer: container.
source§

unsafe fn from_glib_full(_ptr: *const *mut c_char) -> Self

Transfer: full.
source§

impl FromGlibPtrContainer<*mut i8, *mut *mut i8> for StrV

source§

unsafe fn from_glib_none(ptr: *mut *mut c_char) -> Self

Transfer: none.
source§

unsafe fn from_glib_container(ptr: *mut *mut c_char) -> Self

Transfer: container.
source§

unsafe fn from_glib_full(ptr: *mut *mut c_char) -> Self

Transfer: full.
source§

impl FromIterator<GString> for StrV

source§

fn from_iter<I: IntoIterator<Item = GString>>(iter: I) -> Self

Creates a value from an iterator. Read more
source§

impl<'a> FromValue<'a> for StrV

source§

type Checker = GenericValueTypeChecker<StrV>

Value type checker.
source§

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

Get the contained value from a Value. Read more
source§

impl HasParamSpec for StrV

source§

type ParamSpec = ParamSpecBoxed

source§

type SetValue = StrV

Preferred value to be used as setter for the associated ParamSpec.
source§

type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, StrV>

source§

fn param_spec_builder() -> Self::BuilderFn

source§

impl Hash for StrV

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoGlibPtr<*mut *mut i8> for StrV

source§

unsafe fn into_glib_ptr(self) -> *mut *mut c_char

Transfer: full.
source§

impl<'a> IntoIterator for &'a StrV

source§

type Item = &'a GStringPtr

The type of the elements being iterated over.
source§

type IntoIter = Iter<'a, GStringPtr>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl IntoIterator for StrV

source§

type Item = GString

The type of the elements being iterated over.
source§

type IntoIter = IntoIter

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl<'a> IntoStrV for &'a StrV

source§

fn run_with_strv<R, F: FnOnce(&[*mut c_char]) -> R>(self, f: F) -> R

Runs the given closure with a NULL-terminated array.
source§

impl IntoStrV for StrV

source§

fn run_with_strv<R, F: FnOnce(&[*mut c_char]) -> R>(self, f: F) -> R

Runs the given closure with a NULL-terminated array.
source§

impl Ord for StrV

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where @@ -1292,8 +1292,8 @@
§ExamplesHasParamSpec,

source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/glib/enum.ControlFlow.html b/git/docs/glib/enum.ControlFlow.html index 2f7a20a48b7a..2e7e63a4bdb4 100644 --- a/git/docs/glib/enum.ControlFlow.html +++ b/git/docs/glib/enum.ControlFlow.html @@ -94,7 +94,7 @@ From<T> for U chooses to do.

source§

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

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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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.
\ No newline at end of file diff --git a/git/docs/glib/enum.IConvError.html b/git/docs/glib/enum.IConvError.html index da6b4e77faed..65dfe75ed282 100644 --- a/git/docs/glib/enum.IConvError.html +++ b/git/docs/glib/enum.IConvError.html @@ -71,14 +71,14 @@ -
glib

Enum IConvError

source
pub enum IConvError {
+
glib

Enum IConvError

source
pub enum IConvError {
     Error(Error),
     WithOffset {
         source: Error,
         offset: usize,
     },
 }
Expand description

A wrapper for std::io::Error that can hold an offset into an input string.

-

Variants§

§

Error(Error)

§

WithOffset

Fields

§source: Error
§offset: usize

Trait Implementations§

source§

impl Debug for IConvError

source§

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

Formats the value using the given formatter. Read more
source§

impl Display for IConvError

source§

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

Formats the value using the given formatter. Read more
source§

impl Error for IConvError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
source§

impl From<Error> for IConvError

source§

fn from(err: Error) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +

Variants§

§

Error(Error)

§

WithOffset

Fields

§source: Error
§offset: usize

Trait Implementations§

source§

impl Debug for IConvError

source§

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

Formats the value using the given formatter. Read more
source§

impl Display for IConvError

source§

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

Formats the value using the given formatter. Read more
source§

impl Error for IConvError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
source§

impl From<Error> for IConvError

source§

fn from(err: Error) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

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
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> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/git/docs/glib/enum.NormalizeMode.html b/git/docs/glib/enum.NormalizeMode.html index 051389077d1a..6e9640a91681 100644 --- a/git/docs/glib/enum.NormalizeMode.html +++ b/git/docs/glib/enum.NormalizeMode.html @@ -116,8 +116,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/glib/enum.UnicodeBreakType.html b/git/docs/glib/enum.UnicodeBreakType.html index e2b4c1f8eccd..dc08ea209aa7 100644 --- a/git/docs/glib/enum.UnicodeBreakType.html +++ b/git/docs/glib/enum.UnicodeBreakType.html @@ -196,8 +196,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/glib/enum.UnicodeScript.html b/git/docs/glib/enum.UnicodeScript.html index 16ed2cfe2320..33239245cbb6 100644 --- a/git/docs/glib/enum.UnicodeScript.html +++ b/git/docs/glib/enum.UnicodeScript.html @@ -436,8 +436,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/glib/enum.UnicodeType.html b/git/docs/glib/enum.UnicodeType.html index 747405ff7849..ed19def232b2 100644 --- a/git/docs/glib/enum.UnicodeType.html +++ b/git/docs/glib/enum.UnicodeType.html @@ -159,8 +159,8 @@ T: HasParamSpec,
source§

type Value = T

source§

fn get<R, F>(&self, f: F) -> R
where F: Fn(&<T as PropertyGet>::Value) -> R,

source§

impl<T> StaticTypeExt for T
where T: StaticType,

source§

fn ensure_type()

Ensures that the type has been registered with the type system.
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> ToSendValue for T
where - T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
source§

impl<T, U> TryFrom<U> 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> ToSendValue for T
where + T: Send + ToValue + ?Sized,

source§

fn to_send_value(&self) -> SendValue

Returns a SendValue clone of self.
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> TryFromClosureReturnValue for T
where T: for<'a> FromValue<'a> + StaticType + 'static,

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.
\ No newline at end of file diff --git a/git/docs/glib/enums/index.html b/git/docs/glib/enums/index.html index e6f0c78a34dd..9bed5c2f45d8 100644 --- a/git/docs/glib/enums/index.html +++ b/git/docs/glib/enums/index.html @@ -71,10 +71,8 @@ -
glib

Module enums

source

Structs§

\ No newline at end of file diff --git a/git/docs/glib/fn.dngettext.html b/git/docs/glib/fn.dngettext.html index d03fccdc2a54..b5b6ed33c62d 100644 --- a/git/docs/glib/fn.dngettext.html +++ b/git/docs/glib/fn.dngettext.html @@ -1,4 +1,4 @@ -dngettext in glib - Rust +dngettext in glib - Rust -
glib

Function dngettext

source
pub fn dngettext(
+
glib

Function dngettext

source
pub fn dngettext(
     domain: Option<&str>,
     msgid: &str,
     msgid_plural: &str,
     n: c_ulong,
-) -> GString
Expand description

This function is a wrapper of dngettext() which does not translate -the message if the default domain as set with textdomain() has no -translations for the current locale.

-

See g_dgettext() for details of how this differs from dngettext() -proper.

-

§domain

-

the translation domain to use, or None to use -the domain set with textdomain()

-

§msgid

-

message to translate

-

§msgid_plural

-

plural form of the message

-

§n

-

the quantity for which translation is needed

-

§Returns

-

The translated string

-
\ No newline at end of file +) -> GString
\ No newline at end of file diff --git a/git/docs/glib/fn.dpgettext.html b/git/docs/glib/fn.dpgettext.html index c8eb3b5ef419..a15295036b74 100644 --- a/git/docs/glib/fn.dpgettext.html +++ b/git/docs/glib/fn.dpgettext.html @@ -1,4 +1,4 @@ -dpgettext in glib - Rust +dpgettext in glib - Rust -
glib

Function dpgettext

source
pub fn dpgettext(
+
glib

Function dpgettext

source
pub fn dpgettext(
     domain: Option<&str>,
     msgctxtid: &str,
     msgidoffset: usize,
-) -> GString
Expand description

This function is a variant of g_dgettext() which supports -a disambiguating message context. GNU gettext uses the -‘\004’ character to separate the message context and -message id in @msgctxtid. -If 0 is passed as @msgidoffset, this function will fall back to -trying to use the deprecated convention of using “|” as a separation -character.

-

This uses g_dgettext() internally. See that functions for differences -with dgettext() proper.

-

Applications should normally not use this function directly, -but use the C_() macro for translations with context.

-

§domain

-

the translation domain to use, or None to use -the domain set with textdomain()

-

§msgctxtid

-

a combined message context and message id, separated -by a \004 character

-

§msgidoffset

-

the offset of the message id in @msgctxid

-

§Returns

-

The translated string

-
\ No newline at end of file +) -> GString
\ No newline at end of file diff --git a/git/docs/glib/fn.dpgettext2.html b/git/docs/glib/fn.dpgettext2.html index a8a0dea304a9..ee2b69ed0af6 100644 --- a/git/docs/glib/fn.dpgettext2.html +++ b/git/docs/glib/fn.dpgettext2.html @@ -1,4 +1,4 @@ -dpgettext2 in glib - Rust +dpgettext2 in glib - Rust -
glib

Function dpgettext2

source
pub fn dpgettext2(domain: Option<&str>, context: &str, msgid: &str) -> GString
Expand description

This function is a variant of g_dgettext() which supports -a disambiguating message context. GNU gettext uses the -‘\004’ character to separate the message context and -message id in @msgctxtid.

-

This uses g_dgettext() internally. See that functions for differences -with dgettext() proper.

-

This function differs from C_() in that it is not a macro and -thus you may use non-string-literals as context and msgid arguments.

-

§domain

-

the translation domain to use, or None to use -the domain set with textdomain()

-

§context

-

the message context

-

§msgid

-

the message

-

§Returns

-

The translated string

-
\ No newline at end of file +
glib

Function dpgettext2

source
pub fn dpgettext2(domain: Option<&str>, context: &str, msgid: &str) -> GString
\ No newline at end of file diff --git a/git/docs/glib/fn.environ.html b/git/docs/glib/fn.environ.html index 8ca6657a2ce5..42cdd23c6ece 100644 --- a/git/docs/glib/fn.environ.html +++ b/git/docs/glib/fn.environ.html @@ -1,4 +1,4 @@ -environ in glib - Rust +environ in glib - Rust -
glib

Function environ

source
pub fn environ() -> Vec<OsString>
Expand description

Gets the list of environment variables for the current process.

-

The list is None terminated and each item in the list is of the -form ‘NAME=VALUE’.

-

This is equivalent to direct access to the ‘environ’ global variable, -except portable.

-

The return value is freshly allocated and it should be freed with -g_strfreev() when it is no longer needed.

-

§Returns

-
the list of environment variables
-
\ No newline at end of file +
glib

Function environ

source
pub fn environ() -> Vec<OsString>
\ No newline at end of file diff --git a/git/docs/glib/fn.file_get_contents.html b/git/docs/glib/fn.file_get_contents.html index 433a5c5f14d8..bd71b6760105 100644 --- a/git/docs/glib/fn.file_get_contents.html +++ b/git/docs/glib/fn.file_get_contents.html @@ -1,4 +1,4 @@ -file_get_contents in glib - Rust +file_get_contents in glib - Rust -
glib

Function file_get_contents

source
pub fn file_get_contents(filename: impl AsRef<Path>) -> Result<Slice<u8>, Error>
Expand description

Reads an entire file into allocated memory, with good error -checking.

-

If the call was successful, it returns true and sets @contents to the file -contents and @length to the length of the file contents in bytes. The string -stored in @contents will be nul-terminated, so for text files you can pass -None for the @length argument. If the call was not successful, it returns -false and sets @error. The error domain is G_FILE_ERROR. Possible error -codes are those in the #GFileError enumeration. In the error case, -@contents is set to None and @length is set to zero.

-

§filename

-

name of a file to read contents from, in the GLib file name encoding

-

§Returns

-

true on success, false if an error occurred

-

§contents

-

location to store an allocated string, use g_free() to free -the returned string

-
\ No newline at end of file +
glib

Function file_get_contents

source
pub fn file_get_contents(filename: impl AsRef<Path>) -> Result<Slice<u8>, Error>
\ No newline at end of file diff --git a/git/docs/glib/fn.file_open_tmp.html b/git/docs/glib/fn.file_open_tmp.html index b0a2fa8968af..ed765ad8dcd5 100644 --- a/git/docs/glib/fn.file_open_tmp.html +++ b/git/docs/glib/fn.file_open_tmp.html @@ -1,4 +1,4 @@ -file_open_tmp in glib - Rust +file_open_tmp in glib - Rust -
glib

Function file_open_tmp

source
pub fn file_open_tmp(
+
glib

Function file_open_tmp

source
pub fn file_open_tmp(
     tmpl: Option<impl AsRef<Path>>,
-) -> Result<(RawFd, PathBuf), Error>
Expand description

Opens a file for writing in the preferred directory for temporary -files (as returned by g_get_tmp_dir()).

-

@tmpl should be a string in the GLib file name encoding containing -a sequence of six ‘X’ characters, as the parameter to g_mkstemp(). -However, unlike these functions, the template should only be a -basename, no directory components are allowed. If template is -None, a default template is used.

-

Note that in contrast to g_mkstemp() (and mkstemp()) @tmpl is not -modified, and might thus be a read-only literal string.

-

Upon success, and if @name_used is non-None, the actual name used -is returned in @name_used. This string should be freed with g_free() -when not needed any longer. The returned name is in the GLib file -name encoding.

-

§tmpl

-

Template for file name, as in -g_mkstemp(), basename only, or None for a default template

-

§Returns

-

A file handle (as from open()) to the file opened for -reading and writing. The file is opened in binary mode on platforms -where there is a difference. The file handle should be closed with -close(). In case of errors, -1 is returned and @error will be set.

-

§name_used

-

location to store actual name used, -or None

-
\ No newline at end of file +) -> Result<(RawFd, PathBuf), Error>
\ No newline at end of file diff --git a/git/docs/glib/fn.file_set_contents.html b/git/docs/glib/fn.file_set_contents.html index bfce582444f8..cd5952a8cce6 100644 --- a/git/docs/glib/fn.file_set_contents.html +++ b/git/docs/glib/fn.file_set_contents.html @@ -1,4 +1,4 @@ -file_set_contents in glib - Rust +file_set_contents in glib - Rust -
glib

Function file_set_contents

source
pub fn file_set_contents(
+
glib

Function file_set_contents

source
pub fn file_set_contents(
     filename: impl AsRef<Path>,
     contents: &[u8],
-) -> Result<(), Error>
Expand description

Writes all of @contents to a file named @filename. This is a convenience -wrapper around calling g_file_set_contents_full() with flags set to -G_FILE_SET_CONTENTS_CONSISTENT | G_FILE_SET_CONTENTS_ONLY_EXISTING and -mode set to 0666.

-

§filename

-

name of a file to write @contents to, in the GLib file name -encoding

-

§contents

-

string to write to the file

-

§Returns

-

true on success, false if an error occurred

-
\ No newline at end of file +) -> Result<(), Error>
\ No newline at end of file diff --git a/git/docs/glib/fn.file_set_contents_full.html b/git/docs/glib/fn.file_set_contents_full.html index 06d84bb6b73d..cb7f68333ad0 100644 --- a/git/docs/glib/fn.file_set_contents_full.html +++ b/git/docs/glib/fn.file_set_contents_full.html @@ -1,4 +1,4 @@ -file_set_contents_full in glib - Rust +file_set_contents_full in glib - Rust -
glib

Function file_set_contents_full

source
pub fn file_set_contents_full(
+
glib

Function file_set_contents_full

source
pub fn file_set_contents_full(
     filename: impl AsRef<Path>,
     contents: &[u8],
     flags: FileSetContentsFlags,
     mode: i32,
-) -> Result<(), Error>
Available on crate feature v2_66 only.
Expand description

Writes all of @contents to a file named @filename, with good error checking. -If a file called @filename already exists it will be overwritten.

-

@flags control the properties of the write operation: whether it’s atomic, -and what the tradeoff is between returning quickly or being resilient to -system crashes.

-

As this function performs file I/O, it is recommended to not call it anywhere -where blocking would cause problems, such as in the main loop of a graphical -application. In particular, if @flags has any value other than -FileSetContentsFlags::NONE then this function may call fsync().

-

If FileSetContentsFlags::CONSISTENT is set in @flags, the operation is atomic -in the sense that it is first written to a temporary file which is then -renamed to the final name.

-

Notes:

-
    -
  • -

    On UNIX, if @filename already exists hard links to @filename will break. -Also since the file is recreated, existing permissions, access control -lists, metadata etc. may be lost. If @filename is a symbolic link, -the link itself will be replaced, not the linked file.

    -
  • -
  • -

    On UNIX, if @filename already exists and is non-empty, and if the system -supports it (via a journalling filesystem or equivalent), and if -FileSetContentsFlags::CONSISTENT is set in @flags, the fsync() call (or -equivalent) will be used to ensure atomic replacement: @filename -will contain either its old contents or @contents, even in the face of -system power loss, the disk being unsafely removed, etc.

    -
  • -
  • -

    On UNIX, if @filename does not already exist or is empty, there is a -possibility that system power loss etc. after calling this function will -leave @filename empty or full of NUL bytes, depending on the underlying -filesystem, unless FileSetContentsFlags::DURABLE and -FileSetContentsFlags::CONSISTENT are set in @flags.

    -
  • -
  • -

    On Windows renaming a file will not remove an existing file with the -new name, so on Windows there is a race condition between the existing -file being removed and the temporary file being renamed.

    -
  • -
  • -

    On Windows there is no way to remove a file that is open to some -process, or mapped into memory. Thus, this function will fail if -@filename already exists and is open.

    -
  • -
-

If the call was successful, it returns true. If the call was not successful, -it returns false and sets @error. The error domain is G_FILE_ERROR. -Possible error codes are those in the #GFileError enumeration.

-

Note that the name for the temporary file is constructed by appending up -to 7 characters to @filename.

-

If the file didn’t exist before and is created, it will be given the -permissions from @mode. Otherwise, the permissions of the existing file may -be changed to @mode depending on @flags, or they may remain unchanged.

-

§filename

-

name of a file to write @contents to, in the GLib file name -encoding

-

§contents

-

string to write to the file

-

§flags

-

flags controlling the safety vs speed of the operation

-

§mode

-

file mode, as passed to open(); typically this will be 0666

-

§Returns

-

true on success, false if an error occurred

-
\ No newline at end of file +) -> Result<(), Error>
Available on crate feature v2_66 only.
\ No newline at end of file diff --git a/git/docs/glib/fn.filename_charsets.html b/git/docs/glib/fn.filename_charsets.html index 5963899fb3a9..dc68acc64372 100644 --- a/git/docs/glib/fn.filename_charsets.html +++ b/git/docs/glib/fn.filename_charsets.html @@ -1,4 +1,4 @@ -filename_charsets in glib - Rust +filename_charsets in glib - Rust -
glib

Function filename_charsets

source
pub fn filename_charsets() -> (bool, Vec<GString>)
Expand description

Determines the preferred character sets used for filenames. -The first character set from the @charsets is the filename encoding, the -subsequent character sets are used when trying to generate a displayable -representation of a filename, see g_filename_display_name().

-

On Unix, the character sets are determined by consulting the -environment variables G_FILENAME_ENCODING and G_BROKEN_FILENAMES. -On Windows, the character set used in the GLib API is always UTF-8 -and said environment variables have no effect.

-

G_FILENAME_ENCODING may be set to a comma-separated list of -character set names. The special token “@locale” is taken -to mean the character set for the [current locale][setlocale]. -If G_FILENAME_ENCODING is not set, but G_BROKEN_FILENAMES is, -the character set of the current locale is taken as the filename -encoding. If neither environment variable is set, UTF-8 is taken -as the filename encoding, but the character set of the current locale -is also put in the list of encodings.

-

The returned @charsets belong to GLib and must not be freed.

-

Note that on Unix, regardless of the locale character set or -G_FILENAME_ENCODING value, the actual file names present -on a system might be in any random encoding or just gibberish.

-

§Returns

-

true if the filename encoding is UTF-8.

-

§filename_charsets

-

return location for the None-terminated list of encoding names

-
\ No newline at end of file +
glib

Function filename_charsets

source
pub fn filename_charsets() -> (bool, Vec<GString>)
\ No newline at end of file diff --git a/git/docs/glib/fn.filename_display_basename.html b/git/docs/glib/fn.filename_display_basename.html index 1a917bd48f72..bf4a69b86872 100644 --- a/git/docs/glib/fn.filename_display_basename.html +++ b/git/docs/glib/fn.filename_display_basename.html @@ -1,4 +1,4 @@ -filename_display_basename in glib - Rust +filename_display_basename in glib - Rust -
glib

Function filename_display_basename

source
pub fn filename_display_basename(filename: impl AsRef<Path>) -> GString
Expand description

Returns the display basename for the particular filename, guaranteed -to be valid UTF-8. The display name might not be identical to the filename, -for instance there might be problems converting it to UTF-8, and some files -can be translated in the display.

-

If GLib cannot make sense of the encoding of @filename, as a last resort it -replaces unknown characters with U+FFFD, the Unicode replacement character. -You can search the result for the UTF-8 encoding of this character (which is -“\357\277\275” in octal notation) to find out if @filename was in an invalid -encoding.

-

You must pass the whole absolute pathname to this functions so that -translation of well known locations can be done.

-

This function is preferred over g_filename_display_name() if you know the -whole path, as it allows translation.

-

§filename

-

an absolute pathname in the -GLib file name encoding

-

§Returns

-

a newly allocated string containing -a rendition of the basename of the filename in valid UTF-8

-
\ No newline at end of file +
glib

Function filename_display_basename

source
pub fn filename_display_basename(filename: impl AsRef<Path>) -> GString
\ No newline at end of file diff --git a/git/docs/glib/fn.filename_display_name.html b/git/docs/glib/fn.filename_display_name.html index e103b141d180..d9a76dfdff4b 100644 --- a/git/docs/glib/fn.filename_display_name.html +++ b/git/docs/glib/fn.filename_display_name.html @@ -1,4 +1,4 @@ -filename_display_name in glib - Rust +filename_display_name in glib - Rust -
glib

Function filename_display_name

source
pub fn filename_display_name(filename: impl AsRef<Path>) -> GString
Expand description

Converts a filename into a valid UTF-8 string. The conversion is -not necessarily reversible, so you should keep the original around -and use the return value of this function only for display purposes. -Unlike g_filename_to_utf8(), the result is guaranteed to be non-None -even if the filename actually isn’t in the GLib file name encoding.

-

If GLib cannot make sense of the encoding of @filename, as a last resort it -replaces unknown characters with U+FFFD, the Unicode replacement character. -You can search the result for the UTF-8 encoding of this character (which is -“\357\277\275” in octal notation) to find out if @filename was in an invalid -encoding.

-

If you know the whole pathname of the file you should use -g_filename_display_basename(), since that allows location-based -translation of filenames.

-

§filename

-

a pathname hopefully in the -GLib file name encoding

-

§Returns

-

a newly allocated string containing -a rendition of the filename in valid UTF-8

-
\ No newline at end of file +
glib

Function filename_display_name

source
pub fn filename_display_name(filename: impl AsRef<Path>) -> GString
\ No newline at end of file diff --git a/git/docs/glib/fn.filename_from_uri.html b/git/docs/glib/fn.filename_from_uri.html index 5611bef79e07..c05a8afc7e2b 100644 --- a/git/docs/glib/fn.filename_from_uri.html +++ b/git/docs/glib/fn.filename_from_uri.html @@ -1,4 +1,4 @@ -filename_from_uri in glib - Rust +filename_from_uri in glib - Rust -
glib

Function filename_from_uri

source
pub fn filename_from_uri(uri: &str) -> Result<(PathBuf, Option<GString>), Error>
Expand description

Converts an escaped ASCII-encoded URI to a local filename in the -encoding used for filenames.

-

Since GLib 2.78, the query string and fragment can be present in the URI, -but are not part of the resulting filename. -We take inspiration from https://url.spec.whatwg.org/#file-state, -but we don’t support the entire standard.

-

§uri

-

a uri describing a filename (escaped, encoded in ASCII).

-

§Returns

-

a newly-allocated string holding -the resulting filename, or None on an error.

-

§hostname

-

Location to store hostname for the URI. -If there is no hostname in the URI, None will be -stored in this location.

-
\ No newline at end of file +
glib

Function filename_from_uri

source
pub fn filename_from_uri(uri: &str) -> Result<(PathBuf, Option<GString>), Error>
\ No newline at end of file diff --git a/git/docs/glib/fn.filename_from_utf8.html b/git/docs/glib/fn.filename_from_utf8.html index 8d3d6b05e765..f47aa0037a37 100644 --- a/git/docs/glib/fn.filename_from_utf8.html +++ b/git/docs/glib/fn.filename_from_utf8.html @@ -1,4 +1,4 @@ -filename_from_utf8 in glib - Rust +filename_from_utf8 in glib - Rust -
glib

Function filename_from_utf8

source
pub fn filename_from_utf8(
+
glib

Function filename_from_utf8

source
pub fn filename_from_utf8(
     utf8string: impl IntoGStr,
-) -> Result<(PathBuf, usize), CvtError>
Expand description

Converts a string from UTF-8 to the encoding GLib uses for -filenames. Note that on Windows GLib uses UTF-8 for filenames; -on other platforms, this function indirectly depends on the -[current locale][setlocale].

-

The input string shall not contain nul characters even if the @len -argument is positive. A nul character found inside the string will result -in error ConvertError::IllegalSequence. If the filename encoding is -not UTF-8 and the conversion output contains a nul character, the error -ConvertError::EmbeddedNul is set and the function returns None.

-

§utf8string

-

a UTF-8 encoded string.

-

§len

-

the length of the string, or -1 if the string is -nul-terminated.

-

§Returns

-
          The converted string, or [`None`] on an error.
-

§bytes_read

-

location to store the number of bytes in -the input string that were successfully converted, or None. -Even if the conversion was successful, this may be -less than @len if there were partial characters -at the end of the input. If the error -ConvertError::IllegalSequence occurs, the value -stored will be the byte offset after the last valid -input sequence.

-

§bytes_written

-

the number of bytes stored in -the output buffer (not including the terminating nul).

-
\ No newline at end of file +) -> Result<(PathBuf, usize), CvtError>
\ No newline at end of file diff --git a/git/docs/glib/fn.filename_to_uri.html b/git/docs/glib/fn.filename_to_uri.html index 709ad8c36fd1..59ac760aca1a 100644 --- a/git/docs/glib/fn.filename_to_uri.html +++ b/git/docs/glib/fn.filename_to_uri.html @@ -1,4 +1,4 @@ -filename_to_uri in glib - Rust +filename_to_uri in glib - Rust -
glib

Function filename_to_uri

source
pub fn filename_to_uri(
+
glib

Function filename_to_uri

source
pub fn filename_to_uri(
     filename: impl AsRef<Path>,
     hostname: Option<&str>,
-) -> Result<GString, Error>
Expand description

Converts an absolute filename to an escaped ASCII-encoded URI, with the path -component following Section 3.3. of RFC 2396.

-

§filename

-

an absolute filename specified in the GLib file -name encoding, which is the on-disk file name bytes on Unix, and UTF-8 -on Windows

-

§hostname

-

A UTF-8 encoded hostname, or None for none.

-

§Returns

-

a newly-allocated string holding the resulting -URI, or None on an error.

-
\ No newline at end of file +) -> Result<GString, Error>
\ No newline at end of file diff --git a/git/docs/glib/fn.filename_to_utf8.html b/git/docs/glib/fn.filename_to_utf8.html index 5fccadf1c61d..ca4994d3e375 100644 --- a/git/docs/glib/fn.filename_to_utf8.html +++ b/git/docs/glib/fn.filename_to_utf8.html @@ -1,4 +1,4 @@ -filename_to_utf8 in glib - Rust +filename_to_utf8 in glib - Rust -
glib

Function filename_to_utf8

source
pub fn filename_to_utf8(
+
glib

Function filename_to_utf8

source
pub fn filename_to_utf8(
     opsysstring: impl AsRef<Path>,
-) -> Result<(GString, usize), CvtError>
Expand description

Converts a string which is in the encoding used by GLib for -filenames into a UTF-8 string. Note that on Windows GLib uses UTF-8 -for filenames; on other platforms, this function indirectly depends on -the [current locale][setlocale].

-

The input string shall not contain nul characters even if the @len -argument is positive. A nul character found inside the string will result -in error ConvertError::IllegalSequence. -If the source encoding is not UTF-8 and the conversion output contains a -nul character, the error ConvertError::EmbeddedNul is set and the -function returns None. Use g_convert() to produce output that -may contain embedded nul characters.

-

§opsysstring

-

a string in the encoding for filenames

-

§len

-

the length of the string, or -1 if the string is -nul-terminated (Note that some encodings may allow nul -bytes to occur inside strings. In that case, using -1 -for the @len parameter is unsafe)

-

§Returns

-

The converted string, or None on an error.

-

§bytes_read

-

location to store the number of bytes in the -input string that were successfully converted, or None. -Even if the conversion was successful, this may be -less than @len if there were partial characters -at the end of the input. If the error -ConvertError::IllegalSequence occurs, the value -stored will be the byte offset after the last valid -input sequence.

-

§bytes_written

-

the number of bytes stored in the output -buffer (not including the terminating nul).

-
\ No newline at end of file +) -> Result<(GString, usize), CvtError>
\ No newline at end of file diff --git a/git/docs/glib/fn.find_program_in_path.html b/git/docs/glib/fn.find_program_in_path.html index 41baa69d065b..4879152f118f 100644 --- a/git/docs/glib/fn.find_program_in_path.html +++ b/git/docs/glib/fn.find_program_in_path.html @@ -1,4 +1,4 @@ -find_program_in_path in glib - Rust +find_program_in_path in glib - Rust -
glib

Function find_program_in_path

source
pub fn find_program_in_path(program: impl AsRef<Path>) -> Option<PathBuf>
Expand description

Locates the first executable named @program in the user’s path, in the -same way that execvp() would locate it. Returns an allocated string -with the absolute path name, or None if the program is not found in -the path. If @program is already an absolute path, returns a copy of -@program if @program exists and is executable, and None otherwise.

-

On Windows, if @program does not have a file type suffix, tries -with the suffixes .exe, .cmd, .bat and .com, and the suffixes in -the PATHEXT environment variable.

-

On Windows, it looks for the file in the same way as CreateProcess() -would. This means first in the directory where the executing -program was loaded from, then in the current directory, then in the -Windows 32-bit system directory, then in the Windows directory, and -finally in the directories in the PATH environment variable. If -the program is found, the return value contains the full name -including the type suffix.

-

§program

-

a program name in the GLib file name encoding

-

§Returns

-

a newly-allocated -string with the absolute path, or None

-
\ No newline at end of file +
glib

Function find_program_in_path

source
pub fn find_program_in_path(program: impl AsRef<Path>) -> Option<PathBuf>
\ No newline at end of file diff --git a/git/docs/glib/fn.format_size.html b/git/docs/glib/fn.format_size.html index b70dbe5db796..90a3a8f1e14f 100644 --- a/git/docs/glib/fn.format_size.html +++ b/git/docs/glib/fn.format_size.html @@ -1,4 +1,4 @@ -format_size in glib - Rust +format_size in glib - Rust -
glib

Function format_size

source
pub fn format_size(size: u64) -> GString
Expand description

Formats a size (for example the size of a file) into a human readable -string. Sizes are rounded to the nearest size prefix (kB, MB, GB) -and are displayed rounded to the nearest tenth. E.g. the file size -3292528 bytes will be converted into the string “3.2 MB”. The returned string -is UTF-8, and may use a non-breaking space to separate the number and units, -to ensure they aren’t separated when line wrapped.

-

The prefix units base is 1000 (i.e. 1 kB is 1000 bytes).

-

This string should be freed with g_free() when not needed any longer.

-

See g_format_size_full() for more options about how the size might be -formatted.

-

§size

-

a size in bytes

-

§Returns

-

a newly-allocated formatted string containing -a human readable file size

-
\ No newline at end of file +
glib

Function format_size

source
pub fn format_size(size: u64) -> GString
\ No newline at end of file diff --git a/git/docs/glib/fn.format_size_full.html b/git/docs/glib/fn.format_size_full.html index 7d45b3eed3d3..afe02ef7f69d 100644 --- a/git/docs/glib/fn.format_size_full.html +++ b/git/docs/glib/fn.format_size_full.html @@ -1,4 +1,4 @@ -format_size_full in glib - Rust +format_size_full in glib - Rust -
glib

Function format_size_full

source
pub fn format_size_full(size: u64, flags: FormatSizeFlags) -> GString
Expand description

Formats a size.

-

This function is similar to g_format_size() but allows for flags -that modify the output. See #GFormatSizeFlags.

-

§size

-

a size in bytes

-

§flags

-

#GFormatSizeFlags to modify the output

-

§Returns

-

a newly-allocated formatted string -containing a human readable file size

-
\ No newline at end of file +
glib

Function format_size_full

source
pub fn format_size_full(size: u64, flags: FormatSizeFlags) -> GString
\ No newline at end of file diff --git a/git/docs/glib/fn.getenv.html b/git/docs/glib/fn.getenv.html index 72b267c36da8..06726409a265 100644 --- a/git/docs/glib/fn.getenv.html +++ b/git/docs/glib/fn.getenv.html @@ -1,4 +1,4 @@ -getenv in glib - Rust +getenv in glib - Rust -
glib

Function getenv

source
pub fn getenv(variable: impl AsRef<OsStr>) -> Option<OsString>
Expand description

Returns the value of an environment variable.

-

On UNIX, the name and value are byte strings which might or might not -be in some consistent character set and encoding. On Windows, they are -in UTF-8. -On Windows, in case the environment variable’s value contains -references to other environment variables, they are expanded.

-

§variable

-

the environment variable to get

-

§Returns

-

the value of the environment variable, or None if -the environment variable is not found. The returned string -may be overwritten by the next call to g_getenv(), g_setenv() -or g_unsetenv().

-
\ No newline at end of file +
glib

Function getenv

source
pub fn getenv(variable: impl AsRef<OsStr>) -> Option<OsString>
\ No newline at end of file diff --git a/git/docs/glib/fn.home_dir.html b/git/docs/glib/fn.home_dir.html index b95bf41a5c0c..32b5aa97a4ee 100644 --- a/git/docs/glib/fn.home_dir.html +++ b/git/docs/glib/fn.home_dir.html @@ -1,4 +1,4 @@ -home_dir in glib - Rust +home_dir in glib - Rust -
glib

Function home_dir

source
pub fn home_dir() -> PathBuf
Expand description

Gets the current user’s home directory.

-

As with most UNIX tools, this function will return the value of the -HOME environment variable if it is set to an existing absolute path -name, falling back to the passwd file in the case that it is unset.

-

If the path given in HOME is non-absolute, does not exist, or is -not a directory, the result is undefined.

-

Before version 2.36 this function would ignore the HOME environment -variable, taking the value from the passwd database instead. This was -changed to increase the compatibility of GLib with other programs (and -the XDG basedir specification) and to increase testability of programs -based on GLib (by making it easier to run them from test frameworks).

-

If your program has a strong requirement for either the new or the -old behaviour (and if you don’t wish to increase your GLib -dependency to ensure that the new behaviour is in effect) then you -should either directly check the HOME environment variable yourself -or unset it before calling any functions in GLib.

-

§Returns

-

the current user’s home directory

-
\ No newline at end of file +
glib

Function home_dir

source
pub fn home_dir() -> PathBuf
\ No newline at end of file diff --git a/git/docs/glib/fn.host_name.html b/git/docs/glib/fn.host_name.html index f32b90939bef..153ebd64b364 100644 --- a/git/docs/glib/fn.host_name.html +++ b/git/docs/glib/fn.host_name.html @@ -1,4 +1,4 @@ -host_name in glib - Rust +host_name in glib - Rust -
glib

Function host_name

source
pub fn host_name() -> GString
Expand description

Return a name for the machine.

-

The returned name is not necessarily a fully-qualified domain name, -or even present in DNS or some other name service at all. It need -not even be unique on your local network or site, but usually it -is. Callers should not rely on the return value having any specific -properties like uniqueness for security purposes. Even if the name -of the machine is changed while an application is running, the -return value from this function does not change. The returned -string is owned by GLib and should not be modified or freed. If no -name can be determined, a default fixed string “localhost” is -returned.

-

The encoding of the returned string is UTF-8.

-

§Returns

-

the host name of the machine.

-
\ No newline at end of file +
glib

Function host_name

source
pub fn host_name() -> GString
\ No newline at end of file diff --git a/git/docs/glib/fn.hostname_is_ascii_encoded.html b/git/docs/glib/fn.hostname_is_ascii_encoded.html index 59c9880c96ac..744a32b4b556 100644 --- a/git/docs/glib/fn.hostname_is_ascii_encoded.html +++ b/git/docs/glib/fn.hostname_is_ascii_encoded.html @@ -1,4 +1,4 @@ -hostname_is_ascii_encoded in glib - Rust +hostname_is_ascii_encoded in glib - Rust -
glib

Function hostname_is_ascii_encoded

source
pub fn hostname_is_ascii_encoded(hostname: &str) -> bool
Expand description

Tests if @hostname contains segments with an ASCII-compatible -encoding of an Internationalized Domain Name. If this returns -true, you should decode the hostname with g_hostname_to_unicode() -before displaying it to the user.

-

Note that a hostname might contain a mix of encoded and unencoded -segments, and so it is possible for g_hostname_is_non_ascii() and -g_hostname_is_ascii_encoded() to both return true for a name.

-

§hostname

-

a hostname

-

§Returns

-

true if @hostname contains any ASCII-encoded -segments.

-
\ No newline at end of file +
glib

Function hostname_is_ascii_encoded

source
pub fn hostname_is_ascii_encoded(hostname: &str) -> bool
\ No newline at end of file diff --git a/git/docs/glib/fn.hostname_is_ip_address.html b/git/docs/glib/fn.hostname_is_ip_address.html index fdbcc8521a2a..2e9c063e9987 100644 --- a/git/docs/glib/fn.hostname_is_ip_address.html +++ b/git/docs/glib/fn.hostname_is_ip_address.html @@ -1,4 +1,4 @@ -hostname_is_ip_address in glib - Rust +hostname_is_ip_address in glib - Rust -
glib

Function hostname_is_ip_address

source
pub fn hostname_is_ip_address(hostname: &str) -> bool
Expand description

Tests if @hostname is the string form of an IPv4 or IPv6 address. -(Eg, “192.168.0.1”.)

-

Since 2.66, IPv6 addresses with a zone-id are accepted (RFC6874).

-

§hostname

-

a hostname (or IP address in string form)

-

§Returns

-

true if @hostname is an IP address

-
\ No newline at end of file +
glib

Function hostname_is_ip_address

source
pub fn hostname_is_ip_address(hostname: &str) -> bool
\ No newline at end of file diff --git a/git/docs/glib/fn.hostname_is_non_ascii.html b/git/docs/glib/fn.hostname_is_non_ascii.html index 0332e8dc999d..0aa14f99d800 100644 --- a/git/docs/glib/fn.hostname_is_non_ascii.html +++ b/git/docs/glib/fn.hostname_is_non_ascii.html @@ -1,4 +1,4 @@ -hostname_is_non_ascii in glib - Rust +hostname_is_non_ascii in glib - Rust -
glib

Function hostname_is_non_ascii

source
pub fn hostname_is_non_ascii(hostname: &str) -> bool
Expand description

Tests if @hostname contains Unicode characters. If this returns -true, you need to encode the hostname with g_hostname_to_ascii() -before using it in non-IDN-aware contexts.

-

Note that a hostname might contain a mix of encoded and unencoded -segments, and so it is possible for g_hostname_is_non_ascii() and -g_hostname_is_ascii_encoded() to both return true for a name.

-

§hostname

-

a hostname

-

§Returns

-

true if @hostname contains any non-ASCII characters

-
\ No newline at end of file +
glib

Function hostname_is_non_ascii

source
pub fn hostname_is_non_ascii(hostname: &str) -> bool
\ No newline at end of file diff --git a/git/docs/glib/fn.hostname_to_ascii.html b/git/docs/glib/fn.hostname_to_ascii.html index 2aad37686893..f30cba38217e 100644 --- a/git/docs/glib/fn.hostname_to_ascii.html +++ b/git/docs/glib/fn.hostname_to_ascii.html @@ -1,4 +1,4 @@ -hostname_to_ascii in glib - Rust +hostname_to_ascii in glib - Rust -
glib

Function hostname_to_ascii

source
pub fn hostname_to_ascii(hostname: &str) -> Option<GString>
Expand description

Converts @hostname to its canonical ASCII form; an ASCII-only -string containing no uppercase letters and not ending with a -trailing dot.

-

§hostname

-

a valid UTF-8 or ASCII hostname

-

§Returns

-

an ASCII hostname, which must be freed, -or None if @hostname is in some way invalid.

-
\ No newline at end of file +
glib

Function hostname_to_ascii

source
pub fn hostname_to_ascii(hostname: &str) -> Option<GString>
\ No newline at end of file diff --git a/git/docs/glib/fn.hostname_to_unicode.html b/git/docs/glib/fn.hostname_to_unicode.html index c2cf567a0d5d..86530e89fb5b 100644 --- a/git/docs/glib/fn.hostname_to_unicode.html +++ b/git/docs/glib/fn.hostname_to_unicode.html @@ -1,4 +1,4 @@ -hostname_to_unicode in glib - Rust +hostname_to_unicode in glib - Rust -
glib

Function hostname_to_unicode

source
pub fn hostname_to_unicode(hostname: &str) -> Option<GString>
Expand description

Converts @hostname to its canonical presentation form; a UTF-8 -string in Unicode normalization form C, containing no uppercase -letters, no forbidden characters, and no ASCII-encoded segments, -and not ending with a trailing dot.

-

Of course if @hostname is not an internationalized hostname, then -the canonical presentation form will be entirely ASCII.

-

§hostname

-

a valid UTF-8 or ASCII hostname

-

§Returns

-

a UTF-8 hostname, which must be freed, -or None if @hostname is in some way invalid.

-
\ No newline at end of file +
glib

Function hostname_to_unicode

source
pub fn hostname_to_unicode(hostname: &str) -> Option<GString>
\ No newline at end of file diff --git a/git/docs/glib/fn.is_canonical_pspec_name.html b/git/docs/glib/fn.is_canonical_pspec_name.html index c45096ad87ce..c89705eb2c1f 100644 --- a/git/docs/glib/fn.is_canonical_pspec_name.html +++ b/git/docs/glib/fn.is_canonical_pspec_name.html @@ -71,4 +71,4 @@ -
glib

Function is_canonical_pspec_name

source
pub fn is_canonical_pspec_name(name: &str) -> bool
\ No newline at end of file +
glib

Function is_canonical_pspec_name

source
pub fn is_canonical_pspec_name(name: &str) -> bool
\ No newline at end of file diff --git a/git/docs/glib/fn.language_names.html b/git/docs/glib/fn.language_names.html index 4ead70e5d8a5..5e66fe9d737e 100644 --- a/git/docs/glib/fn.language_names.html +++ b/git/docs/glib/fn.language_names.html @@ -1,4 +1,4 @@ -language_names in glib - Rust +language_names in glib - Rust -
glib

Function language_names

source
pub fn language_names() -> Vec<GString>
Expand description

Computes a list of applicable locale names, which can be used to -e.g. construct locale-dependent filenames or search paths. The returned -list is sorted from most desirable to least desirable and always contains -the default locale “C”.

-

For example, if LANGUAGE=de:en_US, then the returned list is -“de”, “en_US”, “en”, “C”.

-

This function consults the environment variables LANGUAGE, LC_ALL, -LC_MESSAGES and LANG to find the list of locales specified by the -user.

-

§Returns

-

a None-terminated array of strings owned by GLib -that must not be modified or freed.

-
\ No newline at end of file +
glib

Function language_names

source
pub fn language_names() -> Vec<GString>
\ No newline at end of file diff --git a/git/docs/glib/fn.language_names_with_category.html b/git/docs/glib/fn.language_names_with_category.html index 496a72bbe3cd..2f5d10a35d48 100644 --- a/git/docs/glib/fn.language_names_with_category.html +++ b/git/docs/glib/fn.language_names_with_category.html @@ -1,4 +1,4 @@ -language_names_with_category in glib - Rust +language_names_with_category in glib - Rust -
glib

Function language_names_with_category

source
pub fn language_names_with_category(category_name: &str) -> Vec<GString>
Available on crate feature v2_58 only.
Expand description

Computes a list of applicable locale names with a locale category name, -which can be used to construct the fallback locale-dependent filenames -or search paths. The returned list is sorted from most desirable to -least desirable and always contains the default locale “C”.

-

This function consults the environment variables LANGUAGE, LC_ALL, -@category_name, and LANG to find the list of locales specified by the -user.

-

g_get_language_names() returns g_get_language_names_with_category(“LC_MESSAGES”).

-

§category_name

-

a locale category name

-

§Returns

-

a None-terminated array of strings owned by -the thread g_get_language_names_with_category was called from. -It must not be modified or freed. It must be copied if planned to be used in another thread.

-
\ No newline at end of file +
glib

Function language_names_with_category

source
pub fn language_names_with_category(category_name: &str) -> Vec<GString>
Available on crate feature v2_58 only.
\ No newline at end of file diff --git a/git/docs/glib/fn.listenv.html b/git/docs/glib/fn.listenv.html index 5fafe301dd58..c146dcab172c 100644 --- a/git/docs/glib/fn.listenv.html +++ b/git/docs/glib/fn.listenv.html @@ -1,4 +1,4 @@ -listenv in glib - Rust +listenv in glib - Rust -
glib

Function listenv

source
pub fn listenv() -> Vec<OsString>
Expand description

Gets the names of all variables set in the environment.

-

Programs that want to be portable to Windows should typically use -this function and g_getenv() instead of using the environ array -from the C library directly. On Windows, the strings in the environ -array are in system codepage encoding, while in most of the typical -use cases for environment variables in GLib-using programs you want -the UTF-8 encoding that this function and g_getenv() provide.

-

§Returns

-
a [`None`]-terminated list of strings which must be freed with
-g_strfreev().
-
\ No newline at end of file +
glib

Function listenv

source
pub fn listenv() -> Vec<OsString>
\ No newline at end of file diff --git a/git/docs/glib/fn.locale_from_utf8.html b/git/docs/glib/fn.locale_from_utf8.html index e6b308cc55bc..fbe41c0931c3 100644 --- a/git/docs/glib/fn.locale_from_utf8.html +++ b/git/docs/glib/fn.locale_from_utf8.html @@ -1,4 +1,4 @@ -locale_from_utf8 in glib - Rust +locale_from_utf8 in glib - Rust -
glib

Function locale_from_utf8

source
pub fn locale_from_utf8(
+
glib

Function locale_from_utf8

source
pub fn locale_from_utf8(
     utf8string: impl IntoGStr,
-) -> Result<(Slice<u8>, usize), CvtError>
Expand description

Converts a string from UTF-8 to the encoding used for strings by -the C runtime (usually the same as that used by the operating -system) in the [current locale][setlocale]. On Windows this means -the system codepage.

-

The input string shall not contain nul characters even if the @len -argument is positive. A nul character found inside the string will result -in error ConvertError::IllegalSequence. Use g_convert() to convert -input that may contain embedded nul characters.

-

§utf8string

-

a UTF-8 encoded string

-

§len

-

the length of the string, or -1 if the string is -nul-terminated.

-

§Returns

-
     A newly-allocated buffer containing the converted string,
-     or [`None`] on an error, and error will be set.
-

§bytes_read

-

location to store the number of bytes in the -input string that were successfully converted, or None. -Even if the conversion was successful, this may be -less than @len if there were partial characters -at the end of the input. If the error -ConvertError::IllegalSequence occurs, the value -stored will be the byte offset after the last valid -input sequence.

-
\ No newline at end of file +) -> Result<(Slice<u8>, usize), CvtError>
\ No newline at end of file diff --git a/git/docs/glib/fn.locale_to_utf8.html b/git/docs/glib/fn.locale_to_utf8.html index 78890258f884..e913030dd1c9 100644 --- a/git/docs/glib/fn.locale_to_utf8.html +++ b/git/docs/glib/fn.locale_to_utf8.html @@ -1,4 +1,4 @@ -locale_to_utf8 in glib - Rust +locale_to_utf8 in glib - Rust -
glib

Function locale_to_utf8

source
pub fn locale_to_utf8(opsysstring: &[u8]) -> Result<(GString, usize), CvtError>
Expand description

Converts a string which is in the encoding used for strings by -the C runtime (usually the same as that used by the operating -system) in the [current locale][setlocale] into a UTF-8 string.

-

If the source encoding is not UTF-8 and the conversion output contains a -nul character, the error ConvertError::EmbeddedNul is set and the -function returns None. -If the source encoding is UTF-8, an embedded nul character is treated with -the ConvertError::IllegalSequence error for backward compatibility with -earlier versions of this library. Use g_convert() to produce output that -may contain embedded nul characters.

-

§opsysstring

-

a string in the -encoding of the current locale. On Windows -this means the system codepage.

-

§Returns

-

The converted string, or None on an error.

-

§bytes_read

-

location to store the number of bytes in the -input string that were successfully converted, or None. -Even if the conversion was successful, this may be -less than @len if there were partial characters -at the end of the input. If the error -ConvertError::IllegalSequence occurs, the value -stored will be the byte offset after the last valid -input sequence.

-

§bytes_written

-

the number of bytes stored in the output -buffer (not including the terminating nul).

-
\ No newline at end of file +
glib

Function locale_to_utf8

source
pub fn locale_to_utf8(opsysstring: &[u8]) -> Result<(GString, usize), CvtError>
\ No newline at end of file diff --git a/git/docs/glib/fn.locale_variants.html b/git/docs/glib/fn.locale_variants.html index 84ad77a045ac..5a9485a1ad98 100644 --- a/git/docs/glib/fn.locale_variants.html +++ b/git/docs/glib/fn.locale_variants.html @@ -1,4 +1,4 @@ -locale_variants in glib - Rust +locale_variants in glib - Rust -
glib

Function locale_variants

source
pub fn locale_variants(locale: &str) -> Vec<GString>
Expand description

Returns a list of derived variants of @locale, which can be used to -e.g. construct locale-dependent filenames or search paths. The returned -list is sorted from most desirable to least desirable. -This function handles territory, charset and extra locale modifiers. See -setlocale(3) for information about locales and their format.

-

@locale itself is guaranteed to be returned in the output.

-

For example, if @locale is fr_BE, then the returned list -is fr_BE, fr. If @locale is en_GB.UTF-8@euro, then the returned list -is en_GB.UTF-8@euro, en_GB.UTF-8, en_GB@euro, en_GB, en.UTF-8@euro, -en.UTF-8, en@euro, en.

-

If you need the list of variants for the current locale, -use g_get_language_names().

-

§locale

-

a locale identifier

-

§Returns

-

a newly -allocated array of newly allocated strings with the locale variants. Free with -g_strfreev().

-
\ No newline at end of file +
glib

Function locale_variants

source
pub fn locale_variants(locale: &str) -> Vec<GString>
\ No newline at end of file diff --git a/git/docs/glib/fn.main_current_source.html b/git/docs/glib/fn.main_current_source.html index f450039e3fd9..c6ff3cb9215f 100644 --- a/git/docs/glib/fn.main_current_source.html +++ b/git/docs/glib/fn.main_current_source.html @@ -1,4 +1,4 @@ -main_current_source in glib - Rust +main_current_source in glib - Rust -
glib

Function main_current_source

source
pub fn main_current_source() -> Option<Source>
Expand description

Returns the currently firing source for this thread.

-

§Returns

-

The currently firing source or None.

-
\ No newline at end of file +
glib

Function main_current_source

source
pub fn main_current_source() -> Option<Source>
\ No newline at end of file diff --git a/git/docs/glib/fn.main_depth.html b/git/docs/glib/fn.main_depth.html index e0ec2574d3c0..45f91dacc548 100644 --- a/git/docs/glib/fn.main_depth.html +++ b/git/docs/glib/fn.main_depth.html @@ -1,4 +1,4 @@ -main_depth in glib - Rust +main_depth in glib - Rust -
glib

Function main_depth

source
pub fn main_depth() -> i32
Expand description

Returns the depth of the stack of calls to -MainContext::dispatch() on any #GMainContext in the current thread. -That is, when called from the toplevel, it gives 0. When -called from within a callback from MainContext::iteration() -(or MainLoop::run(), etc.) it returns 1. When called from within -a callback to a recursive call to MainContext::iteration(), -it returns 2. And so forth.

-

This function is useful in a situation like the following: -Imagine an extremely simple “garbage collected” system.

-

⚠️ The following code is in C ⚠️

-
static GList *free_list;
-
-gpointer
-allocate_memory (gsize size)
-{
-  gpointer result = g_malloc (size);
-  free_list = g_list_prepend (free_list, result);
-  return result;
-}
-
-void
-free_allocated_memory (void)
-{
-  GList *l;
-  for (l = free_list; l; l = l->next);
-    g_free (l->data);
-  g_list_free (free_list);
-  free_list = NULL;
- }
-
-[...]
-
-while (TRUE);
- {
-   g_main_context_iteration (NULL, TRUE);
-   free_allocated_memory();
-  }
-

This works from an application, however, if you want to do the same -thing from a library, it gets more difficult, since you no longer -control the main loop. You might think you can simply use an idle -function to make the call to free_allocated_memory(), but that -doesn’t work, since the idle function could be called from a -recursive callback. This can be fixed by using main_depth()

-

⚠️ The following code is in C ⚠️

-
gpointer
-allocate_memory (gsize size)
-{
-  FreeListBlock *block = g_new (FreeListBlock, 1);
-  block->mem = g_malloc (size);
-  block->depth = g_main_depth ();
-  free_list = g_list_prepend (free_list, block);
-  return block->mem;
-}
-
-void
-free_allocated_memory (void)
-{
-  GList *l;
-
-  int depth = g_main_depth ();
-  for (l = free_list; l; );
-    {
-      GList *next = l->next;
-      FreeListBlock *block = l->data;
-      if (block->depth > depth)
-        {
-          g_free (block->mem);
-          g_free (block);
-          free_list = g_list_delete_link (free_list, l);
-        }
-
-      l = next;
-    }
-  }
-

There is a temptation to use main_depth() to solve -problems with reentrancy. For instance, while waiting for data -to be received from the network in response to a menu item, -the menu item might be selected again. It might seem that -one could make the menu item’s callback return immediately -and do nothing if main_depth() returns a value greater than 1. -However, this should be avoided since the user then sees selecting -the menu item do nothing. Furthermore, you’ll find yourself adding -these checks all over your code, since there are doubtless many, -many things that the user could do. Instead, you can use the -following techniques:

-
    -
  1. -

    Use gtk_widget_set_sensitive() or modal dialogs to prevent -the user from interacting with elements while the main -loop is recursing.

    -
  2. -
  3. -

    Avoid main loop recursion in situations where you can’t handle -arbitrary callbacks. Instead, structure your code so that you -simply return to the main loop and then get called again when -there is more work to do.

    -
  4. -
-

§Returns

-

The main loop recursion level in the current thread

-
\ No newline at end of file +
glib

Function main_depth

source
pub fn main_depth() -> i32
\ No newline at end of file diff --git a/git/docs/glib/fn.markup_escape_text.html b/git/docs/glib/fn.markup_escape_text.html index c2a18a89f1b1..4aa9123fb987 100644 --- a/git/docs/glib/fn.markup_escape_text.html +++ b/git/docs/glib/fn.markup_escape_text.html @@ -1,4 +1,4 @@ -markup_escape_text in glib - Rust +markup_escape_text in glib - Rust -
glib

Function markup_escape_text

source
pub fn markup_escape_text(text: &str) -> GString
Expand description

Escapes text so that the markup parser will parse it verbatim. -Less than, greater than, ampersand, etc. are replaced with the -corresponding entities. This function would typically be used -when writing out a file to be parsed with the markup parser.

-

Note that this function doesn’t protect whitespace and line endings -from being processed according to the XML rules for normalization -of line endings and attribute values.

-

Note also that this function will produce character references in -the range of  …  for all control sequences -except for tabstop, newline and carriage return. The character -references in this range are not valid XML 1.0, but they are -valid XML 1.1 and will be accepted by the GMarkup parser.

-

§text

-

some valid UTF-8 text

-

§length

-

length of @text in bytes, or -1 if the text is nul-terminated

-

§Returns

-

a newly allocated string with the escaped text

-
\ No newline at end of file +
glib

Function markup_escape_text

source
pub fn markup_escape_text(text: &str) -> GString
\ No newline at end of file diff --git a/git/docs/glib/fn.mkdir_with_parents.html b/git/docs/glib/fn.mkdir_with_parents.html index 88b2ee998efb..818a93ac2187 100644 --- a/git/docs/glib/fn.mkdir_with_parents.html +++ b/git/docs/glib/fn.mkdir_with_parents.html @@ -1,4 +1,4 @@ -mkdir_with_parents in glib - Rust +mkdir_with_parents in glib - Rust -
glib

Function mkdir_with_parents

source
pub fn mkdir_with_parents(pathname: impl AsRef<Path>, mode: i32) -> i32
Expand description

Create a directory if it doesn’t already exist. Create intermediate -parent directories as needed, too.

-

§pathname

-

a pathname in the GLib file name encoding

-

§mode

-

permissions to use for newly created directories

-

§Returns

-

0 if the directory already exists, or was successfully -created. Returns -1 if an error occurred, with errno set.

-
\ No newline at end of file +
glib

Function mkdir_with_parents

source
pub fn mkdir_with_parents(pathname: impl AsRef<Path>, mode: i32) -> i32
\ No newline at end of file diff --git a/git/docs/glib/fn.mkdtemp.html b/git/docs/glib/fn.mkdtemp.html index a0fbdf7acfee..910083f6fb3f 100644 --- a/git/docs/glib/fn.mkdtemp.html +++ b/git/docs/glib/fn.mkdtemp.html @@ -1,4 +1,4 @@ -mkdtemp in glib - Rust +mkdtemp in glib - Rust -
glib

Function mkdtemp

source
pub fn mkdtemp(tmpl: impl AsRef<Path>) -> Option<PathBuf>
Expand description

Creates a temporary directory. See the mkdtemp() documentation -on most UNIX-like systems.

-

The parameter is a string that should follow the rules for -mkdtemp() templates, i.e. contain the string “XXXXXX”. -g_mkdtemp() is slightly more flexible than mkdtemp() in that the -sequence does not have to occur at the very end of the template. -The X string will be modified to form the name of a directory that -didn’t exist. -The string should be in the GLib file name encoding. Most importantly, -on Windows it should be in UTF-8.

-

If you are going to be creating a temporary directory inside the -directory returned by g_get_tmp_dir(), you might want to use -g_dir_make_tmp() instead.

-

§tmpl

-

template directory name

-

§Returns

-

A pointer to @tmpl, which has been -modified to hold the directory name. In case of errors, None is -returned and errno will be set.

-
\ No newline at end of file +
glib

Function mkdtemp

source
pub fn mkdtemp(tmpl: impl AsRef<Path>) -> Option<PathBuf>
\ No newline at end of file diff --git a/git/docs/glib/fn.mkdtemp_full.html b/git/docs/glib/fn.mkdtemp_full.html index 0dd5e2348237..efcbfff0fef0 100644 --- a/git/docs/glib/fn.mkdtemp_full.html +++ b/git/docs/glib/fn.mkdtemp_full.html @@ -1,4 +1,4 @@ -mkdtemp_full in glib - Rust +mkdtemp_full in glib - Rust -
glib

Function mkdtemp_full

source
pub fn mkdtemp_full(tmpl: impl AsRef<Path>, mode: i32) -> Option<PathBuf>
Expand description

Creates a temporary directory. See the mkdtemp() documentation -on most UNIX-like systems.

-

The parameter is a string that should follow the rules for -mkdtemp() templates, i.e. contain the string “XXXXXX”. -g_mkdtemp_full() is slightly more flexible than mkdtemp() in that the -sequence does not have to occur at the very end of the template -and you can pass a @mode. The X string will be modified to form -the name of a directory that didn’t exist. The string should be -in the GLib file name encoding. Most importantly, on Windows it -should be in UTF-8.

-

If you are going to be creating a temporary directory inside the -directory returned by g_get_tmp_dir(), you might want to use -g_dir_make_tmp() instead.

-

§tmpl

-

template directory name

-

§mode

-

permissions to create the temporary directory with

-

§Returns

-

A pointer to @tmpl, which has been -modified to hold the directory name. In case of errors, None is -returned, and errno will be set.

-
\ No newline at end of file +
glib

Function mkdtemp_full

source
pub fn mkdtemp_full(tmpl: impl AsRef<Path>, mode: i32) -> Option<PathBuf>
\ No newline at end of file diff --git a/git/docs/glib/fn.mkstemp.html b/git/docs/glib/fn.mkstemp.html index 5f9a528b576a..a4702e8d70e5 100644 --- a/git/docs/glib/fn.mkstemp.html +++ b/git/docs/glib/fn.mkstemp.html @@ -1,4 +1,4 @@ -mkstemp in glib - Rust +mkstemp in glib - Rust -
glib

Function mkstemp

source
pub fn mkstemp<P: AsRef<Path>>(tmpl: P) -> i32
Expand description

Opens a temporary file. See the mkstemp() documentation -on most UNIX-like systems.

-

The parameter is a string that should follow the rules for -mkstemp() templates, i.e. contain the string “XXXXXX”. -g_mkstemp() is slightly more flexible than mkstemp() in that the -sequence does not have to occur at the very end of the template. -The X string will be modified to form the name of a file that -didn’t exist. The string should be in the GLib file name encoding. -Most importantly, on Windows it should be in UTF-8.

-

§tmpl

-

template filename

-

§Returns

-

A file handle (as from open()) to the file -opened for reading and writing. The file is opened in binary -mode on platforms where there is a difference. The file handle -should be closed with close(). In case of errors, -1 is -returned and errno will be set.

-
\ No newline at end of file +
glib

Function mkstemp

source
pub fn mkstemp<P: AsRef<Path>>(tmpl: P) -> i32
\ No newline at end of file diff --git a/git/docs/glib/fn.mkstemp_full.html b/git/docs/glib/fn.mkstemp_full.html index 22f4d5224d78..2807549eebc6 100644 --- a/git/docs/glib/fn.mkstemp_full.html +++ b/git/docs/glib/fn.mkstemp_full.html @@ -1,4 +1,4 @@ -mkstemp_full in glib - Rust +mkstemp_full in glib - Rust -
glib

Function mkstemp_full

source
pub fn mkstemp_full(tmpl: impl AsRef<Path>, flags: i32, mode: i32) -> i32
Expand description

Opens a temporary file. See the mkstemp() documentation -on most UNIX-like systems.

-

The parameter is a string that should follow the rules for -mkstemp() templates, i.e. contain the string “XXXXXX”. -g_mkstemp_full() is slightly more flexible than mkstemp() -in that the sequence does not have to occur at the very end of the -template and you can pass a @mode and additional @flags. The X -string will be modified to form the name of a file that didn’t exist. -The string should be in the GLib file name encoding. Most importantly, -on Windows it should be in UTF-8.

-

§tmpl

-

template filename

-

§flags

-

flags to pass to an open() call in addition to O_EXCL -and O_CREAT, which are passed automatically

-

§mode

-

permissions to create the temporary file with

-

§Returns

-

A file handle (as from open()) to the file -opened for reading and writing. The file handle should be -closed with close(). In case of errors, -1 is returned -and errno will be set.

-
\ No newline at end of file +
glib

Function mkstemp_full

source
pub fn mkstemp_full(tmpl: impl AsRef<Path>, flags: i32, mode: i32) -> i32
\ No newline at end of file diff --git a/git/docs/glib/fn.monotonic_time.html b/git/docs/glib/fn.monotonic_time.html index a51f9129942d..fcd5ce8d9232 100644 --- a/git/docs/glib/fn.monotonic_time.html +++ b/git/docs/glib/fn.monotonic_time.html @@ -1,4 +1,4 @@ -monotonic_time in glib - Rust +monotonic_time in glib - Rust -
glib

Function monotonic_time

source
pub fn monotonic_time() -> i64
Expand description

Queries the system monotonic time.

-

The monotonic clock will always increase and doesn’t suffer -discontinuities when the user (or NTP) changes the system time. It -may or may not continue to tick during times where the machine is -suspended.

-

We try to use the clock that corresponds as closely as possible to -the passage of time as measured by system calls such as poll() but it -may not always be possible to do this.

-

§Returns

-

the monotonic time, in microseconds

-
\ No newline at end of file +
glib

Function monotonic_time

source
pub fn monotonic_time() -> i64
\ No newline at end of file diff --git a/git/docs/glib/fn.normalize.html b/git/docs/glib/fn.normalize.html index e446454ed01e..95fd32fa2dac 100644 --- a/git/docs/glib/fn.normalize.html +++ b/git/docs/glib/fn.normalize.html @@ -71,4 +71,4 @@ -
glib

Function normalize

source
pub fn normalize(str: impl AsRef<str>, mode: NormalizeMode) -> GString
\ No newline at end of file +
glib

Function normalize

source
pub fn normalize(str: impl AsRef<str>, mode: NormalizeMode) -> GString
\ No newline at end of file diff --git a/git/docs/glib/fn.num_processors.html b/git/docs/glib/fn.num_processors.html index db2278bca153..0a52adc71476 100644 --- a/git/docs/glib/fn.num_processors.html +++ b/git/docs/glib/fn.num_processors.html @@ -1,4 +1,4 @@ -num_processors in glib - Rust +num_processors in glib - Rust -
glib

Function num_processors

source
pub fn num_processors() -> u32
Expand description

Determine the approximate number of threads that the system will -schedule simultaneously for this process. This is intended to be -used as a parameter to g_thread_pool_new() for CPU bound tasks and -similar cases.

-

§Returns

-

Number of schedulable threads, always greater than 0

-
\ No newline at end of file +
glib

Function num_processors

source
pub fn num_processors() -> u32
\ No newline at end of file diff --git a/git/docs/glib/fn.on_error_query.html b/git/docs/glib/fn.on_error_query.html index c67af7825740..c514f12ea3d6 100644 --- a/git/docs/glib/fn.on_error_query.html +++ b/git/docs/glib/fn.on_error_query.html @@ -1,4 +1,4 @@ -on_error_query in glib - Rust +on_error_query in glib - Rust -
glib

Function on_error_query

source
pub fn on_error_query(prg_name: &str)
Expand description

Prompts the user with -[E]xit, [H]alt, show [S]tack trace or [P]roceed. -This function is intended to be used for debugging use only. -The following example shows how it can be used together with -the g_log() functions.

-

⚠️ The following code is in C ⚠️

-
#include <glib.h>
-
-static void
-log_handler (const gchar   *log_domain,
-             GLogLevelFlags log_level,
-             const gchar   *message,
-             gpointer       user_data)
-{
-  g_log_default_handler (log_domain, log_level, message, user_data);
-
-  g_on_error_query (MY_PROGRAM_NAME);
-}
-
-int
-main (int argc, char *argv[])
-{
-  g_log_set_handler (MY_LOG_DOMAIN,
-                     G_LOG_LEVEL_WARNING |
-                     G_LOG_LEVEL_ERROR |
-                     G_LOG_LEVEL_CRITICAL,
-                     log_handler,
-                     NULL);
-  ...
-

If “[E]xit” is selected, the application terminates with a call -to _exit(0).

-

If “[S]tack” trace is selected, g_on_error_stack_trace() is called. -This invokes gdb, which attaches to the current process and shows -a stack trace. The prompt is then shown again.

-

If “[P]roceed” is selected, the function returns.

-

This function may cause different actions on non-UNIX platforms.

-

On Windows consider using the G_DEBUGGER environment -variable (see Running GLib Applications) and -calling g_on_error_stack_trace() instead.

-

§prg_name

-

the program name, needed by gdb for the “[S]tack trace” -option. If @prg_name is None, g_get_prgname() is called to get -the program name (which will work correctly if gdk_init() or -gtk_init() has been called)

-
\ No newline at end of file +
glib

Function on_error_query

source
pub fn on_error_query(prg_name: &str)
\ No newline at end of file diff --git a/git/docs/glib/fn.on_error_stack_trace.html b/git/docs/glib/fn.on_error_stack_trace.html index 0c262e6c216a..2b9fdfaec983 100644 --- a/git/docs/glib/fn.on_error_stack_trace.html +++ b/git/docs/glib/fn.on_error_stack_trace.html @@ -1,4 +1,4 @@ -on_error_stack_trace in glib - Rust +on_error_stack_trace in glib - Rust -
glib

Function on_error_stack_trace

source
pub fn on_error_stack_trace(prg_name: &str)
Expand description

Invokes gdb, which attaches to the current process and shows a -stack trace. Called by g_on_error_query() when the “[S]tack trace” -option is selected. You can get the current process’s program name -with g_get_prgname(), assuming that you have called gtk_init() or -gdk_init().

-

This function may cause different actions on non-UNIX platforms.

-

When running on Windows, this function is not called by -g_on_error_query(). If called directly, it will raise an -exception, which will crash the program. If the G_DEBUGGER environment -variable is set, a debugger will be invoked to attach and -handle that exception (see Running GLib Applications).

-

§prg_name

-

the program name, needed by gdb for the “[S]tack trace” -option

-
\ No newline at end of file +
glib

Function on_error_stack_trace

source
pub fn on_error_stack_trace(prg_name: &str)
\ No newline at end of file diff --git a/git/docs/glib/fn.os_info.html b/git/docs/glib/fn.os_info.html index 779c8ea4cca2..0dd3052b5b15 100644 --- a/git/docs/glib/fn.os_info.html +++ b/git/docs/glib/fn.os_info.html @@ -1,4 +1,4 @@ -os_info in glib - Rust +os_info in glib - Rust -
glib

Function os_info

source
pub fn os_info(key_name: &str) -> Option<GString>
Available on crate feature v2_64 only.
Expand description

Get information about the operating system.

-

On Linux this comes from the /etc/os-release file. On other systems, it may -come from a variety of sources. You can either use the standard key names -like G_OS_INFO_KEY_NAME or pass any UTF-8 string key name. For example, -/etc/os-release provides a number of other less commonly used values that may -be useful. No key is guaranteed to be provided, so the caller should always -check if the result is None.

-

§key_name

-

a key for the OS info being requested, for example G_OS_INFO_KEY_NAME.

-

§Returns

-

The associated value for the requested key or None if -this information is not provided.

-
\ No newline at end of file +
glib

Function os_info

source
pub fn os_info(key_name: &str) -> Option<GString>
Available on crate feature v2_64 only.
\ No newline at end of file diff --git a/git/docs/glib/fn.random_double.html b/git/docs/glib/fn.random_double.html index 32b036cf3532..6aef84430718 100644 --- a/git/docs/glib/fn.random_double.html +++ b/git/docs/glib/fn.random_double.html @@ -1,4 +1,4 @@ -random_double in glib - Rust +random_double in glib - Rust -
glib

Function random_double

source
pub fn random_double() -> f64
Expand description

Returns a random #gdouble equally distributed over the range [0..1).

-

§Returns

-

a random number

-
\ No newline at end of file +
glib

Function random_double

source
pub fn random_double() -> f64
\ No newline at end of file diff --git a/git/docs/glib/fn.random_double_range.html b/git/docs/glib/fn.random_double_range.html index 872079b26bb4..f92226902fa3 100644 --- a/git/docs/glib/fn.random_double_range.html +++ b/git/docs/glib/fn.random_double_range.html @@ -1,4 +1,4 @@ -random_double_range in glib - Rust +random_double_range in glib - Rust -
glib

Function random_double_range

source
pub fn random_double_range(begin: f64, end: f64) -> f64
Expand description

Returns a random #gdouble equally distributed over the range -[@begin..@end).

-

§begin

-

lower closed bound of the interval

-

§end

-

upper open bound of the interval

-

§Returns

-

a random number

-
\ No newline at end of file +
glib

Function random_double_range

source
pub fn random_double_range(begin: f64, end: f64) -> f64
\ No newline at end of file diff --git a/git/docs/glib/fn.random_int.html b/git/docs/glib/fn.random_int.html index ee5eeb8b6202..e4d604bee7af 100644 --- a/git/docs/glib/fn.random_int.html +++ b/git/docs/glib/fn.random_int.html @@ -1,4 +1,4 @@ -random_int in glib - Rust +random_int in glib - Rust -
glib

Function random_int

source
pub fn random_int() -> u32
Expand description

Return a random #guint32 equally distributed over the range -[0..2^32-1].

-

§Returns

-

a random number

-
\ No newline at end of file +
glib

Function random_int

source
pub fn random_int() -> u32
\ No newline at end of file diff --git a/git/docs/glib/fn.random_int_range.html b/git/docs/glib/fn.random_int_range.html index 4833b1c2f247..4594474074ac 100644 --- a/git/docs/glib/fn.random_int_range.html +++ b/git/docs/glib/fn.random_int_range.html @@ -1,4 +1,4 @@ -random_int_range in glib - Rust +random_int_range in glib - Rust -
glib

Function random_int_range

source
pub fn random_int_range(begin: i32, end: i32) -> i32
Expand description

Returns a random #gint32 equally distributed over the range -[@begin..@end-1].

-

§begin

-

lower closed bound of the interval

-

§end

-

upper open bound of the interval

-

§Returns

-

a random number

-
\ No newline at end of file +
glib

Function random_int_range

source
pub fn random_int_range(begin: i32, end: i32) -> i32
\ No newline at end of file diff --git a/git/docs/glib/fn.random_set_seed.html b/git/docs/glib/fn.random_set_seed.html index b812fc6634ca..899c81755ba8 100644 --- a/git/docs/glib/fn.random_set_seed.html +++ b/git/docs/glib/fn.random_set_seed.html @@ -1,4 +1,4 @@ -random_set_seed in glib - Rust +random_set_seed in glib - Rust -
glib

Function random_set_seed

source
pub fn random_set_seed(seed: u32)
Expand description

Sets the seed for the global random number generator, which is used -by the g_random_* functions, to @seed.

-

§seed

-

a value to reinitialize the global random number generator

-
\ No newline at end of file +
glib

Function random_set_seed

source
pub fn random_set_seed(seed: u32)
\ No newline at end of file diff --git a/git/docs/glib/fn.real_name.html b/git/docs/glib/fn.real_name.html index 0ee31f16c9e2..310cf4235ebc 100644 --- a/git/docs/glib/fn.real_name.html +++ b/git/docs/glib/fn.real_name.html @@ -1,4 +1,4 @@ -real_name in glib - Rust +real_name in glib - Rust -
glib

Function real_name

source
pub fn real_name() -> OsString
Expand description

Gets the real name of the user. This usually comes from the user’s -entry in the passwd file. The encoding of the returned string is -system-defined. (On Windows, it is, however, always UTF-8.) If the -real user name cannot be determined, the string “Unknown” is -returned.

-

§Returns

-

the user’s real name.

-
\ No newline at end of file +
glib

Function real_name

source
pub fn real_name() -> OsString
\ No newline at end of file diff --git a/git/docs/glib/fn.real_time.html b/git/docs/glib/fn.real_time.html index 22461bc7b01b..0e71e5458ae6 100644 --- a/git/docs/glib/fn.real_time.html +++ b/git/docs/glib/fn.real_time.html @@ -1,4 +1,4 @@ -real_time in glib - Rust +real_time in glib - Rust -
glib

Function real_time

source
pub fn real_time() -> i64
Expand description

Queries the system wall-clock time.

-

This call is functionally equivalent to get_current_time() except -that the return value is often more convenient than dealing with a -#GTimeVal.

-

You should only use this call if you are actually interested in the real -wall-clock time. monotonic_time() is probably more useful for -measuring intervals.

-

§Returns

-

the number of microseconds since January 1, 1970 UTC.

-
\ No newline at end of file +
glib

Function real_time

source
pub fn real_time() -> i64
\ No newline at end of file diff --git a/git/docs/glib/fn.reload_user_special_dirs_cache.html b/git/docs/glib/fn.reload_user_special_dirs_cache.html index 5851d46f0593..d18fd5387292 100644 --- a/git/docs/glib/fn.reload_user_special_dirs_cache.html +++ b/git/docs/glib/fn.reload_user_special_dirs_cache.html @@ -1,4 +1,4 @@ -reload_user_special_dirs_cache in glib - Rust +reload_user_special_dirs_cache in glib - Rust -
glib

Function reload_user_special_dirs_cache

source
pub fn reload_user_special_dirs_cache()
Expand description

Resets the cache used for g_get_user_special_dir(), so -that the latest on-disk version is used. Call this only -if you just changed the data on disk yourself.

-

Due to thread safety issues this may cause leaking of strings -that were previously returned from g_get_user_special_dir() -that can’t be freed. We ensure to only leak the data for -the directories that actually changed value though.

-
\ No newline at end of file +
glib

Function reload_user_special_dirs_cache

source
pub fn reload_user_special_dirs_cache()
\ No newline at end of file diff --git a/git/docs/glib/fn.set_application_name.html b/git/docs/glib/fn.set_application_name.html index e9e327c1a3ff..fe7f63c4699e 100644 --- a/git/docs/glib/fn.set_application_name.html +++ b/git/docs/glib/fn.set_application_name.html @@ -1,4 +1,4 @@ -set_application_name in glib - Rust +set_application_name in glib - Rust -
glib

Function set_application_name

source
pub fn set_application_name(application_name: &str)
Expand description

Sets a human-readable name for the application. This name should be -localized if possible, and is intended for display to the user. -Contrast with g_set_prgname(), which sets a non-localized name. -g_set_prgname() will be called automatically by gtk_init(), -but g_set_application_name() will not.

-

Note that for thread safety reasons, this function can only -be called once.

-

The application name will be used in contexts such as error messages, -or when displaying an application’s name in the task list.

-

§application_name

-

localized name of the application

-
\ No newline at end of file +
glib

Function set_application_name

source
pub fn set_application_name(application_name: &str)
\ No newline at end of file diff --git a/git/docs/glib/fn.setenv.html b/git/docs/glib/fn.setenv.html index 89d048860563..377994a5ece9 100644 --- a/git/docs/glib/fn.setenv.html +++ b/git/docs/glib/fn.setenv.html @@ -1,4 +1,4 @@ -setenv in glib - Rust +setenv in glib - Rust -
glib

Function setenv

source
pub fn setenv(
+
glib

Function setenv

source
pub fn setenv(
     variable: impl AsRef<OsStr>,
     value: impl AsRef<OsStr>,
     overwrite: bool,
-) -> Result<(), BoolError>
Expand description

Sets an environment variable. On UNIX, both the variable’s name and -value can be arbitrary byte strings, except that the variable’s name -cannot contain ‘=’. On Windows, they should be in UTF-8.

-

Note that on some systems, when variables are overwritten, the memory -used for the previous variables and its value isn’t reclaimed.

-

You should be mindful of the fact that environment variable handling -in UNIX is not thread-safe, and your program may crash if one thread -calls g_setenv() while another thread is calling getenv(). (And note -that many functions, such as gettext(), call getenv() internally.) -This function is only safe to use at the very start of your program, -before creating any other threads (or creating objects that create -worker threads of their own).

-

If you need to set up the environment for a child process, you can -use g_get_environ() to get an environment array, modify that with -g_environ_setenv() and g_environ_unsetenv(), and then pass that -array directly to execvpe(), g_spawn_async(), or the like.

-

§variable

-

the environment variable to set, must not -contain ‘=’.

-

§value

-

the value for to set the variable to.

-

§overwrite

-

whether to change the variable if it already exists.

-

§Returns

-

false if the environment variable couldn’t be set.

-
\ No newline at end of file +) -> Result<(), BoolError>
\ No newline at end of file diff --git a/git/docs/glib/fn.shell_parse_argv.html b/git/docs/glib/fn.shell_parse_argv.html index 50ed837f0631..22142da6e0ee 100644 --- a/git/docs/glib/fn.shell_parse_argv.html +++ b/git/docs/glib/fn.shell_parse_argv.html @@ -1,4 +1,4 @@ -shell_parse_argv in glib - Rust +shell_parse_argv in glib - Rust -
glib

Function shell_parse_argv

source
pub fn shell_parse_argv(
+
glib

Function shell_parse_argv

source
pub fn shell_parse_argv(
     command_line: impl AsRef<OsStr>,
-) -> Result<Vec<OsString>, Error>
Expand description

Parses a command line into an argument vector, in much the same way -the shell would, but without many of the expansions the shell would -perform (variable expansion, globs, operators, filename expansion, -etc. are not supported).

-

The results are defined to be the same as those you would get from -a UNIX98 /bin/sh, as long as the input contains none of the -unsupported shell expansions. If the input does contain such expansions, -they are passed through literally.

-

Possible errors are those from the G_SHELL_ERROR domain.

-

In particular, if @command_line is an empty string (or a string containing -only whitespace), G_SHELL_ERROR_EMPTY_STRING will be returned. It’s -guaranteed that @argvp will be a non-empty array if this function returns -successfully.

-

Free the returned vector with g_strfreev().

-

§command_line

-

command line to parse

-

§Returns

-

true on success, false if error set

-

§argvp

-

return location for array of args

-
\ No newline at end of file +) -> Result<Vec<OsString>, Error>
\ No newline at end of file diff --git a/git/docs/glib/fn.shell_quote.html b/git/docs/glib/fn.shell_quote.html index 6932db02cc21..c5dc2cdef2b8 100644 --- a/git/docs/glib/fn.shell_quote.html +++ b/git/docs/glib/fn.shell_quote.html @@ -1,4 +1,4 @@ -shell_quote in glib - Rust +shell_quote in glib - Rust -
glib

Function shell_quote

source
pub fn shell_quote(unquoted_string: impl AsRef<OsStr>) -> OsString
Expand description

Quotes a string so that the shell (/bin/sh) will interpret the -quoted string to mean @unquoted_string.

-

If you pass a filename to the shell, for example, you should first -quote it with this function.

-

The return value must be freed with g_free().

-

The quoting style used is undefined (single or double quotes may be -used).

-

§unquoted_string

-

a literal string

-

§Returns

-

quoted string

-
\ No newline at end of file +
glib

Function shell_quote

source
pub fn shell_quote(unquoted_string: impl AsRef<OsStr>) -> OsString
\ No newline at end of file diff --git a/git/docs/glib/fn.shell_unquote.html b/git/docs/glib/fn.shell_unquote.html index 587a37d48274..8332e4c2be21 100644 --- a/git/docs/glib/fn.shell_unquote.html +++ b/git/docs/glib/fn.shell_unquote.html @@ -1,4 +1,4 @@ -shell_unquote in glib - Rust +shell_unquote in glib - Rust -
glib

Function shell_unquote

source
pub fn shell_unquote(
+
glib

Function shell_unquote

source
pub fn shell_unquote(
     quoted_string: impl AsRef<OsStr>,
-) -> Result<OsString, Error>
Expand description

Unquotes a string as the shell (/bin/sh) would.

-

This function only handles quotes; if a string contains file globs, -arithmetic operators, variables, backticks, redirections, or other -special-to-the-shell features, the result will be different from the -result a real shell would produce (the variables, backticks, etc. -will be passed through literally instead of being expanded).

-

This function is guaranteed to succeed if applied to the result of -g_shell_quote(). If it fails, it returns None and sets the -error.

-

The @quoted_string need not actually contain quoted or escaped text; -g_shell_unquote() simply goes through the string and unquotes/unescapes -anything that the shell would. Both single and double quotes are -handled, as are escapes including escaped newlines.

-

The return value must be freed with g_free().

-

Possible errors are in the G_SHELL_ERROR domain.

-

Shell quoting rules are a bit strange. Single quotes preserve the -literal string exactly. escape sequences are not allowed; not even -\' - if you want a ' in the quoted text, you have to do something -like 'foo'\''bar'. Double quotes allow $, ⚠️ The following code is in , ", \, and ⚠️

-

```, ", \, and -newline to be escaped with backslash. Otherwise double quotes -preserve things literally.

-

§quoted_string

-

shell-quoted string

-

§Returns

-

an unquoted string

-
\ No newline at end of file +) -> Result<OsString, Error>
\ No newline at end of file diff --git a/git/docs/glib/fn.spaced_primes_closest.html b/git/docs/glib/fn.spaced_primes_closest.html index a145b79e302e..56903af71c1c 100644 --- a/git/docs/glib/fn.spaced_primes_closest.html +++ b/git/docs/glib/fn.spaced_primes_closest.html @@ -1,4 +1,4 @@ -spaced_primes_closest in glib - Rust +spaced_primes_closest in glib - Rust -
glib

Function spaced_primes_closest

source
pub fn spaced_primes_closest(num: u32) -> u32
Expand description

Gets the smallest prime number from a built-in array of primes which -is larger than @num. This is used within GLib to calculate the optimum -size of a #GHashTable.

-

The built-in array of primes ranges from 11 to 13845163 such that -each prime is approximately 1.5-2 times the previous prime.

-

§num

-

a #guint

-

§Returns

-

the smallest prime number from a built-in array of primes -which is larger than @num

-
\ No newline at end of file +
glib

Function spaced_primes_closest

source
pub fn spaced_primes_closest(num: u32) -> u32
\ No newline at end of file diff --git a/git/docs/glib/fn.spawn_async.html b/git/docs/glib/fn.spawn_async.html index 14a0d02710fd..6a5e5f9d2aad 100644 --- a/git/docs/glib/fn.spawn_async.html +++ b/git/docs/glib/fn.spawn_async.html @@ -1,4 +1,4 @@ -spawn_async in glib - Rust +spawn_async in glib - Rust -
glib

Function spawn_async

source
pub fn spawn_async(
+
glib

Function spawn_async

source
pub fn spawn_async(
     working_directory: Option<impl AsRef<Path>>,
     argv: &[&Path],
     envp: &[&Path],
     flags: SpawnFlags,
     child_setup: Option<Box<dyn FnOnce() + 'static>>,
-) -> Result<Pid, Error>
Expand description

Executes a child program asynchronously.

-

See g_spawn_async_with_pipes() for a full description; this function -simply calls the g_spawn_async_with_pipes() without any pipes.

-

You should call g_spawn_close_pid() on the returned child process -reference when you don’t need it any more.

-

If you are writing a GTK application, and the program you are spawning is a -graphical application too, then to ensure that the spawned program opens its -windows on the right screen, you may want to use #GdkAppLaunchContext, -#GAppLaunchContext, or set the DISPLAY environment variable.

-

Note that the returned @child_pid on Windows is a handle to the child -process and not its identifier. Process handles and process identifiers -are different concepts on Windows.

-

§working_directory

-

child’s current working -directory, or None to inherit parent’s

-

§argv

-
child's argument vector
-

§envp

-
child's environment, or [`None`] to inherit parent's
-

§flags

-

flags from #GSpawnFlags

-

§child_setup

-

function to run -in the child just before exec()

-

§Returns

-

true on success, false if error is set

-

§child_pid

-

return location for child process reference, or None

-
\ No newline at end of file +) -> Result<Pid, Error>
\ No newline at end of file diff --git a/git/docs/glib/fn.spawn_check_exit_status.html b/git/docs/glib/fn.spawn_check_exit_status.html index 0ff9ef507f1e..8a6e0907897f 100644 --- a/git/docs/glib/fn.spawn_check_exit_status.html +++ b/git/docs/glib/fn.spawn_check_exit_status.html @@ -1,4 +1,4 @@ -spawn_check_exit_status in glib - Rust +spawn_check_exit_status in glib - Rust -
glib

Function spawn_check_exit_status

source
pub fn spawn_check_exit_status(wait_status: i32) -> Result<(), Error>
👎Deprecated: Since 2.70
Expand description

An old name for g_spawn_check_wait_status(), deprecated because its -name is misleading.

-

Despite the name of the function, @wait_status must be the wait status -as returned by g_spawn_sync(), g_subprocess_get_status(), waitpid(), -etc. On Unix platforms, it is incorrect for it to be the exit status -as passed to exit() or returned by g_subprocess_get_exit_status() or -WEXITSTATUS().

-

§Deprecated since 2.70

-

Use g_spawn_check_wait_status() instead, and check whether your code is conflating wait and exit statuses.

-

§wait_status

-

A status as returned from g_spawn_sync()

-

§Returns

-

true if child exited successfully, false otherwise (and -@error will be set)

-
\ No newline at end of file +
glib

Function spawn_check_exit_status

source
pub fn spawn_check_exit_status(wait_status: i32) -> Result<(), Error>
👎Deprecated: Since 2.70
\ No newline at end of file diff --git a/git/docs/glib/fn.spawn_check_wait_status.html b/git/docs/glib/fn.spawn_check_wait_status.html index f89d34efa944..ef7526b4f46c 100644 --- a/git/docs/glib/fn.spawn_check_wait_status.html +++ b/git/docs/glib/fn.spawn_check_wait_status.html @@ -1,4 +1,4 @@ -spawn_check_wait_status in glib - Rust +spawn_check_wait_status in glib - Rust -
glib

Function spawn_check_wait_status

source
pub fn spawn_check_wait_status(wait_status: i32) -> Result<(), Error>
Available on crate feature v2_70 only.
Expand description

Set @error if @wait_status indicates the child exited abnormally -(e.g. with a nonzero exit code, or via a fatal signal).

-

The g_spawn_sync() and g_child_watch_add() family of APIs return the -status of subprocesses encoded in a platform-specific way. -On Unix, this is guaranteed to be in the same format waitpid() returns, -and on Windows it is guaranteed to be the result of GetExitCodeProcess().

-

Prior to the introduction of this function in GLib 2.34, interpreting -@wait_status required use of platform-specific APIs, which is problematic -for software using GLib as a cross-platform layer.

-

Additionally, many programs simply want to determine whether or not -the child exited successfully, and either propagate a #GError or -print a message to standard error. In that common case, this function -can be used. Note that the error message in @error will contain -human-readable information about the wait status.

-

The @domain and @code of @error have special semantics in the case -where the process has an “exit code”, as opposed to being killed by -a signal. On Unix, this happens if WIFEXITED() would be true of -@wait_status. On Windows, it is always the case.

-

The special semantics are that the actual exit code will be the -code set in @error, and the domain will be G_SPAWN_EXIT_ERROR. -This allows you to differentiate between different exit codes.

-

If the process was terminated by some means other than an exit -status (for example if it was killed by a signal), the domain will be -G_SPAWN_ERROR and the code will be G_SPAWN_ERROR_FAILED.

-

This function just offers convenience; you can of course also check -the available platform via a macro such as G_OS_UNIX, and use -WIFEXITED() and WEXITSTATUS() on @wait_status directly. Do not attempt -to scan or parse the error message string; it may be translated and/or -change in future versions of GLib.

-

Prior to version 2.70, g_spawn_check_exit_status() provides the same -functionality, although under a misleading name.

-

§wait_status

-

A platform-specific wait status as returned from g_spawn_sync()

-

§Returns

-

true if child exited successfully, false otherwise (and -@error will be set)

-
\ No newline at end of file +
glib

Function spawn_check_wait_status

source
pub fn spawn_check_wait_status(wait_status: i32) -> Result<(), Error>
Available on crate feature v2_70 only.
\ No newline at end of file diff --git a/git/docs/glib/fn.spawn_command_line_async.html b/git/docs/glib/fn.spawn_command_line_async.html index 64630207cfbe..5791c3416d4e 100644 --- a/git/docs/glib/fn.spawn_command_line_async.html +++ b/git/docs/glib/fn.spawn_command_line_async.html @@ -71,7 +71,7 @@ -
glib

Function spawn_command_line_async

source
pub fn spawn_command_line_async(
+
glib

Function spawn_command_line_async

source
pub fn spawn_command_line_async(
     command_line: impl AsRef<OsStr>,
 ) -> Result<(), Error>
Available on Unix only.
Expand description

A simple version of g_spawn_async() that parses a command line with g_shell_parse_argv() and passes it to g_spawn_async().

@@ -84,5 +84,17 @@

§command_line

a command line

§Returns

+

true on success, false if error is set +A simple version of g_spawn_async() that parses a command line with +g_shell_parse_argv() and passes it to g_spawn_async().

+

Runs a command line in the background. Unlike g_spawn_async(), the +SpawnFlags::SEARCH_PATH flag is enabled, other flags are not. Note +that SpawnFlags::SEARCH_PATH can have security implications, so +consider using g_spawn_async() directly if appropriate. Possible +errors are those from g_shell_parse_argv() and g_spawn_async().

+

The same concerns on Windows apply as for g_spawn_command_line_sync().

+

§command_line

+

a command line

+

§Returns

true on success, false if error is set

\ No newline at end of file diff --git a/git/docs/glib/fn.spawn_future.html b/git/docs/glib/fn.spawn_future.html index 774292acadf1..4fb01de71195 100644 --- a/git/docs/glib/fn.spawn_future.html +++ b/git/docs/glib/fn.spawn_future.html @@ -71,7 +71,7 @@ -
glib

Function spawn_future

source
pub fn spawn_future<R: Send + 'static, F: Future<Output = R> + Send + 'static>(
+
glib

Function spawn_future

source
pub fn spawn_future<R: Send + 'static, F: Future<Output = R> + Send + 'static>(
     f: F,
 ) -> JoinHandle<R> 
Expand description

Spawn a new infallible Future on the thread-default main context.

This can be called from any thread and will execute the future from the thread diff --git a/git/docs/glib/fn.spawn_future_local.html b/git/docs/glib/fn.spawn_future_local.html index 2a81ecfeff68..cedfb37e4986 100644 --- a/git/docs/glib/fn.spawn_future_local.html +++ b/git/docs/glib/fn.spawn_future_local.html @@ -71,7 +71,7 @@ -

glib

Function spawn_future_local

source
pub fn spawn_future_local<R: 'static, F: Future<Output = R> + 'static>(
+
glib

Function spawn_future_local

source
pub fn spawn_future_local<R: 'static, F: Future<Output = R> + 'static>(
     f: F,
 ) -> JoinHandle<R> 
Expand description

Spawn a new infallible Future on the thread-default main context.

The given Future does not have to be Send.

diff --git a/git/docs/glib/fn.system_config_dirs.html b/git/docs/glib/fn.system_config_dirs.html index 41278b8c74ca..c03a10cf5ba9 100644 --- a/git/docs/glib/fn.system_config_dirs.html +++ b/git/docs/glib/fn.system_config_dirs.html @@ -1,4 +1,4 @@ -system_config_dirs in glib - Rust +system_config_dirs in glib - Rust -
glib

Function system_config_dirs

source
pub fn system_config_dirs() -> Vec<PathBuf>
Expand description

Returns an ordered list of base directories in which to access -system-wide configuration information.

-

On UNIX platforms this is determined using the mechanisms described -in the -XDG Base Directory Specification. -In this case the list of directories retrieved will be XDG_CONFIG_DIRS.

-

On Windows it follows XDG Base Directory Specification if XDG_CONFIG_DIRS is defined. -If XDG_CONFIG_DIRS is undefined, the directory that contains application -data for all users is used instead. A typical path is -C:\Documents and Settings\All Users\Application Data. -This folder is used for application data -that is not user specific. For example, an application can store -a spell-check dictionary, a database of clip art, or a log file in the -FOLDERID_ProgramData folder. This information will not roam and is available -to anyone using the computer.

-

The return value is cached and modifying it at runtime is not supported, as -it’s not thread-safe to modify environment variables at runtime.

-

§Returns

-
a [`None`]-terminated array of strings owned by GLib that must not be
-modified or freed.
-
\ No newline at end of file +
glib

Function system_config_dirs

source
pub fn system_config_dirs() -> Vec<PathBuf>
\ No newline at end of file diff --git a/git/docs/glib/fn.system_data_dirs.html b/git/docs/glib/fn.system_data_dirs.html index 5c27fef7377b..02935e50c5cb 100644 --- a/git/docs/glib/fn.system_data_dirs.html +++ b/git/docs/glib/fn.system_data_dirs.html @@ -1,4 +1,4 @@ -system_data_dirs in glib - Rust +system_data_dirs in glib - Rust -
glib

Function system_data_dirs

source
pub fn system_data_dirs() -> Vec<PathBuf>
Expand description

Returns an ordered list of base directories in which to access -system-wide application data.

-

On UNIX platforms this is determined using the mechanisms described -in the -XDG Base Directory Specification -In this case the list of directories retrieved will be XDG_DATA_DIRS.

-

On Windows it follows XDG Base Directory Specification if XDG_DATA_DIRS is defined. -If XDG_DATA_DIRS is undefined, -the first elements in the list are the Application Data -and Documents folders for All Users. (These can be determined only -on Windows 2000 or later and are not present in the list on other -Windows versions.) See documentation for FOLDERID_ProgramData and -FOLDERID_PublicDocuments.

-

Then follows the “share” subfolder in the installation folder for -the package containing the DLL that calls this function, if it can -be determined.

-

Finally the list contains the “share” subfolder in the installation -folder for GLib, and in the installation folder for the package the -application’s .exe file belongs to.

-

The installation folders above are determined by looking up the -folder where the module (DLL or EXE) in question is located. If the -folder’s name is “bin”, its parent is used, otherwise the folder -itself.

-

Note that on Windows the returned list can vary depending on where -this function is called.

-

The return value is cached and modifying it at runtime is not supported, as -it’s not thread-safe to modify environment variables at runtime.

-

§Returns

-
a [`None`]-terminated array of strings owned by GLib that must not be
-modified or freed.
-
\ No newline at end of file +
glib

Function system_data_dirs

source
pub fn system_data_dirs() -> Vec<PathBuf>
\ No newline at end of file diff --git a/git/docs/glib/fn.tmp_dir.html b/git/docs/glib/fn.tmp_dir.html index 3ca4dab51b22..c062f4b1e27b 100644 --- a/git/docs/glib/fn.tmp_dir.html +++ b/git/docs/glib/fn.tmp_dir.html @@ -1,4 +1,4 @@ -tmp_dir in glib - Rust +tmp_dir in glib - Rust -
glib

Function tmp_dir

source
pub fn tmp_dir() -> PathBuf
Expand description

Gets the directory to use for temporary files.

-

On UNIX, this is taken from the TMPDIR environment variable. -If the variable is not set, P_tmpdir is -used, as defined by the system C library. Failing that, a -hard-coded default of “/tmp” is returned.

-

On Windows, the TEMP environment variable is used, with the -root directory of the Windows installation (eg: “C:") used -as a default.

-

The encoding of the returned string is system-defined. On Windows, -it is always UTF-8. The return value is never None or the empty -string.

-

§Returns

-

the directory to use for temporary files.

-
\ No newline at end of file +
glib

Function tmp_dir

source
pub fn tmp_dir() -> PathBuf
\ No newline at end of file diff --git a/git/docs/glib/fn.unix_open_pipe.html b/git/docs/glib/fn.unix_open_pipe.html index 4d001a0f6aff..7d179ffc8dfc 100644 --- a/git/docs/glib/fn.unix_open_pipe.html +++ b/git/docs/glib/fn.unix_open_pipe.html @@ -71,7 +71,7 @@ -
glib

Function unix_open_pipe

source
pub fn unix_open_pipe(flags: i32) -> Result<(RawFd, RawFd), Error>
Expand description

Similar to the UNIX pipe() call, but on modern systems like Linux +

glib

Function unix_open_pipe

source
pub fn unix_open_pipe(flags: i32) -> Result<(RawFd, RawFd), Error>
Expand description

Similar to the UNIX pipe() call, but on modern systems like Linux uses the pipe2() system call, which atomically creates a pipe with the configured flags.

As of GLib 2.78, the supported flags are O_CLOEXEC/FD_CLOEXEC (see below) @@ -91,5 +91,26 @@

§fds

§flags

Bitfield of file descriptor flags, as for fcntl()

§Returns

+

true on success, false if not (and errno will be set). +Similar to the UNIX pipe() call, but on modern systems like Linux +uses the pipe2() system call, which atomically creates a pipe with +the configured flags.

+

As of GLib 2.78, the supported flags are O_CLOEXEC/FD_CLOEXEC (see below) +and O_NONBLOCK. Prior to GLib 2.78, only FD_CLOEXEC was supported — if +you wanted to configure O_NONBLOCK then that had to be done separately with +fcntl().

+

Since GLib 2.80, the constants G_UNIX_PIPE_END_READ and +G_UNIX_PIPE_END_WRITE can be used as mnemonic indexes in @fds.

+

It is a programmer error to call this function with unsupported flags, and a +critical warning will be raised.

+

As of GLib 2.78, it is preferred to pass O_CLOEXEC in, rather than +FD_CLOEXEC, as that matches the underlying pipe() API more closely. Prior +to 2.78, only FD_CLOEXEC was supported. Support for FD_CLOEXEC may be +deprecated and removed in future.

+

§fds

+

Array of two integers

+

§flags

+

Bitfield of file descriptor flags, as for fcntl()

+

§Returns

true on success, false if not (and errno will be set).

\ No newline at end of file diff --git a/git/docs/glib/fn.unlink.html b/git/docs/glib/fn.unlink.html index 84a49a287388..45ea02b15fb6 100644 --- a/git/docs/glib/fn.unlink.html +++ b/git/docs/glib/fn.unlink.html @@ -71,7 +71,7 @@ -
glib

Function unlink

source
pub fn unlink(filename: impl AsRef<Path>) -> i32
Expand description

A wrapper for the POSIX unlink() function. The unlink() function +

glib

Function unlink

source
pub fn unlink(filename: impl AsRef<Path>) -> i32
Expand description

A wrapper for the POSIX unlink() function. The unlink() function deletes a name from the filesystem. If this was the last link to the file and no processes have it opened, the diskspace occupied by the file is freed.

@@ -83,5 +83,18 @@

§filename

§Returns

0 if the name was successfully deleted, -1 if an error +occurred +A wrapper for the POSIX unlink() function. The unlink() function +deletes a name from the filesystem. If this was the last link to the +file and no processes have it opened, the diskspace occupied by the +file is freed.

+

See your C library manual for more details about unlink(). Note +that on Windows, it is in general not possible to delete files that +are open to some process, or mapped into memory.

+

§filename

+

a pathname in the GLib file name encoding +(UTF-8 on Windows)

+

§Returns

+

0 if the name was successfully deleted, -1 if an error occurred

\ No newline at end of file diff --git a/git/docs/glib/fn.unsetenv.html b/git/docs/glib/fn.unsetenv.html index 7b57a151dd56..d4222d8cfaff 100644 --- a/git/docs/glib/fn.unsetenv.html +++ b/git/docs/glib/fn.unsetenv.html @@ -71,7 +71,7 @@ -
glib

Function unsetenv

source
pub fn unsetenv(variable: impl AsRef<OsStr>)
Expand description

Removes an environment variable from the environment.

+
glib

Function unsetenv

source
pub fn unsetenv(variable: impl AsRef<OsStr>)
Expand description

Removes an environment variable from the environment.

Note that on some systems, when variables are overwritten, the memory used for the previous variables and its value isn’t reclaimed.

You should be mindful of the fact that environment variable handling @@ -87,5 +87,22 @@ array directly to execvpe(), g_spawn_async(), or the like.

§variable

the environment variable to remove, must +not contain ‘=’ +Removes an environment variable from the environment.

+

Note that on some systems, when variables are overwritten, the +memory used for the previous variables and its value isn’t reclaimed.

+

You should be mindful of the fact that environment variable handling +in UNIX is not thread-safe, and your program may crash if one thread +calls g_unsetenv() while another thread is calling getenv(). (And note +that many functions, such as gettext(), call getenv() internally.) This +function is only safe to use at the very start of your program, before +creating any other threads (or creating objects that create worker +threads of their own).

+

If you need to set up the environment for a child process, you can +use g_get_environ() to get an environment array, modify that with +g_environ_setenv() and g_environ_unsetenv(), and then pass that +array directly to execvpe(), g_spawn_async(), or the like.

+

§variable

+

the environment variable to remove, must not contain ‘=’

\ No newline at end of file diff --git a/git/docs/glib/fn.uri_escape_string.html b/git/docs/glib/fn.uri_escape_string.html index de10c7f90f8d..4be1e6996259 100644 --- a/git/docs/glib/fn.uri_escape_string.html +++ b/git/docs/glib/fn.uri_escape_string.html @@ -71,7 +71,7 @@ -
glib

Function uri_escape_string

source
pub fn uri_escape_string(
+
glib

Function uri_escape_string

source
pub fn uri_escape_string(
     unescaped: impl IntoGStr,
     reserved_chars_allowed: Option<impl IntoGStr>,
     allow_utf8: bool,
diff --git a/git/docs/glib/fn.uri_parse_scheme.html b/git/docs/glib/fn.uri_parse_scheme.html
index 736f5ca46c85..dcd4ac301584 100644
--- a/git/docs/glib/fn.uri_parse_scheme.html
+++ b/git/docs/glib/fn.uri_parse_scheme.html
@@ -71,4 +71,4 @@
 
 
 
-
glib

Function uri_parse_scheme

source
pub fn uri_parse_scheme(uri: impl IntoGStr) -> Option<GString>
\ No newline at end of file +
glib

Function uri_parse_scheme

source
pub fn uri_parse_scheme(uri: impl IntoGStr) -> Option<GString>
\ No newline at end of file diff --git a/git/docs/glib/fn.uri_unescape_segment.html b/git/docs/glib/fn.uri_unescape_segment.html index 2b3032a24e30..7e6b77790502 100644 --- a/git/docs/glib/fn.uri_unescape_segment.html +++ b/git/docs/glib/fn.uri_unescape_segment.html @@ -71,7 +71,7 @@ -
glib

Function uri_unescape_segment

source
pub fn uri_unescape_segment(
+
glib

Function uri_unescape_segment

source
pub fn uri_unescape_segment(
     escaped_string: Option<impl IntoGStr>,
     escaped_string_end: Option<impl IntoGStr>,
     illegal_characters: Option<impl IntoGStr>,
diff --git a/git/docs/glib/fn.uri_unescape_string.html b/git/docs/glib/fn.uri_unescape_string.html
index 930f8c1187d3..2c4b7c2a3598 100644
--- a/git/docs/glib/fn.uri_unescape_string.html
+++ b/git/docs/glib/fn.uri_unescape_string.html
@@ -71,7 +71,7 @@
 
 
 
-
glib

Function uri_unescape_string

source
pub fn uri_unescape_string(
+
glib

Function uri_unescape_string

source
pub fn uri_unescape_string(
     escaped_string: impl IntoGStr,
     illegal_characters: Option<impl IntoGStr>,
 ) -> Option<GString>
\ No newline at end of file diff --git a/git/docs/glib/fn.user_cache_dir.html b/git/docs/glib/fn.user_cache_dir.html index 70b7857edf2c..60da7e4cd862 100644 --- a/git/docs/glib/fn.user_cache_dir.html +++ b/git/docs/glib/fn.user_cache_dir.html @@ -1,4 +1,4 @@ -user_cache_dir in glib - Rust +user_cache_dir in glib - Rust -
glib

Function user_cache_dir

source
pub fn user_cache_dir() -> PathBuf
Expand description

Returns a base directory in which to store non-essential, cached -data specific to particular user.

-

On UNIX platforms this is determined using the mechanisms described -in the -XDG Base Directory Specification. -In this case the directory retrieved will be XDG_CACHE_HOME.

-

On Windows it follows XDG Base Directory Specification if XDG_CACHE_HOME is defined. -If XDG_CACHE_HOME is undefined, the directory that serves as a common -repository for temporary Internet files is used instead. A typical path is -C:\Documents and Settings\username\Local Settings\Temporary Internet Files. -See the documentation for FOLDERID_InternetCache.

-

The return value is cached and modifying it at runtime is not supported, as -it’s not thread-safe to modify environment variables at runtime.

-

§Returns

-

a string owned by GLib that -must not be modified or freed.

-
\ No newline at end of file +
glib

Function user_cache_dir

source
pub fn user_cache_dir() -> PathBuf
\ No newline at end of file diff --git a/git/docs/glib/fn.user_config_dir.html b/git/docs/glib/fn.user_config_dir.html index cc12bc914e00..6dd1d78206f5 100644 --- a/git/docs/glib/fn.user_config_dir.html +++ b/git/docs/glib/fn.user_config_dir.html @@ -1,4 +1,4 @@ -user_config_dir in glib - Rust +user_config_dir in glib - Rust -
glib

Function user_config_dir

source
pub fn user_config_dir() -> PathBuf
Expand description

Returns a base directory in which to store user-specific application -configuration information such as user preferences and settings.

-

On UNIX platforms this is determined using the mechanisms described -in the -XDG Base Directory Specification. -In this case the directory retrieved will be XDG_CONFIG_HOME.

-

On Windows it follows XDG Base Directory Specification if XDG_CONFIG_HOME is defined. -If XDG_CONFIG_HOME is undefined, the folder to use for local (as opposed -to roaming) application data is used instead. See the -documentation for FOLDERID_LocalAppData. -Note that in this case on Windows it will be the same -as what g_get_user_data_dir() returns.

-

The return value is cached and modifying it at runtime is not supported, as -it’s not thread-safe to modify environment variables at runtime.

-

§Returns

-

a string owned by GLib that -must not be modified or freed.

-
\ No newline at end of file +
glib

Function user_config_dir

source
pub fn user_config_dir() -> PathBuf
\ No newline at end of file diff --git a/git/docs/glib/fn.user_data_dir.html b/git/docs/glib/fn.user_data_dir.html index fece3c4968e6..be048c3eefad 100644 --- a/git/docs/glib/fn.user_data_dir.html +++ b/git/docs/glib/fn.user_data_dir.html @@ -1,4 +1,4 @@ -user_data_dir in glib - Rust +user_data_dir in glib - Rust -
glib

Function user_data_dir

source
pub fn user_data_dir() -> PathBuf
Expand description

Returns a base directory in which to access application data such -as icons that is customized for a particular user.

-

On UNIX platforms this is determined using the mechanisms described -in the -XDG Base Directory Specification. -In this case the directory retrieved will be XDG_DATA_HOME.

-

On Windows it follows XDG Base Directory Specification if XDG_DATA_HOME -is defined. If XDG_DATA_HOME is undefined, the folder to use for local (as -opposed to roaming) application data is used instead. See the -documentation for FOLDERID_LocalAppData. -Note that in this case on Windows it will be the same -as what g_get_user_config_dir() returns.

-

The return value is cached and modifying it at runtime is not supported, as -it’s not thread-safe to modify environment variables at runtime.

-

§Returns

-

a string owned by GLib that must -not be modified or freed.

-
\ No newline at end of file +
glib

Function user_data_dir

source
pub fn user_data_dir() -> PathBuf
\ No newline at end of file diff --git a/git/docs/glib/fn.user_name.html b/git/docs/glib/fn.user_name.html index fe095986a509..3562851f4fdc 100644 --- a/git/docs/glib/fn.user_name.html +++ b/git/docs/glib/fn.user_name.html @@ -1,4 +1,4 @@ -user_name in glib - Rust +user_name in glib - Rust -
glib

Function user_name

source
pub fn user_name() -> OsString
Expand description

Gets the user name of the current user. The encoding of the returned -string is system-defined. On UNIX, it might be the preferred file name -encoding, or something else, and there is no guarantee that it is even -consistent on a machine. On Windows, it is always UTF-8.

-

§Returns

-

the user name of the current user.

-
\ No newline at end of file +
glib

Function user_name

source
pub fn user_name() -> OsString
\ No newline at end of file diff --git a/git/docs/glib/fn.user_runtime_dir.html b/git/docs/glib/fn.user_runtime_dir.html index 960983a707df..6464563d81fe 100644 --- a/git/docs/glib/fn.user_runtime_dir.html +++ b/git/docs/glib/fn.user_runtime_dir.html @@ -1,4 +1,4 @@ -user_runtime_dir in glib - Rust +user_runtime_dir in glib - Rust -
glib

Function user_runtime_dir

source
pub fn user_runtime_dir() -> PathBuf
Expand description

Returns a directory that is unique to the current user on the local -system.

-

This is determined using the mechanisms described -in the -XDG Base Directory Specification. -This is the directory -specified in the XDG_RUNTIME_DIR environment variable. -In the case that this variable is not set, we return the value of -g_get_user_cache_dir(), after verifying that it exists.

-

The return value is cached and modifying it at runtime is not supported, as -it’s not thread-safe to modify environment variables at runtime.

-

§Returns

-

a string owned by GLib that must not be -modified or freed.

-
\ No newline at end of file +
glib

Function user_runtime_dir

source
pub fn user_runtime_dir() -> PathBuf
\ No newline at end of file diff --git a/git/docs/glib/fn.user_special_dir.html b/git/docs/glib/fn.user_special_dir.html index 98cc876706bd..751092f4bc9f 100644 --- a/git/docs/glib/fn.user_special_dir.html +++ b/git/docs/glib/fn.user_special_dir.html @@ -1,4 +1,4 @@ -user_special_dir in glib - Rust +user_special_dir in glib - Rust -
glib

Function user_special_dir

source
pub fn user_special_dir(directory: UserDirectory) -> Option<PathBuf>
Expand description

Returns the full path of a special directory using its logical id.

-

On UNIX this is done using the XDG special user directories. -For compatibility with existing practise, [UserDirectory::DirectoryDesktop][crate::UserDirectory::DirectoryDesktop] -falls back to $HOME/Desktop when XDG special user directories have -not been set up.

-

Depending on the platform, the user might be able to change the path -of the special directory without requiring the session to restart; GLib -will not reflect any change once the special directories are loaded.

-

§directory

-

the logical id of special directory

-

§Returns

-

the path to the specified special -directory, or None if the logical id was not found. The returned string is -owned by GLib and should not be modified or freed.

-
\ No newline at end of file +
glib

Function user_special_dir

source
pub fn user_special_dir(directory: UserDirectory) -> Option<PathBuf>
\ No newline at end of file diff --git a/git/docs/glib/fn.user_state_dir.html b/git/docs/glib/fn.user_state_dir.html index 3ab428bca36a..fc57fd1f4e72 100644 --- a/git/docs/glib/fn.user_state_dir.html +++ b/git/docs/glib/fn.user_state_dir.html @@ -1,4 +1,4 @@ -user_state_dir in glib - Rust +user_state_dir in glib - Rust -
glib

Function user_state_dir

source
pub fn user_state_dir() -> PathBuf
Available on crate feature v2_72 only.
Expand description

Returns a base directory in which to store state files specific to -particular user.

-

On UNIX platforms this is determined using the mechanisms described -in the -XDG Base Directory Specification. -In this case the directory retrieved will be XDG_STATE_HOME.

-

On Windows it follows XDG Base Directory Specification if XDG_STATE_HOME is defined. -If XDG_STATE_HOME is undefined, the folder to use for local (as opposed -to roaming) application data is used instead. See the -documentation for FOLDERID_LocalAppData. -Note that in this case on Windows it will be the same -as what g_get_user_data_dir() returns.

-

The return value is cached and modifying it at runtime is not supported, as -it’s not thread-safe to modify environment variables at runtime.

-

§Returns

-

a string owned by GLib that -must not be modified or freed.

-
\ No newline at end of file +
glib

Function user_state_dir

source
pub fn user_state_dir() -> PathBuf
Available on crate feature v2_72 only.
\ No newline at end of file diff --git a/git/docs/glib/fn.usleep.html b/git/docs/glib/fn.usleep.html index 4b8f9bd16ecd..512e6fd3c58e 100644 --- a/git/docs/glib/fn.usleep.html +++ b/git/docs/glib/fn.usleep.html @@ -71,11 +71,18 @@ -
glib

Function usleep

source
pub fn usleep(microseconds: c_ulong)
Expand description

Pauses the current thread for the given number of microseconds.

+
glib

Function usleep

source
pub fn usleep(microseconds: c_ulong)
Expand description

Pauses the current thread for the given number of microseconds.

There are 1 million microseconds per second (represented by the G_USEC_PER_SEC macro). g_usleep() may have limited precision, depending on hardware and operating system; don’t rely on the exact length of the sleep.

§microseconds

+

number of microseconds to pause +Pauses the current thread for the given number of microseconds.

+

There are 1 million microseconds per second (represented by the +G_USEC_PER_SEC macro). g_usleep() may have limited precision, +depending on hardware and operating system; don’t rely on the exact +length of the sleep.

+

§microseconds

number of microseconds to pause

\ No newline at end of file diff --git a/git/docs/glib/fn.utf32_to_utf8.html b/git/docs/glib/fn.utf32_to_utf8.html index 739c15d35f48..2e4c8f0855b3 100644 --- a/git/docs/glib/fn.utf32_to_utf8.html +++ b/git/docs/glib/fn.utf32_to_utf8.html @@ -71,4 +71,4 @@ -
glib

Function utf32_to_utf8

source
pub fn utf32_to_utf8(str: impl AsRef<[char]>) -> GString
\ No newline at end of file +
glib

Function utf32_to_utf8

source
pub fn utf32_to_utf8(str: impl AsRef<[char]>) -> GString
\ No newline at end of file diff --git a/git/docs/glib/fn.utf8_to_utf32.html b/git/docs/glib/fn.utf8_to_utf32.html index 5fc72580781d..28f44205af7f 100644 --- a/git/docs/glib/fn.utf8_to_utf32.html +++ b/git/docs/glib/fn.utf8_to_utf32.html @@ -71,4 +71,4 @@ -
glib

Function utf8_to_utf32

source
pub fn utf8_to_utf32(str: impl AsRef<str>) -> Slice<char>
\ No newline at end of file +
glib

Function utf8_to_utf32

source
pub fn utf8_to_utf32(str: impl AsRef<str>) -> Slice<char>
\ No newline at end of file diff --git a/git/docs/glib/fn.uuid_string_is_valid.html b/git/docs/glib/fn.uuid_string_is_valid.html index 0195e6f7bb65..e14d3b7b2b8b 100644 --- a/git/docs/glib/fn.uuid_string_is_valid.html +++ b/git/docs/glib/fn.uuid_string_is_valid.html @@ -71,7 +71,7 @@ -
glib

Function uuid_string_is_valid

source
pub fn uuid_string_is_valid(str: &str) -> bool
Expand description

Parses the string @str and verify if it is a UUID.

+
glib

Function uuid_string_is_valid

source
pub fn uuid_string_is_valid(str: &str) -> bool
Expand description

Parses the string @str and verify if it is a UUID.

The function accepts the following syntax:

  • simple forms (e.g. f81d4fae-7dec-11d0-a765-00a0c91e6bf6)
  • @@ -81,5 +81,16 @@

    §str

    a string representing a UUID

    §Returns

    +

    true if @str is a valid UUID, false otherwise. +Parses the string @str and verify if it is a UUID.

    +

    The function accepts the following syntax:

    +
      +
    • simple forms (e.g. f81d4fae-7dec-11d0-a765-00a0c91e6bf6)
    • +
    +

    Note that hyphens are required within the UUID string itself, +as per the aforementioned RFC.

    +

    §str

    +

    a string representing a UUID

    +

    §Returns

    true if @str is a valid UUID, false otherwise.

\ No newline at end of file diff --git a/git/docs/glib/fn.uuid_string_random.html b/git/docs/glib/fn.uuid_string_random.html index 074e27d04670..2b7a867eb22d 100644 --- a/git/docs/glib/fn.uuid_string_random.html +++ b/git/docs/glib/fn.uuid_string_random.html @@ -71,9 +71,14 @@ -
glib

Function uuid_string_random

source
pub fn uuid_string_random() -> GString
Expand description

Generates a random UUID (RFC 4122 version 4) as a string. It has the same +

glib

Function uuid_string_random

source
pub fn uuid_string_random() -> GString
Expand description

Generates a random UUID (RFC 4122 version 4) as a string. It has the same randomness guarantees as #GRand, so must not be used for cryptographic purposes such as key generation, nonces, salts or one-time pads.

§Returns

+

A string that should be freed with g_free(). +Generates a random UUID (RFC 4122 version 4) as a string. It has the same +randomness guarantees as #GRand, so must not be used for cryptographic +purposes such as key generation, nonces, salts or one-time pads.

+

§Returns

A string that should be freed with g_free().

\ No newline at end of file diff --git a/git/docs/glib/index.html b/git/docs/glib/index.html index 748663529762..59e84c891334 100644 --- a/git/docs/glib/index.html +++ b/git/docs/glib/index.html @@ -157,35 +157,70 @@

§Using

current log target to the contents of a G_LOG_DOMAIN constant (and fails to build if not defined).
  • warnlog and log_macros
    A macro which behaves exactly as log::warn! except that it sets the current log target to the contents of a G_LOG_DOMAIN constant (and fails -to build if not defined).
  • Defines a wrapper type and implements the appropriate traits.
  • Structs§

    • GObject instance (or source) and another property on another GObject -instance (or target).
    • Flags to be passed to ObjectExt::bind_property() or -[ObjectExt::bind_property_full()][crate::prelude::ObjectExt::bind_property_full()].
    • GBindingGroup can be used to bind multiple properties -from an object collectively.
    • Builder for binding group bindings.
    • This is a subclass of glib::object::Object capable of storing any Rust type. +to build if not defined).
    • Defines a wrapper type and implements the appropriate traits.

    Structs§

    Statics§

    Traits§

    Functions§

    Type Aliases§

    Attribute Macros§

    source§

    impl<'input> PartialEq for MatchInfo<'input>

    source§

    fn eq(&self, other: &MatchInfo<'input>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<'input> PartialOrd for MatchInfo<'input>

    source§

    fn partial_cmp(&self, other: &MatchInfo<'input>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl<'input> StaticType for MatchInfo<'input>

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl ToValue for MatchInfo<'static>

    source§

    fn to_value(&self) -> Value

    Convert a value to a Value.
    source§

    fn value_type(&self) -> Type

    Returns the type identifier of self. Read more
    source§

    impl<'input> Eq for MatchInfo<'input>

    source§

    impl<'input> StructuralPartialEq for MatchInfo<'input>

    Auto Trait Implementations§

    §

    impl<'input> Freeze for MatchInfo<'input>

    §

    impl<'input> RefUnwindSafe for MatchInfo<'input>

    §

    impl<'input> !Send for MatchInfo<'input>

    §

    impl<'input> !Sync for MatchInfo<'input>

    §

    impl<'input> Unpin for MatchInfo<'input>

    §

    impl<'input> UnwindSafe for MatchInfo<'input>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl<'input> StaticType for MatchInfo<'input>

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl ToValue for MatchInfo<'static>

    source§

    fn to_value(&self) -> Value

    Convert a value to a Value.
    source§

    fn value_type(&self) -> Type

    Returns the type identifier of self. Read more
    source§

    impl<'input> Eq for MatchInfo<'input>

    source§

    impl<'input> StructuralPartialEq for MatchInfo<'input>

    Auto Trait Implementations§

    §

    impl<'input> Freeze for MatchInfo<'input>

    §

    impl<'input> RefUnwindSafe for MatchInfo<'input>

    §

    impl<'input> !Send for MatchInfo<'input>

    §

    impl<'input> !Sync for MatchInfo<'input>

    §

    impl<'input> Unpin for MatchInfo<'input>

    §

    impl<'input> UnwindSafe for MatchInfo<'input>

    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
    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 diff --git a/git/docs/glib/object/index.html b/git/docs/glib/object/index.html index 7e15b4ce60f2..4f54bcc257f1 100644 --- a/git/docs/glib/object/index.html +++ b/git/docs/glib/object/index.html @@ -71,7 +71,7 @@ -
    glib

    Module object

    source
    Expand description

    IMPL Object wrapper implementation and Object binding.

    +
    glib

    Module object

    source
    Expand description

    IMPL Object wrapper implementation and Object binding.

    Structs§

    Traits§

    • Upcasting and downcasting support.
    • Convenience trait mirroring Cast, implemented on Option<Object> types.
    • Declares the “is a” relationship.
    • Trait implemented by class types.
    • Trait implemented by interface types.
    • Marker trait for the statically known possibility of downcasting from Self to T.
    • Trait for class methods on Object and subclasses of it.
    • Automatically implemented by ObjectSubclass variants of wrapper!
    • Implemented by types representing glib::Object and subclasses of it.

    Type Aliases§

    \ No newline at end of file diff --git a/git/docs/glib/object/struct.BindingBuilder.html b/git/docs/glib/object/struct.BindingBuilder.html index 14c6eaa0e4b4..3182b1e52c80 100644 --- a/git/docs/glib/object/struct.BindingBuilder.html +++ b/git/docs/glib/object/struct.BindingBuilder.html @@ -71,39 +71,39 @@ -
    glib::object

    Struct BindingBuilder

    source
    pub struct BindingBuilder<'a, 'f, 't> { /* private fields */ }
    Expand description

    Builder for object property bindings.

    -

    Implementations§

    source§

    impl<'a, 'f, 't> BindingBuilder<'a, 'f, 't>

    source

    pub fn transform_from_with_values<F: Fn(&Binding, &Value) -> Option<Value> + Send + Sync + 'static>( +
    glib::object

    Struct BindingBuilder

    source
    pub struct BindingBuilder<'a, 'f, 't> { /* private fields */ }
    Expand description

    Builder for object property bindings.

    +

    Implementations§

    source§

    impl<'a, 'f, 't> BindingBuilder<'a, 'f, 't>

    source

    pub fn transform_from_with_values<F: Fn(&Binding, &Value) -> Option<Value> + Send + Sync + 'static>( self, func: F, ) -> Self

    Transform changed property values from the target object to the source object with the given closure.

    This function operates on glib::Values. See Self::transform_from for a version which operates on concrete argument and return types.

    -
    source

    pub fn transform_from<S: FromValue<'f>, T: Into<Value>, F: Fn(&'f Binding, S) -> Option<T> + Send + Sync + 'static>( +

    source

    pub fn transform_from<S: FromValue<'f>, T: Into<Value>, F: Fn(&'f Binding, S) -> Option<T> + Send + Sync + 'static>( self, func: F, ) -> Self

    Transform changed property values from the target object to the source object with the given closure.

    This function operates on concrete argument and return types. See Self::transform_from_with_values for a version which operates on glib::Values.

    -
    source

    pub fn transform_to_with_values<F: Fn(&Binding, &Value) -> Option<Value> + Send + Sync + 'static>( +

    source

    pub fn transform_to_with_values<F: Fn(&Binding, &Value) -> Option<Value> + Send + Sync + 'static>( self, func: F, ) -> Self

    Transform changed property values from the source object to the target object with the given closure.

    This function operates on glib::Values. See Self::transform_to for a version which operates on concrete argument and return types.

    -
    source

    pub fn transform_to<S: FromValue<'t>, T: Into<Value>, F: Fn(&'t Binding, S) -> Option<T> + Send + Sync + 'static>( +

    source

    pub fn transform_to<S: FromValue<'t>, T: Into<Value>, F: Fn(&'t Binding, S) -> Option<T> + Send + Sync + 'static>( self, func: F, ) -> Self

    Transform changed property values from the source object to the target object with the given closure.

    This function operates on concrete argument and return types. See Self::transform_to_with_values for a version which operates on glib::Values.

    -
    source

    pub fn flags(self, flags: BindingFlags) -> Self

    Bind the properties with the given flags.

    -
    source

    pub fn bidirectional(self) -> Self

    Set the binding flags to BIDIRECTIONAL.

    -
    source

    pub fn sync_create(self) -> Self

    Set the binding flags to SYNC_CREATE.

    -
    source

    pub fn invert_boolean(self) -> Self

    Set the binding flags to INVERT_BOOLEAN.

    -
    source

    pub fn build(self) -> Binding

    Establish the property binding.

    +
    source

    pub fn flags(self, flags: BindingFlags) -> Self

    Bind the properties with the given flags.

    +
    source

    pub fn bidirectional(self) -> Self

    Set the binding flags to BIDIRECTIONAL.

    +
    source

    pub fn sync_create(self) -> Self

    Set the binding flags to SYNC_CREATE.

    +
    source

    pub fn invert_boolean(self) -> Self

    Set the binding flags to INVERT_BOOLEAN.

    +
    source

    pub fn build(self) -> Binding

    Establish the property binding.

    §Panics

    This panics if the provided properties do not exist.

    -

    Trait Implementations§

    source§

    impl<'a, 'f, 't> Debug for BindingBuilder<'a, 'f, 't>

    source§

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<'a, 'f, 't> Freeze for BindingBuilder<'a, 'f, 't>

    §

    impl<'a, 'f, 't> !RefUnwindSafe for BindingBuilder<'a, 'f, 't>

    §

    impl<'a, 'f, 't> !Send for BindingBuilder<'a, 'f, 't>

    §

    impl<'a, 'f, 't> !Sync for BindingBuilder<'a, 'f, 't>

    §

    impl<'a, 'f, 't> Unpin for BindingBuilder<'a, 'f, 't>

    §

    impl<'a, 'f, 't> !UnwindSafe for BindingBuilder<'a, 'f, 't>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl<'a, 'f, 't> Debug for BindingBuilder<'a, 'f, 't>

    source§

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<'a, 'f, 't> Freeze for BindingBuilder<'a, 'f, 't>

    §

    impl<'a, 'f, 't> !RefUnwindSafe for BindingBuilder<'a, 'f, 't>

    §

    impl<'a, 'f, 't> !Send for BindingBuilder<'a, 'f, 't>

    §

    impl<'a, 'f, 't> !Sync for BindingBuilder<'a, 'f, 't>

    §

    impl<'a, 'f, 't> Unpin for BindingBuilder<'a, 'f, 't>

    §

    impl<'a, 'f, 't> !UnwindSafe for BindingBuilder<'a, 'f, 't>

    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
    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> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/git/docs/glib/object/struct.BorrowedObject.html b/git/docs/glib/object/struct.BorrowedObject.html index 68b86507af62..3a49797ffa30 100644 --- a/git/docs/glib/object/struct.BorrowedObject.html +++ b/git/docs/glib/object/struct.BorrowedObject.html @@ -71,27 +71,27 @@ -
    glib::object

    Struct BorrowedObject

    source
    pub struct BorrowedObject<'a, T> { /* private fields */ }
    Expand description

    Borrowed reference to an object of type T.

    +
    glib::object

    Struct BorrowedObject

    source
    pub struct BorrowedObject<'a, T> { /* private fields */ }
    Expand description

    Borrowed reference to an object of type T.

    This dereferences into &T.

    -

    Implementations§

    source§

    impl<'a, T: ObjectType> BorrowedObject<'a, T>

    source

    pub unsafe fn new(ptr: *mut T::GlibType) -> BorrowedObject<'a, T>

    Creates a new borrowed object reference.

    +

    Implementations§

    source§

    impl<'a, T: ObjectType> BorrowedObject<'a, T>

    source

    pub unsafe fn new(ptr: *mut T::GlibType) -> BorrowedObject<'a, T>

    Creates a new borrowed object reference.

    §SAFETY:

    The pointer needs to be valid for at least the lifetime 'a.

    -
    source

    pub fn downgrade(&self) -> <Self as Downgrade>::Weak
    where +

    source

    pub fn downgrade(&self) -> <Self as Downgrade>::Weak
    where T: Downgrade,

    Downgrade to a weak reference.

    -

    Trait Implementations§

    source§

    impl<'a, T> AsRef<T> for BorrowedObject<'a, T>

    source§

    fn as_ref(&self) -> &T

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl<'a, T: Debug> Debug for BorrowedObject<'a, T>

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<'a, T> Deref for BorrowedObject<'a, T>

    source§

    type Target = T

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &T

    Dereferences the value.
    source§

    impl<'a, T: Downgrade + ObjectType> Downgrade for BorrowedObject<'a, T>

    source§

    type Weak = <T as Downgrade>::Weak

    Weak reference type.
    source§

    fn downgrade(&self) -> Self::Weak

    Downgrade to a weak reference.
    source§

    impl<'a, T: Hash> Hash for BorrowedObject<'a, T>

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    Trait Implementations§

    source§

    impl<'a, T> AsRef<T> for BorrowedObject<'a, T>

    source§

    fn as_ref(&self) -> &T

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl<'a, T: Debug> Debug for BorrowedObject<'a, T>

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<'a, T> Deref for BorrowedObject<'a, T>

    source§

    type Target = T

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &T

    Dereferences the value.
    source§

    impl<'a, T: Downgrade + ObjectType> Downgrade for BorrowedObject<'a, T>

    source§

    type Weak = <T as Downgrade>::Weak

    Weak reference type.
    source§

    fn downgrade(&self) -> Self::Weak

    Downgrade to a weak reference.
    source§

    impl<'a, T: Hash> Hash for BorrowedObject<'a, T>

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<'a, T: Ord> Ord for BorrowedObject<'a, T>

    source§

    fn cmp(&self, other: &BorrowedObject<'a, T>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<'a, T: Ord> Ord for BorrowedObject<'a, T>

    source§

    fn cmp(&self, other: &BorrowedObject<'a, T>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl<'a, T: PartialEq> PartialEq<T> for BorrowedObject<'a, T>

    source§

    fn eq(&self, other: &T) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a, T: PartialEq> PartialEq for BorrowedObject<'a, T>

    source§

    fn eq(&self, other: &BorrowedObject<'a, T>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a, T: PartialOrd> PartialOrd<T> for BorrowedObject<'a, T>

    source§

    fn partial_cmp(&self, other: &T) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,
    Restrict a value to a certain interval. Read more
    source§

    impl<'a, T: PartialEq> PartialEq<T> for BorrowedObject<'a, T>

    source§

    fn eq(&self, other: &T) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<'a, T: PartialEq> PartialEq for BorrowedObject<'a, T>

    source§

    fn eq(&self, other: &BorrowedObject<'a, T>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<'a, T: PartialOrd> PartialOrd<T> for BorrowedObject<'a, T>

    source§

    fn partial_cmp(&self, other: &T) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl<'a, T: PartialOrd> PartialOrd for BorrowedObject<'a, T>

    source§

    fn partial_cmp(&self, other: &BorrowedObject<'a, T>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +the >= operator. Read more
    source§

    impl<'a, T: PartialOrd> PartialOrd for BorrowedObject<'a, T>

    source§

    fn partial_cmp(&self, other: &BorrowedObject<'a, T>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl<'a, T: Eq> Eq for BorrowedObject<'a, T>

    source§

    impl<'a, T: Send + Sync> Send for BorrowedObject<'a, T>

    source§

    impl<'a, T> StructuralPartialEq for BorrowedObject<'a, T>

    source§

    impl<'a, T: Send + Sync> Sync for BorrowedObject<'a, T>

    Auto Trait Implementations§

    §

    impl<'a, T> Freeze for BorrowedObject<'a, T>

    §

    impl<'a, T> RefUnwindSafe for BorrowedObject<'a, T>
    where +the >= operator. Read more

    source§

    impl<'a, T: Eq> Eq for BorrowedObject<'a, T>

    source§

    impl<'a, T: Send + Sync> Send for BorrowedObject<'a, T>

    source§

    impl<'a, T> StructuralPartialEq for BorrowedObject<'a, T>

    source§

    impl<'a, T: Send + Sync> Sync for BorrowedObject<'a, T>

    Auto Trait Implementations§

    §

    impl<'a, T> Freeze for BorrowedObject<'a, T>

    §

    impl<'a, T> RefUnwindSafe for BorrowedObject<'a, T>
    where T: RefUnwindSafe,

    §

    impl<'a, T> Unpin for BorrowedObject<'a, T>

    §

    impl<'a, T> UnwindSafe for BorrowedObject<'a, T>
    where T: RefUnwindSafe,

    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
    source§

    impl<T> Borrow<T> for T
    where diff --git a/git/docs/glib/object/struct.Class.html b/git/docs/glib/object/struct.Class.html index cbee0d7cac53..c6ea8d3853ba 100644 --- a/git/docs/glib/object/struct.Class.html +++ b/git/docs/glib/object/struct.Class.html @@ -71,23 +71,23 @@ -
    glib::object

    Struct Class

    source
    pub struct Class<T: IsClass>(/* private fields */);
    Expand description

    Class struct of type T.

    -

    Implementations§

    source§

    impl<T: IsClass> Class<T>

    source

    pub fn type_(&self) -> Type

    Get the type id for this class.

    +
    glib::object

    Struct Class

    source
    pub struct Class<T: IsClass>(/* private fields */);
    Expand description

    Class struct of type T.

    +

    Implementations§

    source§

    impl<T: IsClass> Class<T>

    source

    pub fn type_(&self) -> Type

    Get the type id for this class.

    This is not equivalent to T::static_type() but is the type of the subclass of T where this class belongs to.

    -
    source

    pub fn upcast_ref<U: IsClass>(&self) -> &Class<U>
    where +

    source

    pub fn upcast_ref<U: IsClass>(&self) -> &Class<U>
    where T: IsA<U>,

    Casts this class to a reference to a parent type’s class.

    -
    source

    pub fn upcast_ref_mut<U: IsClass>(&mut self) -> &mut Class<U>
    where +

    source

    pub fn upcast_ref_mut<U: IsClass>(&mut self) -> &mut Class<U>
    where T: IsA<U>,

    Casts this class to a mutable reference to a parent type’s class.

    -
    source

    pub fn downcast_ref<U: IsClass + IsA<T>>(&self) -> Option<&Class<U>>

    Casts this class to a reference to a child type’s class or +

    source

    pub fn downcast_ref<U: IsClass + IsA<T>>(&self) -> Option<&Class<U>>

    Casts this class to a reference to a child type’s class or fails if this class is not implementing the child class.

    -
    source

    pub fn downcast_ref_mut<U: IsClass + IsA<T>>(&mut self) -> Option<&mut Class<U>>

    Casts this class to a mutable reference to a child type’s class or +

    source

    pub fn downcast_ref_mut<U: IsClass + IsA<T>>(&mut self) -> Option<&mut Class<U>>

    Casts this class to a mutable reference to a child type’s class or fails if this class is not implementing the child class.

    -
    source

    pub fn from_type(type_: Type) -> Option<ClassRef<'static, T>>

    Gets the class struct for Self of type_.

    +
    source

    pub fn from_type(type_: Type) -> Option<ClassRef<'static, T>>

    Gets the class struct for Self of type_.

    This will return None if type_ is not a subclass of Self.

    -
    source

    pub fn parent(&self) -> Option<ClassRef<'_, T>>

    Gets the parent class struct, if any.

    -

    Trait Implementations§

    source§

    impl<T: IsClass> AsMut<<T as ObjectType>::GlibClassType> for Class<T>

    source§

    fn as_mut(&mut self) -> &mut T::GlibClassType

    Converts this type into a mutable reference of the (usually inferred) input type.
    source§

    impl<T: IsClass> AsRef<<T as ObjectType>::GlibClassType> for Class<T>

    source§

    fn as_ref(&self) -> &T::GlibClassType

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl<T: ParentClassIs> Deref for Class<T>

    source§

    type Target = Class<<T as ParentClassIs>::Parent>

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl<T: ParentClassIs> DerefMut for Class<T>

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl<T: ObjectType + IsClass> ObjectClassExt for Class<T>

    source§

    fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

    Check if the object class has a property property_name of the given type_. Read more
    source§

    fn property_type(&self, property_name: &str) -> Option<Type>

    Get the type of the property property_name of this object class. Read more
    source§

    fn find_property(&self, property_name: &str) -> Option<ParamSpec>

    Get the ParamSpec of the property property_name of this object class.
    source§

    fn list_properties(&self) -> PtrSlice<ParamSpec>

    Return all ParamSpec of the properties of this object class.
    source§

    impl ObjectClassSubclassExt for Class<Object>

    source§

    fn override_signal_class_handler<F>(&mut self, name: &str, class_handler: F)
    where - F: Fn(&SignalClassHandlerToken, &[Value]) -> Option<Value> + Send + Sync + 'static,

    source§

    impl<T: IsClass> Send for Class<T>

    source§

    impl<T: IsClass> Sync for Class<T>

    Auto Trait Implementations§

    §

    impl<T> Freeze for Class<T>
    where +

    source

    pub fn parent(&self) -> Option<ClassRef<'_, T>>

    Gets the parent class struct, if any.

    +

    Trait Implementations§

    source§

    impl<T: IsClass> AsMut<<T as ObjectType>::GlibClassType> for Class<T>

    source§

    fn as_mut(&mut self) -> &mut T::GlibClassType

    Converts this type into a mutable reference of the (usually inferred) input type.
    source§

    impl<T: IsClass> AsRef<<T as ObjectType>::GlibClassType> for Class<T>

    source§

    fn as_ref(&self) -> &T::GlibClassType

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl<T: ParentClassIs> Deref for Class<T>

    source§

    type Target = Class<<T as ParentClassIs>::Parent>

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl<T: ParentClassIs> DerefMut for Class<T>

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl<T: ObjectType + IsClass> ObjectClassExt for Class<T>

    source§

    fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

    Check if the object class has a property property_name of the given type_. Read more
    source§

    fn property_type(&self, property_name: &str) -> Option<Type>

    Get the type of the property property_name of this object class. Read more
    source§

    fn find_property(&self, property_name: &str) -> Option<ParamSpec>

    Get the ParamSpec of the property property_name of this object class.
    source§

    fn list_properties(&self) -> PtrSlice<ParamSpec>

    Return all ParamSpec of the properties of this object class.
    source§

    impl ObjectClassSubclassExt for Class<Object>

    source§

    fn override_signal_class_handler<F>(&mut self, name: &str, class_handler: F)
    where + F: Fn(&SignalClassHandlerToken, &[Value]) -> Option<Value> + Send + Sync + 'static,

    source§

    impl<T: IsClass> Send for Class<T>

    source§

    impl<T: IsClass> Sync for Class<T>

    Auto Trait Implementations§

    §

    impl<T> Freeze for Class<T>

    §

    impl<T> RefUnwindSafe for Class<T>

    §

    impl<T> Unpin for Class<T>

    §

    impl<T> UnwindSafe for Class<T>
    where diff --git a/git/docs/glib/object/struct.ClassRef.html b/git/docs/glib/object/struct.ClassRef.html index bd115e54993b..9d1d8ea70d43 100644 --- a/git/docs/glib/object/struct.ClassRef.html +++ b/git/docs/glib/object/struct.ClassRef.html @@ -71,16 +71,16 @@ -
    glib::object

    Struct ClassRef

    source
    pub struct ClassRef<'a, T: IsClass>(/* private fields */);
    Expand description

    Reference to the class struct of type T.

    -

    Methods from Deref<Target = Class<T>>§

    source

    pub fn type_(&self) -> Type

    Get the type id for this class.

    +
    glib::object

    Struct ClassRef

    source
    pub struct ClassRef<'a, T: IsClass>(/* private fields */);
    Expand description

    Reference to the class struct of type T.

    +

    Methods from Deref<Target = Class<T>>§

    source

    pub fn type_(&self) -> Type

    Get the type id for this class.

    This is not equivalent to T::static_type() but is the type of the subclass of T where this class belongs to.

    -
    source

    pub fn upcast_ref<U: IsClass>(&self) -> &Class<U>
    where +

    source

    pub fn upcast_ref<U: IsClass>(&self) -> &Class<U>
    where T: IsA<U>,

    Casts this class to a reference to a parent type’s class.

    -
    source

    pub fn downcast_ref<U: IsClass + IsA<T>>(&self) -> Option<&Class<U>>

    Casts this class to a reference to a child type’s class or +

    source

    pub fn downcast_ref<U: IsClass + IsA<T>>(&self) -> Option<&Class<U>>

    Casts this class to a reference to a child type’s class or fails if this class is not implementing the child class.

    -
    source

    pub fn parent(&self) -> Option<ClassRef<'_, T>>

    Gets the parent class struct, if any.

    -

    Trait Implementations§

    source§

    impl<'a, T: Debug + IsClass> Debug for ClassRef<'a, T>

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<'a, T: IsClass> Deref for ClassRef<'a, T>

    source§

    type Target = Class<T>

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Class<T>

    Dereferences the value.
    source§

    impl<'a, T: IsClass> Drop for ClassRef<'a, T>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl<'a, T: IsClass> Send for ClassRef<'a, T>

    source§

    impl<'a, T: IsClass> Sync for ClassRef<'a, T>

    Auto Trait Implementations§

    §

    impl<'a, T> Freeze for ClassRef<'a, T>

    §

    impl<'a, T> RefUnwindSafe for ClassRef<'a, T>
    where +

    source

    pub fn parent(&self) -> Option<ClassRef<'_, T>>

    Gets the parent class struct, if any.

    +

    Trait Implementations§

    source§

    impl<'a, T: Debug + IsClass> Debug for ClassRef<'a, T>

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<'a, T: IsClass> Deref for ClassRef<'a, T>

    source§

    type Target = Class<T>

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Class<T>

    Dereferences the value.
    source§

    impl<'a, T: IsClass> Drop for ClassRef<'a, T>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl<'a, T: IsClass> Send for ClassRef<'a, T>

    source§

    impl<'a, T: IsClass> Sync for ClassRef<'a, T>

    Auto Trait Implementations§

    §

    impl<'a, T> Freeze for ClassRef<'a, T>

    §

    impl<'a, T> RefUnwindSafe for ClassRef<'a, T>

    §

    impl<'a, T> Unpin for ClassRef<'a, T>

    §

    impl<'a, T> UnwindSafe for ClassRef<'a, T>

    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
    source§

    impl<T> Borrow<T> for T
    where diff --git a/git/docs/glib/object/struct.InitiallyUnowned.html b/git/docs/glib/object/struct.InitiallyUnowned.html index ac077b72ce49..340f82c5e407 100644 --- a/git/docs/glib/object/struct.InitiallyUnowned.html +++ b/git/docs/glib/object/struct.InitiallyUnowned.html @@ -71,41 +71,41 @@ -
    glib::object

    Struct InitiallyUnowned

    source
    pub struct InitiallyUnowned { /* private fields */ }
    Expand description

    GLib type: GObject with reference counted clone semantics.

    -

    Trait Implementations§

    source§

    impl Clone for InitiallyUnowned

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +
    glib::object

    Struct InitiallyUnowned

    source
    pub struct InitiallyUnowned { /* private fields */ }
    Expand description

    GLib type: GObject with reference counted clone semantics.

    +

    Trait Implementations§

    source§

    impl Clone for InitiallyUnowned

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the object. Dropping the object will decrement it again.

    -
    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl Debug for InitiallyUnowned

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl HasParamSpec for InitiallyUnowned

    source§

    type ParamSpec = ParamSpecObject

    source§

    type SetValue = InitiallyUnowned

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecObjectBuilder<'_, InitiallyUnowned>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for InitiallyUnowned

    source§

    fn hash<H>(&self, state: &mut H)
    where +

    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl Debug for InitiallyUnowned

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl HasParamSpec for InitiallyUnowned

    source§

    type ParamSpec = ParamSpecObject

    source§

    type SetValue = InitiallyUnowned

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecObjectBuilder<'_, InitiallyUnowned>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for InitiallyUnowned

    source§

    fn hash<H>(&self, state: &mut H)
    where H: Hasher,

    Hashes the memory address of this object.

    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for InitiallyUnowned

    source§

    fn cmp(&self, other: &Self) -> Ordering

    Comparison for two GObjects.

    + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more

    source§

    impl Ord for InitiallyUnowned

    source§

    fn cmp(&self, other: &Self) -> Ordering

    Comparison for two GObjects.

    Compares the memory addresses of the provided objects.

    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl ParentClassIs for InitiallyUnowned

    source§

    impl<OT: ObjectType> PartialEq<OT> for InitiallyUnowned

    source§

    fn eq(&self, other: &OT) -> bool

    Equality for two GObjects.

    + Self: Sized,
    Restrict a value to a certain interval. Read more
    source§

    impl ParentClassIs for InitiallyUnowned

    source§

    impl<OT: ObjectType> PartialEq<OT> for InitiallyUnowned

    source§

    fn eq(&self, other: &OT) -> bool

    Equality for two GObjects.

    Two GObjects are equal if their memory addresses are equal.

    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<OT: ObjectType> PartialOrd<OT> for InitiallyUnowned

    source§

    fn partial_cmp(&self, other: &OT) -> Option<Ordering>

    Partial comparison for two GObjects.

    +and should not be overridden without very good reason.
    source§

    impl<OT: ObjectType> PartialOrd<OT> for InitiallyUnowned

    source§

    fn partial_cmp(&self, other: &OT) -> Option<Ordering>

    Partial comparison for two GObjects.

    Compares the memory addresses of the provided objects.

    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for InitiallyUnowned

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for InitiallyUnowned

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for InitiallyUnowned

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for InitiallyUnowned

    Auto Trait Implementations§

    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
    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> Cast for T
    where - T: ObjectType,

    source§

    fn upcast<T: ObjectType>(self) -> T
    where - Self: IsA<T>,

    Upcasts an object to a superclass or interface T. Read more
    source§

    fn upcast_ref<T: ObjectType>(&self) -> &T
    where - Self: IsA<T>,

    Upcasts an object to a reference of its superclass or interface T. Read more
    source§

    fn downcast<T: ObjectType>(self) -> Result<T, Self>
    where - Self: MayDowncastTo<T>,

    Tries to downcast to a subclass or interface implementor T. Read more
    source§

    fn downcast_ref<T: ObjectType>(&self) -> Option<&T>
    where - Self: MayDowncastTo<T>,

    Tries to downcast to a reference of its subclass or interface implementor T. Read more
    source§

    fn dynamic_cast<T: ObjectType>(self) -> Result<T, Self>

    Tries to cast to an object of type T. This handles upcasting, downcasting + T: ?Sized,
    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> Cast for T
    where + T: ObjectType,

    source§

    fn upcast<T: ObjectType>(self) -> T
    where + Self: IsA<T>,

    Upcasts an object to a superclass or interface T. Read more
    source§

    fn upcast_ref<T: ObjectType>(&self) -> &T
    where + Self: IsA<T>,

    Upcasts an object to a reference of its superclass or interface T. Read more
    source§

    fn downcast<T: ObjectType>(self) -> Result<T, Self>
    where + Self: MayDowncastTo<T>,

    Tries to downcast to a subclass or interface implementor T. Read more
    source§

    fn downcast_ref<T: ObjectType>(&self) -> Option<&T>
    where + Self: MayDowncastTo<T>,

    Tries to downcast to a reference of its subclass or interface implementor T. Read more
    source§

    fn dynamic_cast<T: ObjectType>(self) -> Result<T, Self>

    Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
    source§

    fn dynamic_cast_ref<T: ObjectType>(&self) -> Option<&T>

    Tries to cast to reference to an object of type T. This handles upcasting, downcasting +compile-time safety. Read more
    source§

    fn dynamic_cast_ref<T: ObjectType>(&self) -> Option<&T>

    Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
    source§

    unsafe fn unsafe_cast<T: ObjectType>(self) -> T

    Casts to T unconditionally. Read more
    source§

    unsafe fn unsafe_cast_ref<T: ObjectType>(&self) -> &T

    Casts to &T unconditionally. Read more
    source§

    impl<T> CloneToUninit for T
    where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

    source§

    unsafe fn unsafe_cast<T: ObjectType>(self) -> T

    Casts to T unconditionally. Read more
    source§

    unsafe fn unsafe_cast_ref<T: ObjectType>(&self) -> &T

    Casts to &T unconditionally. Read more
    source§

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

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

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

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

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

    source§

    impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for T
    where @@ -135,116 +135,116 @@ T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

    source§

    fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

    source§

    impl<T> ObjectExt for T
    where - T: ObjectType,

    source§

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

    Returns true if the object is an instance of (can be cast to) T.
    source§

    fn type_(&self) -> Type

    Returns the type of the object.
    source§

    fn object_class(&self) -> &Class<Object>

    Returns the ObjectClass of the object. Read more
    source§

    fn class(&self) -> &Class<T>
    where - T: IsClass,

    Returns the class of the object.
    source§

    fn class_of<U>(&self) -> Option<&Class<U>>
    where - U: IsClass,

    Returns the class of the object in the given type T. Read more
    source§

    fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
    where - U: IsInterface,

    Returns the interface T of the object. Read more
    source§

    fn set_property(&self, property_name: &str, value: impl Into<Value>)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_property_from_value(&self, property_name: &str, value: &Value)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

    Sets multiple properties of the object at once. Read more
    source§

    fn set_properties_from_value(&self, property_values: &[(&str, Value)])

    Sets multiple properties of the object at once. Read more
    source§

    fn property<V>(&self, property_name: &str) -> V
    where - V: for<'b> FromValue<'b> + 'static,

    Gets the property property_name of the object and cast it to the type V. Read more
    source§

    fn property_value(&self, property_name: &str) -> Value

    Gets the property property_name of the object. Read more
    source§

    fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

    Check if the object has a property property_name of the given type_. Read more
    source§

    fn property_type(&self, property_name: &str) -> Option<Type>

    Get the type of the property property_name of this object. Read more
    source§

    fn find_property(&self, property_name: &str) -> Option<ParamSpec>

    Get the ParamSpec of the property property_name of this object.
    source§

    fn list_properties(&self) -> PtrSlice<ParamSpec>

    Return all ParamSpec of the properties of this object.
    source§

    fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

    Freeze all property notifications until the return guard object is dropped. Read more
    source§

    unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
    where - QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
    where - QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
    where - QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn set_data<QD>(&self, key: &str, value: QD)
    where - QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
    where - QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
    where - QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    fn block_signal(&self, handler_id: &SignalHandlerId)

    Block a given signal handler. Read more
    source§

    fn unblock_signal(&self, handler_id: &SignalHandlerId)

    Unblock a given signal handler.
    source§

    fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

    Stop emission of the currently emitted signal.
    source§

    fn stop_signal_emission_by_name(&self, signal_name: &str)

    Stop emission of the currently emitted signal by the (possibly detailed) signal name.
    source§

    fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

    source§

    impl<T> ObjectExt for T
    where + T: ObjectType,

    source§

    fn is<U>(&self) -> bool
    where + U: StaticType,

    Returns true if the object is an instance of (can be cast to) T.
    source§

    fn type_(&self) -> Type

    Returns the type of the object.
    source§

    fn object_class(&self) -> &Class<Object>

    Returns the ObjectClass of the object. Read more
    source§

    fn class(&self) -> &Class<T>
    where + T: IsClass,

    Returns the class of the object.
    source§

    fn class_of<U>(&self) -> Option<&Class<U>>
    where + U: IsClass,

    Returns the class of the object in the given type T. Read more
    source§

    fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
    where + U: IsInterface,

    Returns the interface T of the object. Read more
    source§

    fn set_property(&self, property_name: &str, value: impl Into<Value>)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_property_from_value(&self, property_name: &str, value: &Value)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

    Sets multiple properties of the object at once. Read more
    source§

    fn set_properties_from_value(&self, property_values: &[(&str, Value)])

    Sets multiple properties of the object at once. Read more
    source§

    fn property<V>(&self, property_name: &str) -> V
    where + V: for<'b> FromValue<'b> + 'static,

    Gets the property property_name of the object and cast it to the type V. Read more
    source§

    fn property_value(&self, property_name: &str) -> Value

    Gets the property property_name of the object. Read more
    source§

    fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

    Check if the object has a property property_name of the given type_. Read more
    source§

    fn property_type(&self, property_name: &str) -> Option<Type>

    Get the type of the property property_name of this object. Read more
    source§

    fn find_property(&self, property_name: &str) -> Option<ParamSpec>

    Get the ParamSpec of the property property_name of this object.
    source§

    fn list_properties(&self) -> PtrSlice<ParamSpec>

    Return all ParamSpec of the properties of this object.
    source§

    fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

    Freeze all property notifications until the return guard object is dropped. Read more
    source§

    unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
    where + QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
    where + QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
    where + QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn set_data<QD>(&self, key: &str, value: QD)
    where + QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
    where + QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
    where + QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    fn block_signal(&self, handler_id: &SignalHandlerId)

    Block a given signal handler. Read more
    source§

    fn unblock_signal(&self, handler_id: &SignalHandlerId)

    Unblock a given signal handler.
    source§

    fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

    Stop emission of the currently emitted signal.
    source§

    fn stop_signal_emission_by_name(&self, signal_name: &str)

    Stop emission of the currently emitted signal by the (possibly detailed) signal name.
    source§

    fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_name on this object. Read more
    source§

    unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_name on this object. Read more
    source§

    unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

    Connect a closure to the signal signal_name on this object. Read more
    source§

    fn connect_closure_id( +) -> SignalHandlerId

    Connect a closure to the signal signal_name on this object. Read more
    source§

    fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

    Connect a closure to the signal signal_id on this object. Read more
    source§

    fn watch_closure(&self, closure: &impl AsRef<Closure>)

    Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
    Connect a closure to the signal signal_id on this object. Read more
    source§

    fn watch_closure(&self, closure: &impl AsRef<Closure>)

    Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
    source§

    fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

    Emit signal by signal id. Read more
    source§

    fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

    Same as Self::emit but takes Value for the arguments.
    source§

    fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_values( +invoke when using Rust closures.

    source§

    fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

    Emit signal by signal id. Read more
    source§

    fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

    Same as Self::emit but takes Value for the arguments.
    source§

    fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_details<R>( +) -> Option<Value>

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

    Emit signal by its name with details. Read more
    source§

    fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

    Emit signal by its name with details. Read more
    source§

    fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

    Emit signal by its name with details. Read more
    source§

    fn emit_with_details<R>( +) -> Option<Value>

    Emit signal by its name with details. Read more
    source§

    fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

    Emit signal by signal id with details. Read more
    source§

    fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

    Emit signal by signal id with details. Read more
    source§

    fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

    Emit signal by signal id with details. Read more
    source§

    fn disconnect(&self, handler_id: SignalHandlerId)

    Disconnect a previously connected signal handler.
    source§

    fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

    Connect to the notify signal of the object. Read more
    source§

    fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where - F: Fn(&T, &ParamSpec) + 'static,

    Connect to the notify signal of the object. Read more
    source§

    unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

    Emit signal by signal id with details. Read more
    source§

    fn disconnect(&self, handler_id: SignalHandlerId)

    Disconnect a previously connected signal handler.
    source§

    fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

    Connect to the notify signal of the object. Read more
    source§

    fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where + F: Fn(&T, &ParamSpec) + 'static,

    Connect to the notify signal of the object. Read more
    source§

    unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
    where - F: Fn(&T, &ParamSpec),

    Connect to the notify signal of the object. Read more
    source§

    fn notify(&self, property_name: &str)

    Notify that the given property has changed its value. Read more
    source§

    fn notify_by_pspec(&self, pspec: &ParamSpec)

    Notify that the given property has changed its value. Read more
    source§

    fn downgrade(&self) -> WeakRef<T>

    Downgrade this object to a weak reference.
    source§

    fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
    where - F: FnOnce() + Send + 'static,

    Add a callback to be notified when the Object is disposed.
    source§

    fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
    where - F: FnOnce() + 'static,

    Add a callback to be notified when the Object is disposed. Read more
    source§

    fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

    Connect to the notify signal of the object. Read more
    source§

    fn notify(&self, property_name: &str)

    Notify that the given property has changed its value. Read more
    source§

    fn notify_by_pspec(&self, pspec: &ParamSpec)

    Notify that the given property has changed its value. Read more
    source§

    fn downgrade(&self) -> WeakRef<T>

    Downgrade this object to a weak reference.
    source§

    fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
    where + F: FnOnce() + Send + 'static,

    Add a callback to be notified when the Object is disposed.
    source§

    fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
    where + F: FnOnce() + 'static,

    Add a callback to be notified when the Object is disposed. Read more
    source§

    fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
    where - O: ObjectType,

    Bind property source_property on this object to the target_property on the target object. Read more
    source§

    fn ref_count(&self) -> u32

    Returns the strong reference count of this object.
    source§

    unsafe fn run_dispose(&self)

    Runs the dispose mechanism of the object. Read more
    source§

    impl<T> Property for T
    where + O: ObjectType,

    Bind property source_property on this object to the target_property on the target object. Read more
    source§

    fn ref_count(&self) -> u32

    Returns the strong reference count of this object.
    source§

    unsafe fn run_dispose(&self)

    Runs the dispose mechanism of the object. Read more
    source§

    impl<T> Property for T
    where T: HasParamSpec,

    source§

    type Value = T

    source§

    impl<T> PropertyGet for T
    where T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where @@ -256,6 +256,6 @@ 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.
    source§

    impl<'a, T, C, E> FromValueOptional<'a> for T
    where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

    source§

    impl<Super, Sub> MayDowncastTo<Sub> for Super
    where + E: Error + Send + 'static,

    source§

    impl<Super, Sub> MayDowncastTo<Sub> for Super
    where Super: IsA<Super>, Sub: IsA<Super>,

    \ No newline at end of file diff --git a/git/docs/glib/object/struct.Interface.html b/git/docs/glib/object/struct.Interface.html index cb112fc3ea2e..ffdee8fc66d1 100644 --- a/git/docs/glib/object/struct.Interface.html +++ b/git/docs/glib/object/struct.Interface.html @@ -71,27 +71,27 @@ -
    glib::object

    Struct Interface

    source
    pub struct Interface<T: IsInterface>(/* private fields */);
    Expand description

    Interface struct of type T for some type.

    -

    Implementations§

    source§

    impl<T: IsInterface> Interface<T>

    source

    pub fn type_(&self) -> Type

    Get the type id for this interface.

    +
    glib::object

    Struct Interface

    source
    pub struct Interface<T: IsInterface>(/* private fields */);
    Expand description

    Interface struct of type T for some type.

    +

    Implementations§

    source§

    impl<T: IsInterface> Interface<T>

    source

    pub fn type_(&self) -> Type

    Get the type id for this interface.

    This is equivalent to T::static_type().

    -
    source

    pub fn instance_type(&self) -> Type

    Get the type id for the instance type of this interface.

    +
    source

    pub fn instance_type(&self) -> Type

    Get the type id for the instance type of this interface.

    This is not equivalent to T::static_type() but is the type id of the type this specific interface belongs to.

    -
    source

    pub fn from_class<U: IsClass>(klass: &Class<U>) -> Option<InterfaceRef<'_, T>>

    Gets the interface struct for Self of klass.

    +
    source

    pub fn from_class<U: IsClass>(klass: &Class<U>) -> Option<InterfaceRef<'_, T>>

    Gets the interface struct for Self of klass.

    This will return None if klass is not implementing Self.

    -
    source

    pub fn from_type(type_: Type) -> Option<InterfaceRef<'static, T>>

    Gets the default interface struct for Self.

    +
    source

    pub fn from_type(type_: Type) -> Option<InterfaceRef<'static, T>>

    Gets the default interface struct for Self.

    This will return None if type_ is not an interface.

    -
    source

    pub fn default() -> InterfaceRef<'static, T>

    Gets the default interface struct for Self.

    -
    source

    pub fn parent(&self) -> Option<InterfaceRef<'_, T>>

    Gets the parent interface struct, if any.

    +
    source

    pub fn default() -> InterfaceRef<'static, T>

    Gets the default interface struct for Self.

    +
    source

    pub fn parent(&self) -> Option<InterfaceRef<'_, T>>

    Gets the parent interface struct, if any.

    This returns the parent interface if a parent type of the instance type also implements the interface.

    -
    source§

    impl<T: IsA<Object> + IsInterface> Interface<T>

    source

    pub fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

    Check if this interface has a property property_name of the given type_.

    +
    source§

    impl<T: IsA<Object> + IsInterface> Interface<T>

    source

    pub fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

    Check if this interface has a property property_name of the given type_.

    If no type is provided then only the existence of the property is checked.

    -
    source

    pub fn property_type(&self, property_name: &str) -> Option<Type>

    Get the type of the property property_name of this interface.

    +
    source

    pub fn property_type(&self, property_name: &str) -> Option<Type>

    Get the type of the property property_name of this interface.

    This returns None if the property does not exist.

    -
    source

    pub fn find_property(&self, property_name: &str) -> Option<ParamSpec>

    Get the ParamSpec of the property property_name of this interface.

    -
    source

    pub fn list_properties(&self) -> PtrSlice<ParamSpec>

    Return all ParamSpec of the properties of this interface.

    -

    Trait Implementations§

    source§

    impl<T: IsInterface> AsMut<<T as ObjectType>::GlibClassType> for Interface<T>

    source§

    fn as_mut(&mut self) -> &mut T::GlibClassType

    Converts this type into a mutable reference of the (usually inferred) input type.
    source§

    impl<T: IsInterface> AsRef<<T as ObjectType>::GlibClassType> for Interface<T>

    source§

    fn as_ref(&self) -> &T::GlibClassType

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl<T: IsInterface> Send for Interface<T>

    source§

    impl<T: IsInterface> Sync for Interface<T>

    Auto Trait Implementations§

    §

    impl<T> Freeze for Interface<T>
    where +

    source

    pub fn find_property(&self, property_name: &str) -> Option<ParamSpec>

    Get the ParamSpec of the property property_name of this interface.

    +
    source

    pub fn list_properties(&self) -> PtrSlice<ParamSpec>

    Return all ParamSpec of the properties of this interface.

    +

    Trait Implementations§

    source§

    impl<T: IsInterface> AsMut<<T as ObjectType>::GlibClassType> for Interface<T>

    source§

    fn as_mut(&mut self) -> &mut T::GlibClassType

    Converts this type into a mutable reference of the (usually inferred) input type.
    source§

    impl<T: IsInterface> AsRef<<T as ObjectType>::GlibClassType> for Interface<T>

    source§

    fn as_ref(&self) -> &T::GlibClassType

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl<T: IsInterface> Send for Interface<T>

    source§

    impl<T: IsInterface> Sync for Interface<T>

    Auto Trait Implementations§

    §

    impl<T> Freeze for Interface<T>

    §

    impl<T> RefUnwindSafe for Interface<T>

    §

    impl<T> Unpin for Interface<T>

    §

    impl<T> UnwindSafe for Interface<T>
    where diff --git a/git/docs/glib/object/struct.InterfaceRef.html b/git/docs/glib/object/struct.InterfaceRef.html index dd73fb875737..4d0d05df2009 100644 --- a/git/docs/glib/object/struct.InterfaceRef.html +++ b/git/docs/glib/object/struct.InterfaceRef.html @@ -71,22 +71,22 @@ -
    glib::object

    Struct InterfaceRef

    source
    pub struct InterfaceRef<'a, T: IsInterface>(/* private fields */);
    Expand description

    Reference to a class struct of type T.

    -

    Methods from Deref<Target = Interface<T>>§

    source

    pub fn type_(&self) -> Type

    Get the type id for this interface.

    +
    glib::object

    Struct InterfaceRef

    source
    pub struct InterfaceRef<'a, T: IsInterface>(/* private fields */);
    Expand description

    Reference to a class struct of type T.

    +

    Methods from Deref<Target = Interface<T>>§

    source

    pub fn type_(&self) -> Type

    Get the type id for this interface.

    This is equivalent to T::static_type().

    -
    source

    pub fn instance_type(&self) -> Type

    Get the type id for the instance type of this interface.

    +
    source

    pub fn instance_type(&self) -> Type

    Get the type id for the instance type of this interface.

    This is not equivalent to T::static_type() but is the type id of the type this specific interface belongs to.

    -
    source

    pub fn parent(&self) -> Option<InterfaceRef<'_, T>>

    Gets the parent interface struct, if any.

    +
    source

    pub fn parent(&self) -> Option<InterfaceRef<'_, T>>

    Gets the parent interface struct, if any.

    This returns the parent interface if a parent type of the instance type also implements the interface.

    -
    source

    pub fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

    Check if this interface has a property property_name of the given type_.

    +
    source

    pub fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

    Check if this interface has a property property_name of the given type_.

    If no type is provided then only the existence of the property is checked.

    -
    source

    pub fn property_type(&self, property_name: &str) -> Option<Type>

    Get the type of the property property_name of this interface.

    +
    source

    pub fn property_type(&self, property_name: &str) -> Option<Type>

    Get the type of the property property_name of this interface.

    This returns None if the property does not exist.

    -
    source

    pub fn find_property(&self, property_name: &str) -> Option<ParamSpec>

    Get the ParamSpec of the property property_name of this interface.

    -
    source

    pub fn list_properties(&self) -> PtrSlice<ParamSpec>

    Return all ParamSpec of the properties of this interface.

    -

    Trait Implementations§

    source§

    impl<'a, T: Debug + IsInterface> Debug for InterfaceRef<'a, T>

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<'a, T: IsInterface> Deref for InterfaceRef<'a, T>

    source§

    type Target = Interface<T>

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Interface<T>

    Dereferences the value.
    source§

    impl<'a, T: IsInterface> Drop for InterfaceRef<'a, T>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl<'a, T: IsInterface> Send for InterfaceRef<'a, T>

    source§

    impl<'a, T: IsInterface> Sync for InterfaceRef<'a, T>

    Auto Trait Implementations§

    §

    impl<'a, T> Freeze for InterfaceRef<'a, T>

    §

    impl<'a, T> RefUnwindSafe for InterfaceRef<'a, T>
    where +

    source

    pub fn find_property(&self, property_name: &str) -> Option<ParamSpec>

    Get the ParamSpec of the property property_name of this interface.

    +
    source

    pub fn list_properties(&self) -> PtrSlice<ParamSpec>

    Return all ParamSpec of the properties of this interface.

    +

    Trait Implementations§

    source§

    impl<'a, T: Debug + IsInterface> Debug for InterfaceRef<'a, T>

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<'a, T: IsInterface> Deref for InterfaceRef<'a, T>

    source§

    type Target = Interface<T>

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Interface<T>

    Dereferences the value.
    source§

    impl<'a, T: IsInterface> Drop for InterfaceRef<'a, T>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl<'a, T: IsInterface> Send for InterfaceRef<'a, T>

    source§

    impl<'a, T: IsInterface> Sync for InterfaceRef<'a, T>

    Auto Trait Implementations§

    §

    impl<'a, T> Freeze for InterfaceRef<'a, T>

    §

    impl<'a, T> RefUnwindSafe for InterfaceRef<'a, T>

    §

    impl<'a, T> Unpin for InterfaceRef<'a, T>

    §

    impl<'a, T> UnwindSafe for InterfaceRef<'a, T>

    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
    source§

    impl<T> Borrow<T> for T
    where diff --git a/git/docs/glib/object/struct.Object.html b/git/docs/glib/object/struct.Object.html index 8dd3eb403843..f3723de3ca32 100644 --- a/git/docs/glib/object/struct.Object.html +++ b/git/docs/glib/object/struct.Object.html @@ -71,20 +71,20 @@ -
    glib::object

    Struct Object

    source
    pub struct Object { /* private fields */ }
    Expand description

    The base class in the object hierarchy.

    +
    glib::object

    Struct Object

    source
    pub struct Object { /* private fields */ }
    Expand description

    The base class in the object hierarchy.

    GLib type: GObject with reference counted clone semantics.

    -

    Implementations§

    source§

    impl Object

    source

    pub const NONE: Option<&'static Object> = None

    source

    pub fn new<T: IsA<Object> + IsClass>() -> T

    Create a new instance of an object with the default property values.

    +

    Implementations§

    source§

    impl Object

    source

    pub const NONE: Option<&'static Object> = None

    source

    pub fn new<T: IsA<Object> + IsClass>() -> T

    Create a new instance of an object with the default property values.

    §Panics

    This panics if the object is not instantiable.

    -
    source

    pub fn with_type(type_: Type) -> Object

    Create a new instance of an object with the default property values.

    +
    source

    pub fn with_type(type_: Type) -> Object

    Create a new instance of an object with the default property values.

    §Panics

    This panics if the object is not instantiable.

    -
    source

    pub fn with_mut_values(type_: Type, properties: &mut [(&str, Value)]) -> Object

    Create a new instance of an object of the given type with the given properties as mutable +

    source

    pub fn with_mut_values(type_: Type, properties: &mut [(&str, Value)]) -> Object

    Create a new instance of an object of the given type with the given properties as mutable values.

    §Panics

    This panics if the object is not instantiable, doesn’t have all the given properties or property values of the wrong type are provided.

    -
    source

    pub unsafe fn new_internal( +

    source

    pub unsafe fn new_internal( type_: Type, properties: &mut [(&str, Value)], ) -> Object

    Create a new instance of an object of the given type with the given properties.

    @@ -94,43 +94,43 @@
    §Panics

    Unlike the other constructors this does not panic if the object is implementing gio::Initable or gio::AsyncInitable and it might be unsafe to use the returned object without using the API of those interfaces first.

    -
    source

    pub fn builder<'a, O: IsA<Object> + IsClass>() -> ObjectBuilder<'a, O>

    Create a new object builder for a specific type.

    -
    source

    pub fn builder_with_type<'a>(type_: Type) -> ObjectBuilder<'a, Object>

    Create a new object builder for a specific type.

    -

    Trait Implementations§

    source§

    impl Clone for Object

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +
    source

    pub fn builder<'a, O: IsA<Object> + IsClass>() -> ObjectBuilder<'a, O>

    Create a new object builder for a specific type.

    +
    source

    pub fn builder_with_type<'a>(type_: Type) -> ObjectBuilder<'a, Object>

    Create a new object builder for a specific type.

    +

    Trait Implementations§

    source§

    impl Clone for Object

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the object. Dropping the object will decrement it again.

    -
    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Object

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl HasParamSpec for Object

    source§

    type ParamSpec = ParamSpecObject

    source§

    type SetValue = Object

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecObjectBuilder<'_, Object>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for Object

    source§

    fn hash<H>(&self, state: &mut H)
    where +

    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Object

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl HasParamSpec for Object

    source§

    type ParamSpec = ParamSpecObject

    source§

    type SetValue = Object

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecObjectBuilder<'_, Object>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for Object

    source§

    fn hash<H>(&self, state: &mut H)
    where H: Hasher,

    Hashes the memory address of this object.

    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<T: ObjectImpl> IsSubclassable<T> for Object

    source§

    fn class_init(class: &mut Class<Self>)

    Override the virtual methods of this class for the given subclass and do other class -initialization. Read more
    source§

    fn instance_init(_instance: &mut InitializingObject<T>)

    Instance specific initialization. Read more
    source§

    impl Ord for Object

    source§

    fn cmp(&self, other: &Self) -> Ordering

    Comparison for two GObjects.

    + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<T: ObjectImpl> IsSubclassable<T> for Object

    source§

    fn class_init(class: &mut Class<Self>)

    Override the virtual methods of this class for the given subclass and do other class +initialization. Read more
    source§

    fn instance_init(_instance: &mut InitializingObject<T>)

    Instance specific initialization. Read more
    source§

    impl Ord for Object

    source§

    fn cmp(&self, other: &Self) -> Ordering

    Comparison for two GObjects.

    Compares the memory addresses of the provided objects.

    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl<OT: ObjectType> PartialEq<OT> for Object

    source§

    fn eq(&self, other: &OT) -> bool

    Equality for two GObjects.

    + Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl<OT: ObjectType> PartialEq<OT> for Object

    source§

    fn eq(&self, other: &OT) -> bool

    Equality for two GObjects.

    Two GObjects are equal if their memory addresses are equal.

    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<OT: ObjectType> PartialOrd<OT> for Object

    source§

    fn partial_cmp(&self, other: &OT) -> Option<Ordering>

    Partial comparison for two GObjects.

    +and should not be overridden without very good reason.
    source§

    impl<OT: ObjectType> PartialOrd<OT> for Object

    source§

    fn partial_cmp(&self, other: &OT) -> Option<Ordering>

    Partial comparison for two GObjects.

    Compares the memory addresses of the provided objects.

    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for Object

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for Object

    Auto Trait Implementations§

    §

    impl Freeze for Object

    §

    impl RefUnwindSafe for Object

    §

    impl !Send for Object

    §

    impl !Sync for Object

    §

    impl Unpin for Object

    §

    impl UnwindSafe for Object

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for Object

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for Object

    Auto Trait Implementations§

    §

    impl Freeze for Object

    §

    impl RefUnwindSafe for Object

    §

    impl !Send for Object

    §

    impl !Sync for Object

    §

    impl Unpin for Object

    §

    impl UnwindSafe for Object

    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
    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> Cast for T
    where - T: ObjectType,

    source§

    fn upcast<T: ObjectType>(self) -> T
    where - Self: IsA<T>,

    Upcasts an object to a superclass or interface T. Read more
    source§

    fn upcast_ref<T: ObjectType>(&self) -> &T
    where - Self: IsA<T>,

    Upcasts an object to a reference of its superclass or interface T. Read more
    source§

    fn downcast<T: ObjectType>(self) -> Result<T, Self>
    where - Self: MayDowncastTo<T>,

    Tries to downcast to a subclass or interface implementor T. Read more
    source§

    fn downcast_ref<T: ObjectType>(&self) -> Option<&T>
    where - Self: MayDowncastTo<T>,

    Tries to downcast to a reference of its subclass or interface implementor T. Read more
    source§

    fn dynamic_cast<T: ObjectType>(self) -> Result<T, Self>

    Tries to cast to an object of type T. This handles upcasting, downcasting + T: ?Sized,
    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> Cast for T
    where + T: ObjectType,

    source§

    fn upcast<T: ObjectType>(self) -> T
    where + Self: IsA<T>,

    Upcasts an object to a superclass or interface T. Read more
    source§

    fn upcast_ref<T: ObjectType>(&self) -> &T
    where + Self: IsA<T>,

    Upcasts an object to a reference of its superclass or interface T. Read more
    source§

    fn downcast<T: ObjectType>(self) -> Result<T, Self>
    where + Self: MayDowncastTo<T>,

    Tries to downcast to a subclass or interface implementor T. Read more
    source§

    fn downcast_ref<T: ObjectType>(&self) -> Option<&T>
    where + Self: MayDowncastTo<T>,

    Tries to downcast to a reference of its subclass or interface implementor T. Read more
    source§

    fn dynamic_cast<T: ObjectType>(self) -> Result<T, Self>

    Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
    source§

    fn dynamic_cast_ref<T: ObjectType>(&self) -> Option<&T>

    Tries to cast to reference to an object of type T. This handles upcasting, downcasting +compile-time safety. Read more
    source§

    fn dynamic_cast_ref<T: ObjectType>(&self) -> Option<&T>

    Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
    source§

    unsafe fn unsafe_cast<T: ObjectType>(self) -> T

    Casts to T unconditionally. Read more
    source§

    unsafe fn unsafe_cast_ref<T: ObjectType>(&self) -> &T

    Casts to &T unconditionally. Read more
    source§

    impl<T> CloneToUninit for T
    where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

    source§

    unsafe fn unsafe_cast<T: ObjectType>(self) -> T

    Casts to T unconditionally. Read more
    source§

    unsafe fn unsafe_cast_ref<T: ObjectType>(&self) -> &T

    Casts to &T unconditionally. Read more
    source§

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

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

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

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

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

    source§

    impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for T
    where @@ -155,116 +155,116 @@
    §Panics

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

    source§

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

    source§

    impl<T> ObjectExt for T
    where - T: ObjectType,

    source§

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

    Returns true if the object is an instance of (can be cast to) T.
    source§

    fn type_(&self) -> Type

    Returns the type of the object.
    source§

    fn object_class(&self) -> &Class<Object>

    Returns the ObjectClass of the object. Read more
    source§

    fn class(&self) -> &Class<T>
    where - T: IsClass,

    Returns the class of the object.
    source§

    fn class_of<U>(&self) -> Option<&Class<U>>
    where - U: IsClass,

    Returns the class of the object in the given type T. Read more
    source§

    fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
    where - U: IsInterface,

    Returns the interface T of the object. Read more
    source§

    fn set_property(&self, property_name: &str, value: impl Into<Value>)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_property_from_value(&self, property_name: &str, value: &Value)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

    Sets multiple properties of the object at once. Read more
    source§

    fn set_properties_from_value(&self, property_values: &[(&str, Value)])

    Sets multiple properties of the object at once. Read more
    source§

    fn property<V>(&self, property_name: &str) -> V
    where - V: for<'b> FromValue<'b> + 'static,

    Gets the property property_name of the object and cast it to the type V. Read more
    source§

    fn property_value(&self, property_name: &str) -> Value

    Gets the property property_name of the object. Read more
    source§

    fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

    Check if the object has a property property_name of the given type_. Read more
    source§

    fn property_type(&self, property_name: &str) -> Option<Type>

    Get the type of the property property_name of this object. Read more
    source§

    fn find_property(&self, property_name: &str) -> Option<ParamSpec>

    Get the ParamSpec of the property property_name of this object.
    source§

    fn list_properties(&self) -> PtrSlice<ParamSpec>

    Return all ParamSpec of the properties of this object.
    source§

    fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

    Freeze all property notifications until the return guard object is dropped. Read more
    source§

    unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
    where - QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
    where - QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
    where - QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn set_data<QD>(&self, key: &str, value: QD)
    where - QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
    where - QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
    where - QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    fn block_signal(&self, handler_id: &SignalHandlerId)

    Block a given signal handler. Read more
    source§

    fn unblock_signal(&self, handler_id: &SignalHandlerId)

    Unblock a given signal handler.
    source§

    fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

    Stop emission of the currently emitted signal.
    source§

    fn stop_signal_emission_by_name(&self, signal_name: &str)

    Stop emission of the currently emitted signal by the (possibly detailed) signal name.
    source§

    fn connect<F>( + T: Into<Value>,

    source§

    impl<T> ObjectExt for T
    where + T: ObjectType,

    source§

    fn is<U>(&self) -> bool
    where + U: StaticType,

    Returns true if the object is an instance of (can be cast to) T.
    source§

    fn type_(&self) -> Type

    Returns the type of the object.
    source§

    fn object_class(&self) -> &Class<Object>

    Returns the ObjectClass of the object. Read more
    source§

    fn class(&self) -> &Class<T>
    where + T: IsClass,

    Returns the class of the object.
    source§

    fn class_of<U>(&self) -> Option<&Class<U>>
    where + U: IsClass,

    Returns the class of the object in the given type T. Read more
    source§

    fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
    where + U: IsInterface,

    Returns the interface T of the object. Read more
    source§

    fn set_property(&self, property_name: &str, value: impl Into<Value>)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_property_from_value(&self, property_name: &str, value: &Value)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

    Sets multiple properties of the object at once. Read more
    source§

    fn set_properties_from_value(&self, property_values: &[(&str, Value)])

    Sets multiple properties of the object at once. Read more
    source§

    fn property<V>(&self, property_name: &str) -> V
    where + V: for<'b> FromValue<'b> + 'static,

    Gets the property property_name of the object and cast it to the type V. Read more
    source§

    fn property_value(&self, property_name: &str) -> Value

    Gets the property property_name of the object. Read more
    source§

    fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

    Check if the object has a property property_name of the given type_. Read more
    source§

    fn property_type(&self, property_name: &str) -> Option<Type>

    Get the type of the property property_name of this object. Read more
    source§

    fn find_property(&self, property_name: &str) -> Option<ParamSpec>

    Get the ParamSpec of the property property_name of this object.
    source§

    fn list_properties(&self) -> PtrSlice<ParamSpec>

    Return all ParamSpec of the properties of this object.
    source§

    fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

    Freeze all property notifications until the return guard object is dropped. Read more
    source§

    unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
    where + QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
    where + QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
    where + QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn set_data<QD>(&self, key: &str, value: QD)
    where + QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
    where + QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
    where + QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    fn block_signal(&self, handler_id: &SignalHandlerId)

    Block a given signal handler. Read more
    source§

    fn unblock_signal(&self, handler_id: &SignalHandlerId)

    Unblock a given signal handler.
    source§

    fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

    Stop emission of the currently emitted signal.
    source§

    fn stop_signal_emission_by_name(&self, signal_name: &str)

    Stop emission of the currently emitted signal by the (possibly detailed) signal name.
    source§

    fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_name on this object. Read more
    source§

    unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_name on this object. Read more
    source§

    unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

    Connect a closure to the signal signal_name on this object. Read more
    source§

    fn connect_closure_id( +) -> SignalHandlerId

    Connect a closure to the signal signal_name on this object. Read more
    source§

    fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

    Connect a closure to the signal signal_id on this object. Read more
    source§

    fn watch_closure(&self, closure: &impl AsRef<Closure>)

    Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
    Connect a closure to the signal signal_id on this object. Read more
    source§

    fn watch_closure(&self, closure: &impl AsRef<Closure>)

    Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
    source§

    fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

    Emit signal by signal id. Read more
    source§

    fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

    Same as Self::emit but takes Value for the arguments.
    source§

    fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_values( +invoke when using Rust closures.

    source§

    fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

    Emit signal by signal id. Read more
    source§

    fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

    Same as Self::emit but takes Value for the arguments.
    source§

    fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_details<R>( +) -> Option<Value>

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

    Emit signal by its name with details. Read more
    source§

    fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

    Emit signal by its name with details. Read more
    source§

    fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

    Emit signal by its name with details. Read more
    source§

    fn emit_with_details<R>( +) -> Option<Value>

    Emit signal by its name with details. Read more
    source§

    fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

    Emit signal by signal id with details. Read more
    source§

    fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

    Emit signal by signal id with details. Read more
    source§

    fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

    Emit signal by signal id with details. Read more
    source§

    fn disconnect(&self, handler_id: SignalHandlerId)

    Disconnect a previously connected signal handler.
    source§

    fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

    Connect to the notify signal of the object. Read more
    source§

    fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where - F: Fn(&T, &ParamSpec) + 'static,

    Connect to the notify signal of the object. Read more
    source§

    unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

    Emit signal by signal id with details. Read more
    source§

    fn disconnect(&self, handler_id: SignalHandlerId)

    Disconnect a previously connected signal handler.
    source§

    fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

    Connect to the notify signal of the object. Read more
    source§

    fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where + F: Fn(&T, &ParamSpec) + 'static,

    Connect to the notify signal of the object. Read more
    source§

    unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
    where - F: Fn(&T, &ParamSpec),

    Connect to the notify signal of the object. Read more
    source§

    fn notify(&self, property_name: &str)

    Notify that the given property has changed its value. Read more
    source§

    fn notify_by_pspec(&self, pspec: &ParamSpec)

    Notify that the given property has changed its value. Read more
    source§

    fn downgrade(&self) -> WeakRef<T>

    Downgrade this object to a weak reference.
    source§

    fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
    where - F: FnOnce() + Send + 'static,

    Add a callback to be notified when the Object is disposed.
    source§

    fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
    where - F: FnOnce() + 'static,

    Add a callback to be notified when the Object is disposed. Read more
    source§

    fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

    Connect to the notify signal of the object. Read more
    source§

    fn notify(&self, property_name: &str)

    Notify that the given property has changed its value. Read more
    source§

    fn notify_by_pspec(&self, pspec: &ParamSpec)

    Notify that the given property has changed its value. Read more
    source§

    fn downgrade(&self) -> WeakRef<T>

    Downgrade this object to a weak reference.
    source§

    fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
    where + F: FnOnce() + Send + 'static,

    Add a callback to be notified when the Object is disposed.
    source§

    fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
    where + F: FnOnce() + 'static,

    Add a callback to be notified when the Object is disposed. Read more
    source§

    fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
    where - O: ObjectType,

    Bind property source_property on this object to the target_property on the target object. Read more
    source§

    fn ref_count(&self) -> u32

    Returns the strong reference count of this object.
    source§

    unsafe fn run_dispose(&self)

    Runs the dispose mechanism of the object. Read more
    source§

    impl<T> Property for T
    where + O: ObjectType,

    Bind property source_property on this object to the target_property on the target object. Read more
    source§

    fn ref_count(&self) -> u32

    Returns the strong reference count of this object.
    source§

    unsafe fn run_dispose(&self)

    Runs the dispose mechanism of the object. Read more
    source§

    impl<T> Property for T
    where T: HasParamSpec,

    source§

    type Value = T

    source§

    impl<T> PropertyGet for T
    where T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where @@ -276,6 +276,6 @@
    §Panics
    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.
    source§

    impl<'a, T, C, E> FromValueOptional<'a> for T
    where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

    source§

    impl<Super, Sub> MayDowncastTo<Sub> for Super
    where + E: Error + Send + 'static,

    source§

    impl<Super, Sub> MayDowncastTo<Sub> for Super
    where Super: IsA<Super>, Sub: IsA<Super>,

    \ No newline at end of file diff --git a/git/docs/glib/object/struct.ObjectBuilder.html b/git/docs/glib/object/struct.ObjectBuilder.html index 28d348f6b921..0f792902275d 100644 --- a/git/docs/glib/object/struct.ObjectBuilder.html +++ b/git/docs/glib/object/struct.ObjectBuilder.html @@ -71,10 +71,10 @@ -
    glib::object

    Struct ObjectBuilder

    source
    pub struct ObjectBuilder<'a, O> { /* private fields */ }

    Implementations§

    source§

    impl<'a, O: IsA<Object> + IsClass> ObjectBuilder<'a, O>

    source

    pub fn type_(&self) -> Type

    Gets the type of this builder.

    -
    source

    pub fn property(self, name: &'a str, value: impl Into<Value>) -> Self

    Sets property name to the given value value.

    +
    glib::object

    Struct ObjectBuilder

    source
    pub struct ObjectBuilder<'a, O> { /* private fields */ }

    Implementations§

    source§

    impl<'a, O: IsA<Object> + IsClass> ObjectBuilder<'a, O>

    source

    pub fn type_(&self) -> Type

    Gets the type of this builder.

    +
    source

    pub fn property(self, name: &'a str, value: impl Into<Value>) -> Self

    Sets property name to the given value value.

    Overrides any default or previously defined value for name.

    -
    source

    pub fn property_if( +

    source

    pub fn property_if( self, name: &'a str, value: impl Into<Value>, @@ -82,25 +82,25 @@ ) -> Self

    Sets property name to the given inner value if the predicate evaluates to true.

    This has no effect if the predicate evaluates to false, i.e. default or previous value for name is kept.

    -
    source

    pub fn property_if_some( +

    source

    pub fn property_if_some( self, name: &'a str, value: Option<impl Into<Value>>, ) -> Self

    Sets property name to the given inner value if value is Some.

    This has no effect if the value is None, i.e. default or previous value for name is kept.

    -
    source

    pub fn property_from_iter<V: ValueType + Into<Value> + FromIterator<Value>>( +

    source

    pub fn property_from_iter<V: ValueType + Into<Value> + FromIterator<Value>>( self, name: &'a str, iter: impl IntoIterator<Item = impl Into<Value>>, ) -> Self

    Sets property name using the given ValueType V built from iter’s the Items.

    Overrides any default or previously defined value for name.

    -
    source

    pub fn property_if_not_empty<V: ValueType + Into<Value> + FromIterator<Value>>( +

    source

    pub fn property_if_not_empty<V: ValueType + Into<Value> + FromIterator<Value>>( self, name: &'a str, iter: impl IntoIterator<Item = impl Into<Value>>, ) -> Self

    Sets property name using the given ValueType V built from iter’s Items, if iter` is not empty.

    This has no effect if iter is empty, i.e. previous property value for name is unchanged.

    -
    source

    pub fn build(self) -> O

    Build the object with the provided properties.

    +
    source

    pub fn build(self) -> O

    Build the object with the provided properties.

    §Panics

    This panics if the object is not instantiable, doesn’t have all the given properties or property values of the wrong type are provided.

    diff --git a/git/docs/glib/object/struct.ObjectRef.html b/git/docs/glib/object/struct.ObjectRef.html index 66aae65ae107..8be2944ad5aa 100644 --- a/git/docs/glib/object/struct.ObjectRef.html +++ b/git/docs/glib/object/struct.ObjectRef.html @@ -71,17 +71,17 @@ -
    glib::object

    Struct ObjectRef

    source
    pub struct ObjectRef { /* private fields */ }

    Trait Implementations§

    source§

    impl Clone for ObjectRef

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ObjectRef

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Drop for ObjectRef

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Hash for ObjectRef

    source§

    fn hash<H>(&self, state: &mut H)
    where +
    glib::object

    Struct ObjectRef

    source
    pub struct ObjectRef { /* private fields */ }

    Trait Implementations§

    source§

    impl Clone for ObjectRef

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ObjectRef

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Drop for ObjectRef

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Hash for ObjectRef

    source§

    fn hash<H>(&self, state: &mut H)
    where H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ObjectRef

    source§

    fn cmp(&self, other: &Self) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ObjectRef

    source§

    fn cmp(&self, other: &Self) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ObjectRef

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for ObjectRef

    source§

    fn partial_cmp(&self, other: &Self) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ObjectRef

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for ObjectRef

    source§

    fn partial_cmp(&self, other: &Self) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl Eq for ObjectRef

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl Eq for ObjectRef

    Auto Trait Implementations§

    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
    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 diff --git a/git/docs/glib/object/struct.ObjectValueTypeChecker.html b/git/docs/glib/object/struct.ObjectValueTypeChecker.html index f21ea832f6b1..2492aad12d4b 100644 --- a/git/docs/glib/object/struct.ObjectValueTypeChecker.html +++ b/git/docs/glib/object/struct.ObjectValueTypeChecker.html @@ -71,8 +71,8 @@ -
    glib::object

    Struct ObjectValueTypeChecker

    source
    pub struct ObjectValueTypeChecker<T>(/* private fields */);
    Expand description

    Value type checker for object types.

    -

    Trait Implementations§

    Auto Trait Implementations§

    §

    impl<T> Freeze for ObjectValueTypeChecker<T>

    §

    impl<T> RefUnwindSafe for ObjectValueTypeChecker<T>
    where +
    glib::object

    Struct ObjectValueTypeChecker

    source
    pub struct ObjectValueTypeChecker<T>(/* private fields */);
    Expand description

    Value type checker for object types.

    +

    Trait Implementations§

    Auto Trait Implementations§

    §

    impl<T> Freeze for ObjectValueTypeChecker<T>

    §

    impl<T> RefUnwindSafe for ObjectValueTypeChecker<T>
    where T: RefUnwindSafe,

    §

    impl<T> Send for ObjectValueTypeChecker<T>
    where T: Send,

    §

    impl<T> Sync for ObjectValueTypeChecker<T>
    where T: Sync,

    §

    impl<T> Unpin for ObjectValueTypeChecker<T>
    where diff --git a/git/docs/glib/object/struct.PropertyNotificationFreezeGuard.html b/git/docs/glib/object/struct.PropertyNotificationFreezeGuard.html index cffd0de459a6..38e7a6a3b6fb 100644 --- a/git/docs/glib/object/struct.PropertyNotificationFreezeGuard.html +++ b/git/docs/glib/object/struct.PropertyNotificationFreezeGuard.html @@ -71,7 +71,7 @@ -
    glib::object

    Struct PropertyNotificationFreezeGuard

    source
    pub struct PropertyNotificationFreezeGuard(/* private fields */);

    Trait Implementations§

    source§

    impl Drop for PropertyNotificationFreezeGuard

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +
    glib::object

    Struct PropertyNotificationFreezeGuard

    source
    pub struct PropertyNotificationFreezeGuard(/* private fields */);

    Trait Implementations§

    source§

    impl Drop for PropertyNotificationFreezeGuard

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more

    Auto Trait Implementations§

    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
    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> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/git/docs/glib/object/struct.SendWeakRef.html b/git/docs/glib/object/struct.SendWeakRef.html index 5df1582a4ca4..3cab9b809d12 100644 --- a/git/docs/glib/object/struct.SendWeakRef.html +++ b/git/docs/glib/object/struct.SendWeakRef.html @@ -71,16 +71,16 @@ -
    glib::object

    Struct SendWeakRef

    source
    pub struct SendWeakRef<T: ObjectType>(/* private fields */);
    Expand description

    A weak reference to the object it was created for that can be sent to +

    glib::object

    Struct SendWeakRef

    source
    pub struct SendWeakRef<T: ObjectType>(/* private fields */);
    Expand description

    A weak reference to the object it was created for that can be sent to different threads even for object types that don’t implement Send.

    Trying to upgrade the weak reference from another thread than the one where it was created on will panic but dropping or cloning can be done safely from any thread.

    -

    Implementations§

    Methods from Deref<Target = WeakRef<T>>§

    source

    pub fn set(&self, obj: Option<&T>)

    Set this weak reference to the given object.

    -
    source

    pub fn upgrade(&self) -> Option<T>

    Try to upgrade this weak reference to a strong reference.

    +

    Implementations§

    Methods from Deref<Target = WeakRef<T>>§

    source

    pub fn set(&self, obj: Option<&T>)

    Set this weak reference to the given object.

    +
    source

    pub fn upgrade(&self) -> Option<T>

    Try to upgrade this weak reference to a strong reference.

    If the stored object was already destroyed or no object was set in this weak reference then None is returned.

    -

    Trait Implementations§

    source§

    impl<T: ObjectType> Clone for SendWeakRef<T>

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl<T: Debug + ObjectType> Debug for SendWeakRef<T>

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<T: ObjectType> Default for SendWeakRef<T>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<T: ObjectType> Deref for SendWeakRef<T>

    source§

    type Target = WeakRef<T>

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &WeakRef<T>

    Dereferences the value.
    source§

    impl<T: ObjectType> From<WeakRef<T>> for SendWeakRef<T>

    source§

    fn from(v: WeakRef<T>) -> SendWeakRef<T>

    Converts to this type from the input type.
    source§

    impl<T: IsA<Object> + HasParamSpec> Property for SendWeakRef<T>

    source§

    impl<T: IsA<Object>> PropertyGet for SendWeakRef<T>

    source§

    type Value = Option<T>

    source§

    fn get<R, F: Fn(&Self::Value) -> R>(&self, f: F) -> R

    source§

    impl<T: IsA<Object>> PropertySet for SendWeakRef<T>

    source§

    type SetValue = Option<T>

    source§

    fn set(&self, v: Self::SetValue)

    source§

    impl<T: ObjectType> Send for SendWeakRef<T>

    source§

    impl<T: ObjectType> Sync for SendWeakRef<T>

    Auto Trait Implementations§

    §

    impl<T> Freeze for SendWeakRef<T>

    §

    impl<T> RefUnwindSafe for SendWeakRef<T>
    where +

    Trait Implementations§

    source§

    impl<T: ObjectType> Clone for SendWeakRef<T>

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl<T: Debug + ObjectType> Debug for SendWeakRef<T>

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<T: ObjectType> Default for SendWeakRef<T>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<T: ObjectType> Deref for SendWeakRef<T>

    source§

    type Target = WeakRef<T>

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &WeakRef<T>

    Dereferences the value.
    source§

    impl<T: ObjectType> From<WeakRef<T>> for SendWeakRef<T>

    source§

    fn from(v: WeakRef<T>) -> SendWeakRef<T>

    Converts to this type from the input type.
    source§

    impl<T: IsA<Object> + HasParamSpec> Property for SendWeakRef<T>

    source§

    impl<T: IsA<Object>> PropertyGet for SendWeakRef<T>

    source§

    type Value = Option<T>

    source§

    fn get<R, F: Fn(&Self::Value) -> R>(&self, f: F) -> R

    source§

    impl<T: IsA<Object>> PropertySet for SendWeakRef<T>

    source§

    type SetValue = Option<T>

    source§

    fn set(&self, v: Self::SetValue)

    source§

    impl<T: ObjectType> Send for SendWeakRef<T>

    source§

    impl<T: ObjectType> Sync for SendWeakRef<T>

    Auto Trait Implementations§

    §

    impl<T> Freeze for SendWeakRef<T>

    §

    impl<T> RefUnwindSafe for SendWeakRef<T>
    where T: RefUnwindSafe,

    §

    impl<T> Unpin for SendWeakRef<T>

    §

    impl<T> UnwindSafe for SendWeakRef<T>
    where T: RefUnwindSafe,

    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
    source§

    impl<T> Borrow<T> for T
    where diff --git a/git/docs/glib/object/struct.TypedObjectRef.html b/git/docs/glib/object/struct.TypedObjectRef.html index 0b9a014734b8..e07076ea8ca8 100644 --- a/git/docs/glib/object/struct.TypedObjectRef.html +++ b/git/docs/glib/object/struct.TypedObjectRef.html @@ -71,17 +71,17 @@ -
    glib::object

    Struct TypedObjectRef

    source
    pub struct TypedObjectRef<T, P> { /* private fields */ }

    Implementations§

    source§

    impl<T, P> TypedObjectRef<T, P>

    source

    pub unsafe fn new(obj: ObjectRef) -> Self

    source

    pub fn into_inner(self) -> ObjectRef

    Trait Implementations§

    source§

    impl<T, P> Clone for TypedObjectRef<T, P>

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl<T, P> Debug for TypedObjectRef<T, P>

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<T, P> Deref for TypedObjectRef<T, P>

    source§

    type Target = ObjectRef

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl<T, P> Hash for TypedObjectRef<T, P>

    source§

    fn hash<H>(&self, state: &mut H)
    where +
    glib::object

    Struct TypedObjectRef

    source
    pub struct TypedObjectRef<T, P> { /* private fields */ }

    Implementations§

    source§

    impl<T, P> TypedObjectRef<T, P>

    source

    pub unsafe fn new(obj: ObjectRef) -> Self

    source

    pub fn into_inner(self) -> ObjectRef

    Trait Implementations§

    source§

    impl<T, P> Clone for TypedObjectRef<T, P>

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl<T, P> Debug for TypedObjectRef<T, P>

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<T, P> Deref for TypedObjectRef<T, P>

    source§

    type Target = ObjectRef

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl<T, P> Hash for TypedObjectRef<T, P>

    source§

    fn hash<H>(&self, state: &mut H)
    where H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<T, P> Ord for TypedObjectRef<T, P>

    source§

    fn cmp(&self, other: &Self) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<T, P> Ord for TypedObjectRef<T, P>

    source§

    fn cmp(&self, other: &Self) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl<T, P> PartialEq for TypedObjectRef<T, P>

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<T, P> PartialOrd for TypedObjectRef<T, P>

    source§

    fn partial_cmp(&self, other: &Self) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl<T, P> PartialEq for TypedObjectRef<T, P>

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<T, P> PartialOrd for TypedObjectRef<T, P>

    source§

    fn partial_cmp(&self, other: &Self) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl<T, P> Eq for TypedObjectRef<T, P>

    source§

    impl<T: Send + Sync, P: Send + Sync> Send for TypedObjectRef<T, P>

    source§

    impl<T: Send + Sync, P: Send + Sync> Sync for TypedObjectRef<T, P>

    Auto Trait Implementations§

    §

    impl<T, P> Freeze for TypedObjectRef<T, P>

    §

    impl<T, P> RefUnwindSafe for TypedObjectRef<T, P>
    where +the >= operator. Read more

    source§

    impl<T, P> Eq for TypedObjectRef<T, P>

    source§

    impl<T: Send + Sync, P: Send + Sync> Send for TypedObjectRef<T, P>

    source§

    impl<T: Send + Sync, P: Send + Sync> Sync for TypedObjectRef<T, P>

    Auto Trait Implementations§

    §

    impl<T, P> Freeze for TypedObjectRef<T, P>

    §

    impl<T, P> RefUnwindSafe for TypedObjectRef<T, P>

    §

    impl<T, P> Unpin for TypedObjectRef<T, P>
    where T: Unpin, diff --git a/git/docs/glib/object/struct.WeakRef.html b/git/docs/glib/object/struct.WeakRef.html index d4db8345bfef..ab9b849a557a 100644 --- a/git/docs/glib/object/struct.WeakRef.html +++ b/git/docs/glib/object/struct.WeakRef.html @@ -71,19 +71,19 @@ -
    glib::object

    Struct WeakRef

    source
    pub struct WeakRef<T: ObjectType>(/* private fields */);
    Expand description

    A weak reference to an object.

    -

    Implementations§

    source§

    impl<T: ObjectType> WeakRef<T>

    source

    pub fn new() -> WeakRef<T>

    Create a new empty weak reference.

    +
    glib::object

    Struct WeakRef

    source
    pub struct WeakRef<T: ObjectType>(/* private fields */);
    Expand description

    A weak reference to an object.

    +

    Implementations§

    source§

    impl<T: ObjectType> WeakRef<T>

    source

    pub fn new() -> WeakRef<T>

    Create a new empty weak reference.

    upgrade will always return None until an object is set on it.

    -
    source

    pub fn set(&self, obj: Option<&T>)

    Set this weak reference to the given object.

    -
    source

    pub fn upgrade(&self) -> Option<T>

    Try to upgrade this weak reference to a strong reference.

    +
    source

    pub fn set(&self, obj: Option<&T>)

    Set this weak reference to the given object.

    +
    source

    pub fn upgrade(&self) -> Option<T>

    Try to upgrade this weak reference to a strong reference.

    If the stored object was already destroyed or no object was set in this weak reference then None is returned.

    -

    Trait Implementations§

    source§

    impl<T: ObjectType> Clone for WeakRef<T>

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl<T: Debug + ObjectType> Debug for WeakRef<T>

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<T: ObjectType> Default for WeakRef<T>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<T: ObjectType> Drop for WeakRef<T>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl<T: ObjectType> From<WeakRef<T>> for SendWeakRef<T>

    source§

    fn from(v: WeakRef<T>) -> SendWeakRef<T>

    Converts to this type from the input type.
    source§

    impl<T: ObjectType> PartialEq<T> for WeakRef<T>

    source§

    fn eq(&self, other: &T) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<T: ObjectType> PartialEq for WeakRef<T>

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<T: ObjectType> PartialOrd for WeakRef<T>

    source§

    fn partial_cmp(&self, other: &Self) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +

    Trait Implementations§

    source§

    impl<T: ObjectType> Clone for WeakRef<T>

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl<T: Debug + ObjectType> Debug for WeakRef<T>

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<T: ObjectType> Default for WeakRef<T>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<T: ObjectType> Drop for WeakRef<T>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl<T: ObjectType> From<WeakRef<T>> for SendWeakRef<T>

    source§

    fn from(v: WeakRef<T>) -> SendWeakRef<T>

    Converts to this type from the input type.
    source§

    impl<T: ObjectType> PartialEq<T> for WeakRef<T>

    source§

    fn eq(&self, other: &T) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<T: ObjectType> PartialEq for WeakRef<T>

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<T: ObjectType> PartialOrd for WeakRef<T>

    source§

    fn partial_cmp(&self, other: &Self) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl<T: IsA<Object> + HasParamSpec> Property for WeakRef<T>

    source§

    impl<T: IsA<Object>> PropertyGet for WeakRef<T>

    source§

    type Value = Option<T>

    source§

    fn get<R, F: Fn(&Self::Value) -> R>(&self, f: F) -> R

    source§

    impl<T: IsA<Object>> PropertySet for WeakRef<T>

    source§

    type SetValue = Option<T>

    source§

    fn set(&self, v: Self::SetValue)

    source§

    impl<T: Downgrade + ObjectType> Upgrade for WeakRef<T>

    source§

    type Strong = T

    Strong reference type.
    source§

    fn upgrade(&self) -> Option<Self::Strong>

    Try upgrading a weak reference to a strong reference.
    source§

    impl<T: ObjectType + Send + Sync> Send for WeakRef<T>

    source§

    impl<T: ObjectType + Sync> Sync for WeakRef<T>

    Auto Trait Implementations§

    §

    impl<T> Freeze for WeakRef<T>

    §

    impl<T> RefUnwindSafe for WeakRef<T>
    where +the >= operator. Read more

    source§

    impl<T: IsA<Object> + HasParamSpec> Property for WeakRef<T>

    source§

    impl<T: IsA<Object>> PropertyGet for WeakRef<T>

    source§

    type Value = Option<T>

    source§

    fn get<R, F: Fn(&Self::Value) -> R>(&self, f: F) -> R

    source§

    impl<T: IsA<Object>> PropertySet for WeakRef<T>

    source§

    type SetValue = Option<T>

    source§

    fn set(&self, v: Self::SetValue)

    source§

    impl<T: Downgrade + ObjectType> Upgrade for WeakRef<T>

    source§

    type Strong = T

    Strong reference type.
    source§

    fn upgrade(&self) -> Option<Self::Strong>

    Try upgrading a weak reference to a strong reference.
    source§

    impl<T: ObjectType + Send + Sync> Send for WeakRef<T>

    source§

    impl<T: ObjectType + Sync> Sync for WeakRef<T>

    Auto Trait Implementations§

    §

    impl<T> Freeze for WeakRef<T>

    §

    impl<T> RefUnwindSafe for WeakRef<T>
    where T: RefUnwindSafe,

    §

    impl<T> Unpin for WeakRef<T>

    §

    impl<T> UnwindSafe for WeakRef<T>
    where T: RefUnwindSafe,

    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
    source§

    impl<T> Borrow<T> for T
    where diff --git a/git/docs/glib/object/struct.WeakRefNotify.html b/git/docs/glib/object/struct.WeakRefNotify.html index d8fadef598be..49eecffd0c66 100644 --- a/git/docs/glib/object/struct.WeakRefNotify.html +++ b/git/docs/glib/object/struct.WeakRefNotify.html @@ -71,10 +71,10 @@ -
    glib::object

    Struct WeakRefNotify

    source
    pub struct WeakRefNotify<T: ObjectType> { /* private fields */ }
    Expand description

    A handle to disconnect a weak ref notify closure.

    -

    Implementations§

    source§

    impl<T: ObjectType> WeakRefNotify<T>

    source

    pub fn upgrade(&self) -> Option<T>

    Try to upgrade this weak reference to a strong reference.

    +
    glib::object

    Struct WeakRefNotify

    source
    pub struct WeakRefNotify<T: ObjectType> { /* private fields */ }
    Expand description

    A handle to disconnect a weak ref notify closure.

    +

    Implementations§

    source§

    impl<T: ObjectType> WeakRefNotify<T>

    source

    pub fn upgrade(&self) -> Option<T>

    Try to upgrade this weak reference to a strong reference.

    If the stored object was already destroyed then None is returned.

    -
    source

    pub fn disconnect(self)

    Auto Trait Implementations§

    §

    impl<T> Freeze for WeakRefNotify<T>

    §

    impl<T> !RefUnwindSafe for WeakRefNotify<T>

    §

    impl<T> !Send for WeakRefNotify<T>

    §

    impl<T> !Sync for WeakRefNotify<T>

    §

    impl<T> Unpin for WeakRefNotify<T>

    §

    impl<T> !UnwindSafe for WeakRefNotify<T>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    source

    pub fn disconnect(self)

    Auto Trait Implementations§

    §

    impl<T> Freeze for WeakRefNotify<T>

    §

    impl<T> !RefUnwindSafe for WeakRefNotify<T>

    §

    impl<T> !Send for WeakRefNotify<T>

    §

    impl<T> !Sync for WeakRefNotify<T>

    §

    impl<T> Unpin for WeakRefNotify<T>

    §

    impl<T> !UnwindSafe for WeakRefNotify<T>

    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
    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> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/git/docs/glib/object/trait.Cast.html b/git/docs/glib/object/trait.Cast.html index e17b86326e73..a829a7579ef3 100644 --- a/git/docs/glib/object/trait.Cast.html +++ b/git/docs/glib/object/trait.Cast.html @@ -71,7 +71,7 @@ -
    glib::object

    Trait Cast

    source
    pub trait Cast: ObjectType {
    +
    glib::object

    Trait Cast

    source
    pub trait Cast: ObjectType {
         // Provided methods
         fn upcast<T: ObjectType>(self) -> T
            where Self: IsA<T> { ... }
    @@ -87,7 +87,7 @@
         unsafe fn unsafe_cast_ref<T: ObjectType>(&self) -> &T { ... }
     }
    Expand description

    Upcasting and downcasting support.

    Provides conversions up and down the class hierarchy tree.

    -

    Provided Methods§

    source

    fn upcast<T: ObjectType>(self) -> T
    where +

    Provided Methods§

    source

    fn upcast<T: ObjectType>(self) -> T
    where Self: IsA<T>,

    Upcasts an object to a superclass or interface T.

    NOTE: This statically checks at compile-time if casting is possible. It is not always known at compile-time, whether a specific object implements an interface or not, in which case @@ -96,7 +96,7 @@

    §Example
    let button = gtk::Button::new();
     let widget = button.upcast::<gtk::Widget>();
    -
    source

    fn upcast_ref<T: ObjectType>(&self) -> &T
    where +

    source

    fn upcast_ref<T: ObjectType>(&self) -> &T
    where Self: IsA<T>,

    Upcasts an object to a reference of its superclass or interface T.

    NOTE: This statically checks at compile-time if casting is possible. It is not always known at compile-time, whether a specific object implements an interface or not, in which case @@ -105,7 +105,7 @@

    §Example
    §Example
    let button = gtk::Button::new();
     let widget = button.upcast_ref::<gtk::Widget>();
    -
    source

    fn downcast<T: ObjectType>(self) -> Result<T, Self>
    where +

    source

    fn downcast<T: ObjectType>(self) -> Result<T, Self>
    where Self: MayDowncastTo<T>,

    Tries to downcast to a subclass or interface implementor T.

    Returns Ok(T) if the object is an instance of T and Err(self) otherwise.

    @@ -116,7 +116,7 @@
    §Example
    let button = gtk::Button::new();
     let widget = button.upcast::<gtk::Widget>();
     assert!(widget.downcast::<gtk::Button>().is_ok());
    -
    source

    fn downcast_ref<T: ObjectType>(&self) -> Option<&T>
    where +

    source

    fn downcast_ref<T: ObjectType>(&self) -> Option<&T>
    where Self: MayDowncastTo<T>,

    Tries to downcast to a reference of its subclass or interface implementor T.

    Returns Some(T) if the object is an instance of T and None otherwise.

    @@ -127,7 +127,7 @@
    §Example
    let button = gtk::Button::new();
     let widget = button.upcast::<gtk::Widget>();
     assert!(widget.downcast_ref::<gtk::Button>().is_some());
    -
    source

    fn dynamic_cast<T: ObjectType>(self) -> Result<T, Self>

    Tries to cast to an object of type T. This handles upcasting, downcasting +

    source

    fn dynamic_cast<T: ObjectType>(self) -> Result<T, Self>

    Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of @@ -142,7 +142,7 @@

    §Example
    assert!(widget.is_ok()); let widget = widget.unwrap(); assert!(widget.dynamic_cast::<gtk::Button>().is_ok());
    -
    source

    fn dynamic_cast_ref<T: ObjectType>(&self) -> Option<&T>

    Tries to cast to reference to an object of type T. This handles upcasting, downcasting +

    source

    fn dynamic_cast_ref<T: ObjectType>(&self) -> Option<&T>

    Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while downcast and upcast will do many checks at compile-time already.

    It is not always known at compile-time, whether a specific object implements an interface or @@ -155,16 +155,16 @@

    §Example
    assert!(widget.is_some()); let widget = widget.unwrap(); assert!(widget.dynamic_cast_ref::<gtk::Button>().is_some());
    -
    source

    unsafe fn unsafe_cast<T: ObjectType>(self) -> T

    Casts to T unconditionally.

    +
    source

    unsafe fn unsafe_cast<T: ObjectType>(self) -> T

    Casts to T unconditionally.

    §Panics

    Panics if compiled with debug_assertions and the instance doesn’t implement T.

    §Safety

    If not running with debug_assertions enabled, the caller is responsible for ensuring that the instance implements T

    -
    source

    unsafe fn unsafe_cast_ref<T: ObjectType>(&self) -> &T

    Casts to &T unconditionally.

    +
    source

    unsafe fn unsafe_cast_ref<T: ObjectType>(&self) -> &T

    Casts to &T unconditionally.

    §Panics

    Panics if compiled with debug_assertions and the instance doesn’t implement T.

    §Safety

    If not running with debug_assertions enabled, the caller is responsible for ensuring that the instance implements T

    -

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    source§

    impl<T: ObjectType> Cast for T

    \ No newline at end of file +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    source§

    impl<T: ObjectType> Cast for T

    \ No newline at end of file diff --git a/git/docs/glib/object/trait.CastNone.html b/git/docs/glib/object/trait.CastNone.html index 0533ca053de5..0dea8e79f218 100644 --- a/git/docs/glib/object/trait.CastNone.html +++ b/git/docs/glib/object/trait.CastNone.html @@ -71,7 +71,7 @@ -
    glib::object

    Trait CastNone

    source
    pub trait CastNone: Sized {
    +
    glib::object

    Trait CastNone

    source
    pub trait CastNone: Sized {
         type Inner;
     
         // Required methods
    @@ -98,12 +98,12 @@ 

    §Example

    // Using `CastNone` we can avoid the first `unwrap()` call let label = widget.and_downcast::<gtk::Label>().unwrap();
    -

    Required Associated Types§

    Required Methods§

    source

    fn and_downcast<T: ObjectType>(self) -> Option<T>
    where - Self::Inner: MayDowncastTo<T>,

    source

    fn and_downcast_ref<T: ObjectType>(&self) -> Option<&T>
    where - Self::Inner: MayDowncastTo<T>,

    source

    fn and_upcast<T: ObjectType>(self) -> Option<T>
    where - Self::Inner: IsA<T>,

    source

    fn and_upcast_ref<T: ObjectType>(&self) -> Option<&T>
    where - Self::Inner: IsA<T>,

    source

    fn and_dynamic_cast<T: ObjectType>(self) -> Result<T, Self>

    source

    fn and_dynamic_cast_ref<T: ObjectType>(&self) -> Option<&T>

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl<I: ObjectType + Sized> CastNone for Option<I>

    source§

    type Inner = I

    source§

    fn and_downcast<T: ObjectType>(self) -> Option<T>
    where - Self::Inner: MayDowncastTo<T>,

    source§

    fn and_downcast_ref<T: ObjectType>(&self) -> Option<&T>
    where - Self::Inner: MayDowncastTo<T>,

    source§

    fn and_upcast<T: ObjectType>(self) -> Option<T>
    where - Self::Inner: IsA<T>,

    source§

    fn and_upcast_ref<T: ObjectType>(&self) -> Option<&T>
    where - Self::Inner: IsA<T>,

    source§

    fn and_dynamic_cast<T: ObjectType>(self) -> Result<T, Self>

    source§

    fn and_dynamic_cast_ref<T: ObjectType>(&self) -> Option<&T>

    Implementors§

    \ No newline at end of file +

    Required Associated Types§

    Required Methods§

    source

    fn and_downcast<T: ObjectType>(self) -> Option<T>
    where + Self::Inner: MayDowncastTo<T>,

    source

    fn and_downcast_ref<T: ObjectType>(&self) -> Option<&T>
    where + Self::Inner: MayDowncastTo<T>,

    source

    fn and_upcast<T: ObjectType>(self) -> Option<T>
    where + Self::Inner: IsA<T>,

    source

    fn and_upcast_ref<T: ObjectType>(&self) -> Option<&T>
    where + Self::Inner: IsA<T>,

    source

    fn and_dynamic_cast<T: ObjectType>(self) -> Result<T, Self>

    source

    fn and_dynamic_cast_ref<T: ObjectType>(&self) -> Option<&T>

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl<I: ObjectType + Sized> CastNone for Option<I>

    source§

    type Inner = I

    source§

    fn and_downcast<T: ObjectType>(self) -> Option<T>
    where + Self::Inner: MayDowncastTo<T>,

    source§

    fn and_downcast_ref<T: ObjectType>(&self) -> Option<&T>
    where + Self::Inner: MayDowncastTo<T>,

    source§

    fn and_upcast<T: ObjectType>(self) -> Option<T>
    where + Self::Inner: IsA<T>,

    source§

    fn and_upcast_ref<T: ObjectType>(&self) -> Option<&T>
    where + Self::Inner: IsA<T>,

    source§

    fn and_dynamic_cast<T: ObjectType>(self) -> Result<T, Self>

    source§

    fn and_dynamic_cast_ref<T: ObjectType>(&self) -> Option<&T>

    Implementors§

    \ No newline at end of file diff --git a/git/docs/glib/object/trait.IsA.html b/git/docs/glib/object/trait.IsA.html index 857a5d5c84a9..6bd11cf16a4b 100644 --- a/git/docs/glib/object/trait.IsA.html +++ b/git/docs/glib/object/trait.IsA.html @@ -71,7 +71,7 @@ -
    glib::object

    Trait IsA

    source
    pub unsafe trait IsA<T: ObjectType>:
    +
    glib::object

    Trait IsA

    source
    pub unsafe trait IsA<T: ObjectType>:
         ObjectType
         + Into<T>
         + AsRef<T>
    @@ -82,4 +82,4 @@
     IsA<glib::Object> and IsA<gtk::Buildable>.

    The trait can only be implemented if the appropriate ToGlibPtr implementations exist.

    -

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/git/docs/glib/object/trait.IsClass.html b/git/docs/glib/object/trait.IsClass.html index bdbf9435277e..54d71d4c279d 100644 --- a/git/docs/glib/object/trait.IsClass.html +++ b/git/docs/glib/object/trait.IsClass.html @@ -71,5 +71,5 @@ -
    glib::object

    Trait IsClass

    source
    pub unsafe trait IsClass: ObjectType { }
    Expand description

    Trait implemented by class types.

    +
    glib::object

    Trait IsClass

    source
    pub unsafe trait IsClass: ObjectType { }
    Expand description

    Trait implemented by class types.

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/git/docs/glib/object/trait.IsInterface.html b/git/docs/glib/object/trait.IsInterface.html index 01713968d9cf..fb1b3a2ac462 100644 --- a/git/docs/glib/object/trait.IsInterface.html +++ b/git/docs/glib/object/trait.IsInterface.html @@ -71,5 +71,5 @@ -
    glib::object

    Trait IsInterface

    source
    pub unsafe trait IsInterface: ObjectType { }
    Expand description

    Trait implemented by interface types.

    +
    glib::object

    Trait IsInterface

    source
    pub unsafe trait IsInterface: ObjectType { }
    Expand description

    Trait implemented by interface types.

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/git/docs/glib/object/trait.MayDowncastTo.html b/git/docs/glib/object/trait.MayDowncastTo.html index 1f048341b31d..f3cb8e84b923 100644 --- a/git/docs/glib/object/trait.MayDowncastTo.html +++ b/git/docs/glib/object/trait.MayDowncastTo.html @@ -71,5 +71,5 @@ -
    glib::object

    Trait MayDowncastTo

    source
    pub trait MayDowncastTo<T> { }
    Expand description

    Marker trait for the statically known possibility of downcasting from Self to T.

    -

    Implementors§

    source§

    impl<Super: IsA<Super>, Sub: IsA<Super>> MayDowncastTo<Sub> for Super

    \ No newline at end of file +
    glib::object

    Trait MayDowncastTo

    source
    pub trait MayDowncastTo<T> { }
    Expand description

    Marker trait for the statically known possibility of downcasting from Self to T.

    +

    Implementors§

    source§

    impl<Super: IsA<Super>, Sub: IsA<Super>> MayDowncastTo<Sub> for Super

    \ No newline at end of file diff --git a/git/docs/glib/object/trait.ObjectClassExt.html b/git/docs/glib/object/trait.ObjectClassExt.html index a2577c824e48..0cb74db2a902 100644 --- a/git/docs/glib/object/trait.ObjectClassExt.html +++ b/git/docs/glib/object/trait.ObjectClassExt.html @@ -71,17 +71,17 @@ -
    glib::object

    Trait ObjectClassExt

    source
    pub unsafe trait ObjectClassExt {
    +
    glib::object

    Trait ObjectClassExt

    source
    pub unsafe trait ObjectClassExt {
         // Provided methods
         fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool { ... }
         fn property_type(&self, property_name: &str) -> Option<Type> { ... }
         fn find_property(&self, property_name: &str) -> Option<ParamSpec> { ... }
         fn list_properties(&self) -> PtrSlice<ParamSpec> { ... }
     }
    Expand description

    Trait for class methods on Object and subclasses of it.

    -

    Provided Methods§

    source

    fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

    Check if the object class has a property property_name of the given type_.

    +

    Provided Methods§

    source

    fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

    Check if the object class has a property property_name of the given type_.

    If no type is provided then only the existence of the property is checked.

    -
    source

    fn property_type(&self, property_name: &str) -> Option<Type>

    Get the type of the property property_name of this object class.

    +
    source

    fn property_type(&self, property_name: &str) -> Option<Type>

    Get the type of the property property_name of this object class.

    This returns None if the property does not exist.

    -
    source

    fn find_property(&self, property_name: &str) -> Option<ParamSpec>

    Get the ParamSpec of the property property_name of this object class.

    -
    source

    fn list_properties(&self) -> PtrSlice<ParamSpec>

    Return all ParamSpec of the properties of this object class.

    -

    Implementors§

    \ No newline at end of file +
    source

    fn find_property(&self, property_name: &str) -> Option<ParamSpec>

    Get the ParamSpec of the property property_name of this object class.

    +
    source

    fn list_properties(&self) -> PtrSlice<ParamSpec>

    Return all ParamSpec of the properties of this object class.

    +

    Implementors§

    \ No newline at end of file diff --git a/git/docs/glib/object/trait.ObjectExt.html b/git/docs/glib/object/trait.ObjectExt.html index 6f1937c8c29e..60dbd9da499c 100644 --- a/git/docs/glib/object/trait.ObjectExt.html +++ b/git/docs/glib/object/trait.ObjectExt.html @@ -71,7 +71,7 @@ -
    glib::object

    Trait ObjectExt

    source
    pub trait ObjectExt: ObjectType {
    +
    glib::object

    Trait ObjectExt

    source
    pub trait ObjectExt: ObjectType {
     
    Show 56 methods // Required methods fn is<T: StaticType>(&self) -> bool; fn type_(&self) -> Type; @@ -242,76 +242,76 @@ ) -> BindingBuilder<'a, 'f, 't>; fn ref_count(&self) -> u32; unsafe fn run_dispose(&self); -
    }

    Required Methods§

    source

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

    Returns true if the object is an instance of (can be cast to) T.

    -
    source

    fn type_(&self) -> Type

    Returns the type of the object.

    -
    source

    fn object_class(&self) -> &ObjectClass

    Returns the ObjectClass of the object.

    +
    }

    Required Methods§

    source

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

    Returns true if the object is an instance of (can be cast to) T.

    +
    source

    fn type_(&self) -> Type

    Returns the type of the object.

    +
    source

    fn object_class(&self) -> &ObjectClass

    Returns the ObjectClass of the object.

    This is equivalent to calling obj.class().upcast_ref::<ObjectClass>().

    -
    source

    fn class(&self) -> &Class<Self>
    where +

    source

    fn class(&self) -> &Class<Self>
    where Self: IsClass,

    Returns the class of the object.

    -
    source

    fn class_of<T: IsClass>(&self) -> Option<&Class<T>>

    Returns the class of the object in the given type T.

    +
    source

    fn class_of<T: IsClass>(&self) -> Option<&Class<T>>

    Returns the class of the object in the given type T.

    None is returned if the object is not a subclass of T.

    -
    source

    fn interface<T: IsInterface>(&self) -> Option<InterfaceRef<'_, T>>

    Returns the interface T of the object.

    +
    source

    fn interface<T: IsInterface>(&self) -> Option<InterfaceRef<'_, T>>

    Returns the interface T of the object.

    None is returned if the object does not implement the interface T.

    -
    source

    fn set_property(&self, property_name: &str, value: impl Into<Value>)

    Sets the property property_name of the object to value value.

    +
    source

    fn set_property(&self, property_name: &str, value: impl Into<Value>)

    Sets the property property_name of the object to value value.

    §Panics

    If the property does not exist, if the type of the property is different than the provided value, or if the property is not writable.

    -
    source

    fn set_property_from_value(&self, property_name: &str, value: &Value)

    Sets the property property_name of the object to value value.

    +
    source

    fn set_property_from_value(&self, property_name: &str, value: &Value)

    Sets the property property_name of the object to value value.

    §Panics

    If the property does not exist, the type of the property is different than the provided value, or if the property is not writable.

    -
    source

    fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

    Sets multiple properties of the object at once.

    +
    source

    fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

    Sets multiple properties of the object at once.

    §Panics

    This does not set any properties if one or more properties don’t exist, values of the wrong type are provided, or if any of the properties is not writable.

    -
    source

    fn set_properties_from_value(&self, property_values: &[(&str, Value)])

    Sets multiple properties of the object at once.

    +
    source

    fn set_properties_from_value(&self, property_values: &[(&str, Value)])

    Sets multiple properties of the object at once.

    §Panics

    This does not set any properties if one or more properties don’t exist, values of the wrong type are provided, or if any of the properties is not writable.

    -
    source

    fn property<V: for<'b> FromValue<'b> + 'static>(&self, property_name: &str) -> V

    Gets the property property_name of the object and cast it to the type V.

    +
    source

    fn property<V: for<'b> FromValue<'b> + 'static>(&self, property_name: &str) -> V

    Gets the property property_name of the object and cast it to the type V.

    §Panics

    If the property doesn’t exist or is not readable or of a different type than V.

    -
    source

    fn property_value(&self, property_name: &str) -> Value

    Gets the property property_name of the object.

    +
    source

    fn property_value(&self, property_name: &str) -> Value

    Gets the property property_name of the object.

    §Panics

    If the property does not exist or is not writable.

    -
    source

    fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

    Check if the object has a property property_name of the given type_.

    +
    source

    fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

    Check if the object has a property property_name of the given type_.

    If no type is provided then only the existence of the property is checked.

    -
    source

    fn property_type(&self, property_name: &str) -> Option<Type>

    Get the type of the property property_name of this object.

    +
    source

    fn property_type(&self, property_name: &str) -> Option<Type>

    Get the type of the property property_name of this object.

    This returns None if the property does not exist.

    -
    source

    fn find_property(&self, property_name: &str) -> Option<ParamSpec>

    Get the ParamSpec of the property property_name of this object.

    -
    source

    fn list_properties(&self) -> PtrSlice<ParamSpec>

    Return all ParamSpec of the properties of this object.

    -
    source

    fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

    Freeze all property notifications until the return guard object is dropped.

    +
    source

    fn find_property(&self, property_name: &str) -> Option<ParamSpec>

    Get the ParamSpec of the property property_name of this object.

    +
    source

    fn list_properties(&self) -> PtrSlice<ParamSpec>

    Return all ParamSpec of the properties of this object.

    +
    source

    fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

    Freeze all property notifications until the return guard object is dropped.

    This prevents the notify signal for all properties of this object to be emitted.

    -
    source

    unsafe fn set_qdata<QD: 'static>(&self, key: Quark, value: QD)

    Set arbitrary data on this object with the given key.

    +
    source

    unsafe fn set_qdata<QD: 'static>(&self, key: Quark, value: QD)

    Set arbitrary data on this object with the given key.

    §Safety

    This function doesn’t store type information

    -
    source

    unsafe fn qdata<QD: 'static>(&self, key: Quark) -> Option<NonNull<QD>>

    Return previously set arbitrary data of this object with the given key.

    +
    source

    unsafe fn qdata<QD: 'static>(&self, key: Quark) -> Option<NonNull<QD>>

    Return previously set arbitrary data of this object with the given key.

    §Safety

    The returned pointer can become invalid by a call to set_qdata, steal_qdata, set_data or steal_data.

    The caller is responsible for ensuring the returned value is of a suitable type

    -
    source

    unsafe fn steal_qdata<QD: 'static>(&self, key: Quark) -> Option<QD>

    Retrieve previously set arbitrary data of this object with the given key.

    +
    source

    unsafe fn steal_qdata<QD: 'static>(&self, key: Quark) -> Option<QD>

    Retrieve previously set arbitrary data of this object with the given key.

    The data is not set on the object anymore afterwards.

    §Safety

    The caller is responsible for ensuring the returned value is of a suitable type

    -
    source

    unsafe fn set_data<QD: 'static>(&self, key: &str, value: QD)

    Set arbitrary data on this object with the given key.

    +
    source

    unsafe fn set_data<QD: 'static>(&self, key: &str, value: QD)

    Set arbitrary data on this object with the given key.

    §Safety

    This function doesn’t store type information

    -
    source

    unsafe fn data<QD: 'static>(&self, key: &str) -> Option<NonNull<QD>>

    Return previously set arbitrary data of this object with the given key.

    +
    source

    unsafe fn data<QD: 'static>(&self, key: &str) -> Option<NonNull<QD>>

    Return previously set arbitrary data of this object with the given key.

    §Safety

    The returned pointer can become invalid by a call to set_qdata, steal_qdata, set_data or steal_data.

    The caller is responsible for ensuring the returned value is of a suitable type

    -
    source

    unsafe fn steal_data<QD: 'static>(&self, key: &str) -> Option<QD>

    Retrieve previously set arbitrary data of this object with the given key.

    +
    source

    unsafe fn steal_data<QD: 'static>(&self, key: &str) -> Option<QD>

    Retrieve previously set arbitrary data of this object with the given key.

    The data is not set on the object anymore afterwards.

    §Safety

    The caller is responsible for ensuring the returned value is of a suitable type

    -
    source

    fn block_signal(&self, handler_id: &SignalHandlerId)

    Block a given signal handler.

    +
    source

    fn block_signal(&self, handler_id: &SignalHandlerId)

    Block a given signal handler.

    It will not be called again during signal emissions until it is unblocked.

    -
    source

    fn unblock_signal(&self, handler_id: &SignalHandlerId)

    Unblock a given signal handler.

    -
    source

    fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

    Stop emission of the currently emitted signal.

    -
    source

    fn stop_signal_emission_by_name(&self, signal_name: &str)

    Stop emission of the currently emitted signal by the (possibly detailed) signal name.

    -
    source

    fn connect<F>( +

    source

    fn unblock_signal(&self, handler_id: &SignalHandlerId)

    Unblock a given signal handler.

    +
    source

    fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

    Stop emission of the currently emitted signal.

    +
    source

    fn stop_signal_emission_by_name(&self, signal_name: &str)

    Stop emission of the currently emitted signal by the (possibly detailed) signal name.

    +
    source

    fn connect<F>( &self, signal_name: &str, after: bool, @@ -322,7 +322,7 @@

    §Safety
    handler of the signal is emitted, otherwise before.

    §Panics

    If the signal does not exist.

    -
    source

    fn connect_id<F>( +

    source

    fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, @@ -335,7 +335,7 @@

    §Panics

    Same as Self::connect but takes a SignalId instead of a signal name.

    §Panics

    If the signal does not exist.

    -
    source

    fn connect_local<F>( +

    source

    fn connect_local<F>( &self, signal_name: &str, after: bool, @@ -348,7 +348,7 @@

    §Panics
    different thread than it was connected to then the signal emission will panic.

    §Panics

    If the signal does not exist.

    -
    source

    fn connect_local_id<F>( +

    source

    fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, @@ -362,7 +362,7 @@

    §Panics
    different thread than it was connected to then the signal emission will panic.

    §Panics

    This panics if the signal does not exist.

    -
    source

    unsafe fn connect_unsafe<F>( +

    source

    unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, @@ -378,7 +378,7 @@

    §Safety
    be allowed to call the closure from the threads the signal is emitted from.

    §Panics

    If the signal does not exist.

    -
    source

    unsafe fn connect_unsafe_id<F>( +

    source

    unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, @@ -395,7 +395,7 @@

    §Safety
    be allowed to call the closure from the threads the signal is emitted from.

    §Panics

    If the signal does not exist.

    -
    source

    fn connect_closure( +

    source

    fn connect_closure( &self, signal_name: &str, after: bool, @@ -409,7 +409,7 @@

    §Panics
    in C. This can be achieved with a closure that watches an object: see the documentation of the closure! macro for more details.

    Same as Self::connect but takes a Closure instead of a Fn.

    -
    source

    fn connect_closure_id( +

    source

    fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, @@ -421,12 +421,12 @@

    §Panics

    This panics if the signal does not exist.

    Same as Self::connect_closure but takes a SignalId instead of a signal name.

    -
    source

    fn watch_closure(&self, closure: &impl AsRef<Closure>)

    Limits the lifetime of closure to the lifetime of the object. When +

    source

    fn watch_closure(&self, closure: &impl AsRef<Closure>)

    Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or invoke when using Rust closures.

    -
    source

    fn emit<R: TryFromClosureReturnValue>( +

    source

    fn emit<R: TryFromClosureReturnValue>( &self, signal_id: SignalId, args: &[&dyn ToValue], @@ -435,8 +435,8 @@

    §Panics
    §Panics

    If the wrong number of arguments is provided, or arguments of the wrong types were provided.

    -
    source

    fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

    Same as Self::emit but takes Value for the arguments.

    -
    source

    fn emit_by_name<R: TryFromClosureReturnValue>( +

    source

    fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

    Same as Self::emit but takes Value for the arguments.

    +
    source

    fn emit_by_name<R: TryFromClosureReturnValue>( &self, signal_name: &str, args: &[&dyn ToValue], @@ -445,7 +445,7 @@

    §Panics
    §Panics

    If the signal does not exist, the wrong number of arguments is provided, or arguments of the wrong types were provided.

    -
    source

    fn emit_by_name_with_values( +

    source

    fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], @@ -454,7 +454,7 @@

    §Panics
    §Panics

    If the signal does not exist, the wrong number of arguments is provided, or arguments of the wrong types were provided.

    -
    source

    fn emit_by_name_with_details<R: TryFromClosureReturnValue>( +

    source

    fn emit_by_name_with_details<R: TryFromClosureReturnValue>( &self, signal_name: &str, details: Quark, @@ -464,7 +464,7 @@

    §Panics
    §Panics

    If the wrong number of arguments is provided, or arguments of the wrong types were provided.

    -
    source

    fn emit_by_name_with_details_and_values( +

    source

    fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, @@ -474,7 +474,7 @@

    §Panics
    §Panics

    If the wrong number of arguments is provided, or arguments of the wrong types were provided.

    -
    source

    fn emit_with_details<R: TryFromClosureReturnValue>( +

    source

    fn emit_with_details<R: TryFromClosureReturnValue>( &self, signal_id: SignalId, details: Quark, @@ -484,7 +484,7 @@

    §Panics
    §Panics

    If the wrong number of arguments is provided, or arguments of the wrong types were provided.

    -
    source

    fn emit_with_details_and_values( +

    source

    fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, @@ -494,15 +494,15 @@

    §Panics
    §Panics

    If the wrong number of arguments is provided, or arguments of the wrong types were provided.

    -
    source

    fn disconnect(&self, handler_id: SignalHandlerId)

    Disconnect a previously connected signal handler.

    -
    source

    fn connect_notify<F: Fn(&Self, &ParamSpec) + Send + Sync + 'static>( +

    source

    fn disconnect(&self, handler_id: SignalHandlerId)

    Disconnect a previously connected signal handler.

    +
    source

    fn connect_notify<F: Fn(&Self, &ParamSpec) + Send + Sync + 'static>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId

    Connect to the notify signal of the object.

    This is emitted whenever a property is changed. If name is provided then the signal handler is only called for this specific property.

    -
    source

    fn connect_notify_local<F: Fn(&Self, &ParamSpec) + 'static>( +

    source

    fn connect_notify_local<F: Fn(&Self, &ParamSpec) + 'static>( &self, name: Option<&str>, f: F, @@ -511,7 +511,7 @@

    §Panics
    handler is only called for this specific property.

    This is like connect_notify but doesn’t require a Send+Sync closure. Signal emission will panic if the signal is emitted from the wrong thread.

    -
    source

    unsafe fn connect_notify_unsafe<F: Fn(&Self, &ParamSpec)>( +

    source

    unsafe fn connect_notify_unsafe<F: Fn(&Self, &ParamSpec)>( &self, name: Option<&str>, f: F, @@ -523,22 +523,22 @@

    §Panics
    §Safety

    The provided closure must be valid until the signal handler is disconnected, and it must be allowed to call the closure from the threads the signal is emitted from.

    -
    source

    fn notify(&self, property_name: &str)

    Notify that the given property has changed its value.

    +
    source

    fn notify(&self, property_name: &str)

    Notify that the given property has changed its value.

    This emits the notify signal.

    -
    source

    fn notify_by_pspec(&self, pspec: &ParamSpec)

    Notify that the given property has changed its value.

    +
    source

    fn notify_by_pspec(&self, pspec: &ParamSpec)

    Notify that the given property has changed its value.

    This emits the notify signal.

    -
    source

    fn downgrade(&self) -> WeakRef<Self>

    Downgrade this object to a weak reference.

    -
    source

    fn add_weak_ref_notify<F: FnOnce() + Send + 'static>( +

    source

    fn downgrade(&self) -> WeakRef<Self>

    Downgrade this object to a weak reference.

    +
    source

    fn add_weak_ref_notify<F: FnOnce() + Send + 'static>( &self, f: F, ) -> WeakRefNotify<Self>

    Add a callback to be notified when the Object is disposed.

    -
    source

    fn add_weak_ref_notify_local<F: FnOnce() + 'static>( +

    source

    fn add_weak_ref_notify_local<F: FnOnce() + 'static>( &self, f: F, ) -> WeakRefNotify<Self>

    Add a callback to be notified when the Object is disposed.

    This is like add_weak_ref_notify but doesn’t require the closure to be Send. Object dispose will panic if the object is disposed from the wrong thread.

    -
    source

    fn bind_property<'a, 'f, 't, O: ObjectType>( +

    source

    fn bind_property<'a, 'f, 't, O: ObjectType>( &'a self, source_property: &'a str, target: &'a O, @@ -547,12 +547,12 @@

    §Safety

    This allows keeping the properties of both objects in sync.

    The binding can be unidirectional or bidirectional and optionally it is possible to transform the property values before they’re passed to the other object.

    -
    source

    fn ref_count(&self) -> u32

    Returns the strong reference count of this object.

    -
    source

    unsafe fn run_dispose(&self)

    Runs the dispose mechanism of the object.

    +
    source

    fn ref_count(&self) -> u32

    Returns the strong reference count of this object.

    +
    source

    unsafe fn run_dispose(&self)

    Runs the dispose mechanism of the object.

    This will dispose of any references the object has to other objects, and among other things will disconnect all signal handlers.

    §Safety

    Theoretically this is safe to run and afterwards the object is simply in a non-functional state, however many object implementations in C end up with memory safety issues if the object is used after disposal.

    -

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/git/docs/glib/object/trait.ObjectSubclassIs.html b/git/docs/glib/object/trait.ObjectSubclassIs.html index e5f25676f43b..441bad3bf081 100644 --- a/git/docs/glib/object/trait.ObjectSubclassIs.html +++ b/git/docs/glib/object/trait.ObjectSubclassIs.html @@ -71,8 +71,8 @@ -
    glib::object

    Trait ObjectSubclassIs

    source
    pub unsafe trait ObjectSubclassIs: IsClass {
    +
    glib::object

    Trait ObjectSubclassIs

    source
    pub unsafe trait ObjectSubclassIs: IsClass {
         type Subclass: ObjectSubclass;
     }
    Expand description

    Automatically implemented by ObjectSubclass variants of wrapper!

    -

    Required Associated Types§

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file +

    Required Associated Types§

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/git/docs/glib/object/trait.ParentClassIs.html b/git/docs/glib/object/trait.ParentClassIs.html index 7304b41a1008..8c5da005a330 100644 --- a/git/docs/glib/object/trait.ParentClassIs.html +++ b/git/docs/glib/object/trait.ParentClassIs.html @@ -71,6 +71,6 @@ -
    glib::object

    Trait ParentClassIs

    source
    pub unsafe trait ParentClassIs: IsClass {
    +
    glib::object

    Trait ParentClassIs

    source
    pub unsafe trait ParentClassIs: IsClass {
         type Parent: IsClass;
    -}

    Required Associated Types§

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file +}

    Required Associated Types§

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/git/docs/glib/object/type.ObjectClass.html b/git/docs/glib/object/type.ObjectClass.html index 4c0490855b60..e3ee89035e81 100644 --- a/git/docs/glib/object/type.ObjectClass.html +++ b/git/docs/glib/object/type.ObjectClass.html @@ -71,4 +71,4 @@ -
    glib::object

    Type Alias ObjectClass

    source
    pub type ObjectClass = Class<Object>;

    Aliased Type§

    struct ObjectClass(/* private fields */);
    \ No newline at end of file +
    glib::object

    Type Alias ObjectClass

    source
    pub type ObjectClass = Class<Object>;

    Aliased Type§

    struct ObjectClass(/* private fields */);
    \ No newline at end of file diff --git a/git/docs/glib/prelude/trait.HasParamSpec.html b/git/docs/glib/prelude/trait.HasParamSpec.html index d85094f57bdb..017c58d407c9 100644 --- a/git/docs/glib/prelude/trait.HasParamSpec.html +++ b/git/docs/glib/prelude/trait.HasParamSpec.html @@ -71,12 +71,12 @@ -
    glib::prelude

    Trait HasParamSpec

    source
    pub trait HasParamSpec {
    +
    glib::prelude

    Trait HasParamSpec

    source
    pub trait HasParamSpec {
         type ParamSpec;
         type SetValue: ?Sized;
         type BuilderFn;
     
         // Required method
         fn param_spec_builder() -> Self::BuilderFn;
    -}

    Required Associated Types§

    source

    type ParamSpec

    source

    type SetValue: ?Sized

    Preferred value to be used as setter for the associated ParamSpec.

    -
    source

    type BuilderFn

    Required Methods§

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl HasParamSpec for bool

    source§

    impl HasParamSpec for char

    source§

    impl HasParamSpec for f32

    source§

    impl HasParamSpec for f64

    source§

    impl HasParamSpec for i8

    source§

    impl HasParamSpec for i32

    source§

    impl HasParamSpec for i64

    source§

    impl HasParamSpec for str

    source§

    impl HasParamSpec for u8

    source§

    impl HasParamSpec for u32

    source§

    impl HasParamSpec for u64

    source§

    impl HasParamSpec for Box<str>

    source§

    impl HasParamSpec for String

    source§

    impl HasParamSpec for Vec<String>

    source§

    impl HasParamSpec for Path

    source§

    impl HasParamSpec for PathBuf

    source§

    impl HasParamSpec for NonZeroI8

    source§

    impl HasParamSpec for NonZeroI32

    source§

    impl HasParamSpec for NonZeroI64

    source§

    impl HasParamSpec for NonZeroU8

    source§

    impl HasParamSpec for NonZeroU32

    source§

    impl HasParamSpec for NonZeroU64

    source§

    impl<T: ToValueOptional + HasParamSpec> HasParamSpec for Option<T>

    source§

    impl<T: HasParamSpec + ?Sized> HasParamSpec for &T

    Implementors§

    source§

    impl HasParamSpec for NormalizeMode

    source§

    impl HasParamSpec for UnicodeBreakType

    source§

    impl HasParamSpec for UnicodeScript

    source§

    impl HasParamSpec for UnicodeType

    source§

    impl HasParamSpec for Closure

    source§

    impl HasParamSpec for StrV

    source§

    impl HasParamSpec for Error

    source§

    impl HasParamSpec for MatchInfo<'static>

    source§

    impl HasParamSpec for InitiallyUnowned

    source§

    impl HasParamSpec for Object

    source§

    impl HasParamSpec for Binding

    source§

    impl HasParamSpec for BindingFlags

    source§

    impl HasParamSpec for BindingGroup

    Available on crate feature v2_72 only.
    source§

    impl HasParamSpec for BoxedAnyObject

    source§

    impl HasParamSpec for ByteArray

    source§

    impl HasParamSpec for Bytes

    source§

    impl HasParamSpec for Checksum

    source§

    impl HasParamSpec for Date

    source§

    impl HasParamSpec for DateTime

    source§

    impl HasParamSpec for GString

    source§

    impl HasParamSpec for GStringBuilder

    source§

    impl HasParamSpec for IOCondition

    source§

    impl HasParamSpec for KeyFile

    source§

    impl HasParamSpec for MainContext

    source§

    impl HasParamSpec for MainLoop

    source§

    impl HasParamSpec for MarkupParseContext

    source§

    impl HasParamSpec for Regex

    source§

    impl HasParamSpec for SignalGroup

    Available on crate feature v2_74 only.
    source§

    impl HasParamSpec for Source

    source§

    impl HasParamSpec for TimeZone

    source§

    impl HasParamSpec for TypeModule

    source§

    impl HasParamSpec for TypePlugin

    source§

    impl HasParamSpec for Uri

    Available on crate feature v2_66 only.
    source§

    impl HasParamSpec for ValueArray

    source§

    impl HasParamSpec for VariantDict

    source§

    impl HasParamSpec for Variant

    \ No newline at end of file +}

    Required Associated Types§

    source

    type ParamSpec

    source

    type SetValue: ?Sized

    Preferred value to be used as setter for the associated ParamSpec.

    +
    source

    type BuilderFn

    Required Methods§

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl HasParamSpec for bool

    source§

    impl HasParamSpec for char

    source§

    impl HasParamSpec for f32

    source§

    impl HasParamSpec for f64

    source§

    impl HasParamSpec for i8

    source§

    impl HasParamSpec for i32

    source§

    impl HasParamSpec for i64

    source§

    impl HasParamSpec for str

    source§

    impl HasParamSpec for u8

    source§

    impl HasParamSpec for u32

    source§

    impl HasParamSpec for u64

    source§

    impl HasParamSpec for Box<str>

    source§

    impl HasParamSpec for String

    source§

    impl HasParamSpec for Vec<String>

    source§

    impl HasParamSpec for Path

    source§

    impl HasParamSpec for PathBuf

    source§

    impl HasParamSpec for NonZeroI8

    source§

    impl HasParamSpec for NonZeroI32

    source§

    impl HasParamSpec for NonZeroI64

    source§

    impl HasParamSpec for NonZeroU8

    source§

    impl HasParamSpec for NonZeroU32

    source§

    impl HasParamSpec for NonZeroU64

    source§

    impl<T: ToValueOptional + HasParamSpec> HasParamSpec for Option<T>

    source§

    impl<T: HasParamSpec + ?Sized> HasParamSpec for &T

    Implementors§

    source§

    impl HasParamSpec for NormalizeMode

    source§

    impl HasParamSpec for UnicodeBreakType

    source§

    impl HasParamSpec for UnicodeScript

    source§

    impl HasParamSpec for UnicodeType

    source§

    impl HasParamSpec for Closure

    source§

    impl HasParamSpec for StrV

    source§

    impl HasParamSpec for Error

    source§

    impl HasParamSpec for MatchInfo<'static>

    source§

    impl HasParamSpec for InitiallyUnowned

    source§

    impl HasParamSpec for Object

    source§

    impl HasParamSpec for Binding

    source§

    impl HasParamSpec for BindingFlags

    source§

    impl HasParamSpec for BindingGroup

    Available on crate feature v2_72 only.
    source§

    impl HasParamSpec for BoxedAnyObject

    source§

    impl HasParamSpec for ByteArray

    source§

    impl HasParamSpec for Bytes

    source§

    impl HasParamSpec for Checksum

    source§

    impl HasParamSpec for Date

    source§

    impl HasParamSpec for DateTime

    source§

    impl HasParamSpec for GString

    source§

    impl HasParamSpec for GStringBuilder

    source§

    impl HasParamSpec for IOCondition

    source§

    impl HasParamSpec for KeyFile

    source§

    impl HasParamSpec for MainContext

    source§

    impl HasParamSpec for MainLoop

    source§

    impl HasParamSpec for MarkupParseContext

    source§

    impl HasParamSpec for Regex

    source§

    impl HasParamSpec for SignalGroup

    Available on crate feature v2_74 only.
    source§

    impl HasParamSpec for Source

    source§

    impl HasParamSpec for TimeZone

    source§

    impl HasParamSpec for TypeModule

    source§

    impl HasParamSpec for TypePlugin

    source§

    impl HasParamSpec for Uri

    Available on crate feature v2_66 only.
    source§

    impl HasParamSpec for ValueArray

    source§

    impl HasParamSpec for VariantDict

    source§

    impl HasParamSpec for Variant

    \ No newline at end of file diff --git a/git/docs/glib/prelude/trait.ParamSpecBuilderExt.html b/git/docs/glib/prelude/trait.ParamSpecBuilderExt.html index 8c0314ad1768..111dd8d0fabe 100644 --- a/git/docs/glib/prelude/trait.ParamSpecBuilderExt.html +++ b/git/docs/glib/prelude/trait.ParamSpecBuilderExt.html @@ -71,7 +71,7 @@ -
    glib::prelude

    Trait ParamSpecBuilderExt

    source
    pub trait ParamSpecBuilderExt<'a>: Sized {
    +
    glib::prelude

    Trait ParamSpecBuilderExt

    source
    pub trait ParamSpecBuilderExt<'a>: Sized {
     
    Show 15 methods // Required methods fn set_nick(&mut self, nick: Option<&'a str>); fn set_blurb(&mut self, blurb: Option<&'a str>); @@ -93,20 +93,20 @@
    }
    Expand description

    A trait implemented by the various ParamSpec builder types.

    It is useful for providing a builder pattern for ParamSpec defined outside of GLib like in GStreamer or GTK 4.

    -

    Required Methods§

    source

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.

    -
    source

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.

    -
    source

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.

    -
    source

    fn current_flags(&self) -> ParamFlags

    Implementation detail.

    -

    Provided Methods§

    source

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. +

    Required Methods§

    source

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.

    +
    source

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.

    +
    source

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.

    +
    source

    fn current_flags(&self) -> ParamFlags

    Implementation detail.

    +

    Provided Methods§

    source

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. Otherwise, self.name will be used.

    -
    source

    fn blurb(self, blurb: &'a str) -> Self

    Default: None

    -
    source

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE

    -
    source

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.

    -
    source

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.

    -
    source

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.

    -
    source

    fn construct(self) -> Self

    Mark the property as construct

    -
    source

    fn construct_only(self) -> Self

    Mark the property as construct only

    -
    source

    fn lax_validation(self) -> Self

    Mark the property as lax validation

    -
    source

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify

    -
    source

    fn deprecated(self) -> Self

    Mark the property as deprecated

    -

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecBooleanBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecCharBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecDoubleBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecFloatBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecGTypeBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecInt64Builder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecIntBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecLongBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecParamBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecPointerBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecStringBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecUCharBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecUInt64Builder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecUIntBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecULongBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecUnicharBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecValueArrayBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecVariantBuilder<'a>

    source§

    impl<'a, T: StaticType + FromGlib<i32> + IntoGlib<GlibType = i32>> ParamSpecBuilderExt<'a> for ParamSpecEnumBuilder<'a, T>

    source§

    impl<'a, T: StaticType + FromGlib<u32> + IntoGlib<GlibType = u32>> ParamSpecBuilderExt<'a> for ParamSpecFlagsBuilder<'a, T>

    source§

    impl<'a, T: StaticType> ParamSpecBuilderExt<'a> for ParamSpecBoxedBuilder<'a, T>

    source§

    impl<'a, T: StaticType> ParamSpecBuilderExt<'a> for ParamSpecObjectBuilder<'a, T>

    \ No newline at end of file +
    source

    fn blurb(self, blurb: &'a str) -> Self

    Default: None

    +
    source

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE

    +
    source

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.

    +
    source

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.

    +
    source

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.

    +
    source

    fn construct(self) -> Self

    Mark the property as construct

    +
    source

    fn construct_only(self) -> Self

    Mark the property as construct only

    +
    source

    fn lax_validation(self) -> Self

    Mark the property as lax validation

    +
    source

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify

    +
    source

    fn deprecated(self) -> Self

    Mark the property as deprecated

    +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecBooleanBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecCharBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecDoubleBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecFloatBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecGTypeBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecInt64Builder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecIntBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecLongBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecParamBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecPointerBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecStringBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecUCharBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecUInt64Builder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecUIntBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecULongBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecUnicharBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecValueArrayBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecVariantBuilder<'a>

    source§

    impl<'a, T: StaticType + FromGlib<i32> + IntoGlib<GlibType = i32>> ParamSpecBuilderExt<'a> for ParamSpecEnumBuilder<'a, T>

    source§

    impl<'a, T: StaticType + FromGlib<u32> + IntoGlib<GlibType = u32>> ParamSpecBuilderExt<'a> for ParamSpecFlagsBuilder<'a, T>

    source§

    impl<'a, T: StaticType> ParamSpecBuilderExt<'a> for ParamSpecBoxedBuilder<'a, T>

    source§

    impl<'a, T: StaticType> ParamSpecBuilderExt<'a> for ParamSpecObjectBuilder<'a, T>

    \ No newline at end of file diff --git a/git/docs/glib/prelude/trait.ParamSpecType.html b/git/docs/glib/prelude/trait.ParamSpecType.html index ee842be98cd0..21425a6745d2 100644 --- a/git/docs/glib/prelude/trait.ParamSpecType.html +++ b/git/docs/glib/prelude/trait.ParamSpecType.html @@ -71,7 +71,7 @@ -
    glib::prelude

    Trait ParamSpecType

    source
    pub unsafe trait ParamSpecType:
    +
    \ No newline at end of file + + 'static { }

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/git/docs/glib/prelude/trait.TypeModuleExt.html b/git/docs/glib/prelude/trait.TypeModuleExt.html index 1b73787f0f66..11f6799f8167 100644 --- a/git/docs/glib/prelude/trait.TypeModuleExt.html +++ b/git/docs/glib/prelude/trait.TypeModuleExt.html @@ -71,7 +71,7 @@ -
    glib::prelude

    Trait TypeModuleExt

    source
    pub trait TypeModuleExt: IsA<TypeModule> + 'static {
    +
    glib::prelude

    Trait TypeModuleExt

    source
    pub trait TypeModuleExt: IsA<TypeModule> + 'static {
         // Provided methods
         fn add_interface(
             &self,
    @@ -99,23 +99,23 @@
         fn set_name(&self, name: &str) { ... }
         fn unuse(&self) { ... }
         fn use_(&self) -> bool { ... }
    -}

    Provided Methods§

    Provided Methods§

    source

    fn add_interface( &self, instance_type: Type, interface_type: Type, interface_info: &InterfaceInfo, -)

    source

    fn register_enum( +)

    source

    fn register_enum( &self, name: &str, const_static_values: &'static EnumValues, -) -> Type

    source

    fn register_flags( +) -> Type

    source

    fn register_flags( &self, name: &str, const_static_values: &'static FlagsValues, -) -> Type

    source

    fn register_type( +) -> Type

    source

    fn register_type( &self, parent_type: Type, type_name: &str, type_info: &TypeInfo, flags: TypeFlags, -) -> Type

    source

    fn set_name(&self, name: &str)

    source

    fn unuse(&self)

    source

    fn use_(&self) -> bool

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file +) -> Type
    source

    fn set_name(&self, name: &str)

    source

    fn unuse(&self)

    source

    fn use_(&self) -> bool

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/git/docs/glib/prelude/trait.TypePluginExt.html b/git/docs/glib/prelude/trait.TypePluginExt.html index 00f87b51542f..aac0511e9874 100644 --- a/git/docs/glib/prelude/trait.TypePluginExt.html +++ b/git/docs/glib/prelude/trait.TypePluginExt.html @@ -71,7 +71,7 @@ -
    glib::prelude

    Trait TypePluginExt

    source
    pub trait TypePluginExt: IsA<TypePlugin> + 'static {
    +
    glib::prelude

    Trait TypePluginExt

    source
    pub trait TypePluginExt: IsA<TypePlugin> + 'static {
         // Provided methods
         fn complete_interface_info(
             &self,
    @@ -83,8 +83,11 @@
         fn use_(&self) { ... }
     }
    Expand description

    Trait containing all TypePlugin methods.

    §Implementors

    +

    TypeModule, TypePlugin +Trait containing all TypePlugin methods.

    +

    §Implementors

    TypeModule, TypePlugin

    -

    Provided Methods§

    Provided Methods§

    source

    fn complete_interface_info( &self, instance_type: Type, interface_type: Type, @@ -97,20 +100,45 @@

    §i
    §interface_type

    the GType of the interface whose info is completed

    §info
    +

    the InterfaceInfo to fill in +Calls the complete_interface_info function from the +GTypePluginClass of self. There should be no need to use this +function outside of the GObject type system itself.

    +
    §instance_type
    +

    the GType of an instantiatable type to which the interface +is added

    +
    §interface_type
    +

    the GType of the interface whose info is completed

    +
    §info

    the InterfaceInfo to fill in

    -
    source

    fn complete_type_info(&self, g_type: Type) -> (TypeInfo, TypeValueTable)

    Calls the complete_type_info function from the GTypePluginClass of self. +

    source

    fn complete_type_info(&self, g_type: Type) -> (TypeInfo, TypeValueTable)

    Calls the complete_type_info function from the GTypePluginClass of self. There should be no need to use this function outside of the GObject type system itself.

    §g_type

    the GType whose info is completed

    -
    §info
    +
    §info

    the TypeInfo struct to fill in

    §value_table
    +

    the TypeValueTable to fill in +Calls the complete_type_info function from the GTypePluginClass of self. +There should be no need to use this function outside of the GObject +type system itself.

    +
    §g_type
    +

    the GType whose info is completed

    +
    §info
    +

    the TypeInfo struct to fill in

    +
    §value_table

    the TypeValueTable to fill in

    -
    source

    fn unuse(&self)

    Calls the unuse_plugin function from the GTypePluginClass of +

    source

    fn unuse(&self)

    Calls the unuse_plugin function from the GTypePluginClass of +self. There should be no need to use this function outside of +the GObject type system itself. +Calls the unuse_plugin function from the GTypePluginClass of self. There should be no need to use this function outside of the GObject type system itself.

    -
    source

    fn use_(&self)

    Calls the use_plugin function from the GTypePluginClass of +

    source

    fn use_(&self)

    Calls the use_plugin function from the GTypePluginClass of +self. There should be no need to use this function outside of +the GObject type system itself. +Calls the use_plugin function from the GTypePluginClass of self. There should be no need to use this function outside of the GObject type system itself.

    -

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/git/docs/glib/regex/index.html b/git/docs/glib/regex/index.html index 5abffbcd1b9e..555b79e1353e 100644 --- a/git/docs/glib/regex/index.html +++ b/git/docs/glib/regex/index.html @@ -71,6 +71,6 @@ -
    glib

    Module regex

    source
    Expand description

    This module is inefficient and should not be used by Rust programs except for +

    glib

    Module regex

    source
    Expand description

    This module is inefficient and should not be used by Rust programs except for compatibility with GLib.Regex based APIs.

    \ No newline at end of file diff --git a/git/docs/glib/signal/enum.Propagation.html b/git/docs/glib/signal/enum.Propagation.html index b675a6b207a4..7ab002dff808 100644 --- a/git/docs/glib/signal/enum.Propagation.html +++ b/git/docs/glib/signal/enum.Propagation.html @@ -91,7 +91,7 @@ From<T> for U chooses to do.

    source§

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

    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T, U> TryFrom<U> 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    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.
    \ No newline at end of file diff --git a/git/docs/glib/static.CSET_A_2_Z.html b/git/docs/glib/static.CSET_A_2_Z.html index ad481b071004..f2dca332fbaf 100644 --- a/git/docs/glib/static.CSET_A_2_Z.html +++ b/git/docs/glib/static.CSET_A_2_Z.html @@ -1,4 +1,4 @@ -CSET_A_2_Z in glib - Rust +CSET_A_2_Z in glib - Rust -
    glib

    Static CSET_A_2_Z

    source
    pub static CSET_A_2_Z: &GStr
    Expand description

    The set of uppercase ASCII alphabet characters. +

    glib

    Static CSET_A_2_Z

    source
    pub static CSET_A_2_Z: &GStr
    Expand description

    The set of uppercase ASCII alphabet characters. +Used for specifying valid identifier characters +in #GScannerConfig. +The set of uppercase ASCII alphabet characters. Used for specifying valid identifier characters in #GScannerConfig.

    \ No newline at end of file diff --git a/git/docs/glib/static.CSET_DIGITS.html b/git/docs/glib/static.CSET_DIGITS.html index 874cbb3a92ce..da199be56288 100644 --- a/git/docs/glib/static.CSET_DIGITS.html +++ b/git/docs/glib/static.CSET_DIGITS.html @@ -1,4 +1,4 @@ -CSET_DIGITS in glib - Rust +CSET_DIGITS in glib - Rust -
    glib

    Static CSET_DIGITS

    source
    pub static CSET_DIGITS: &GStr
    Expand description

    The set of ASCII digits. +

    glib

    Static CSET_DIGITS

    source
    pub static CSET_DIGITS: &GStr
    Expand description

    The set of ASCII digits. +Used for specifying valid identifier characters +in #GScannerConfig. +The set of ASCII digits. Used for specifying valid identifier characters in #GScannerConfig.

    \ No newline at end of file diff --git a/git/docs/glib/static.CSET_a_2_z.html b/git/docs/glib/static.CSET_a_2_z.html index 32697ab4d200..77b41212093d 100644 --- a/git/docs/glib/static.CSET_a_2_z.html +++ b/git/docs/glib/static.CSET_a_2_z.html @@ -1,4 +1,4 @@ -CSET_a_2_z in glib - Rust +CSET_a_2_z in glib - Rust -
    glib

    Static CSET_a_2_z

    source
    pub static CSET_a_2_z: &GStr
    Expand description

    The set of lowercase ASCII alphabet characters. +

    glib

    Static CSET_a_2_z

    source
    pub static CSET_a_2_z: &GStr
    Expand description

    The set of lowercase ASCII alphabet characters. +Used for specifying valid identifier characters +in #GScannerConfig. +The set of lowercase ASCII alphabet characters. Used for specifying valid identifier characters in #GScannerConfig.

    \ No newline at end of file diff --git a/git/docs/glib/static.KEY_FILE_DESKTOP_GROUP.html b/git/docs/glib/static.KEY_FILE_DESKTOP_GROUP.html index 019e5467ee7e..5bd32b764cc2 100644 --- a/git/docs/glib/static.KEY_FILE_DESKTOP_GROUP.html +++ b/git/docs/glib/static.KEY_FILE_DESKTOP_GROUP.html @@ -1,4 +1,4 @@ -KEY_FILE_DESKTOP_GROUP in glib - Rust +KEY_FILE_DESKTOP_GROUP in glib - Rust -
    glib

    Static KEY_FILE_DESKTOP_GROUP

    source
    pub static KEY_FILE_DESKTOP_GROUP: &GStr
    Expand description

    The name of the main group of a desktop entry file, as defined in the +

    glib

    Static KEY_FILE_DESKTOP_GROUP

    source
    pub static KEY_FILE_DESKTOP_GROUP: &GStr
    Expand description

    The name of the main group of a desktop entry file, as defined in the +Desktop Entry Specification. +Consult the specification for more +details about the meanings of the keys below. +The name of the main group of a desktop entry file, as defined in the Desktop Entry Specification. Consult the specification for more details about the meanings of the keys below.

    diff --git a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_ACTIONS.html b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_ACTIONS.html index 94729b708d39..33cb0b77a467 100644 --- a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_ACTIONS.html +++ b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_ACTIONS.html @@ -1,4 +1,4 @@ -KEY_FILE_DESKTOP_KEY_ACTIONS in glib - Rust +KEY_FILE_DESKTOP_KEY_ACTIONS in glib - Rust -
    glib

    Static KEY_FILE_DESKTOP_KEY_ACTIONS

    source
    pub static KEY_FILE_DESKTOP_KEY_ACTIONS: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a string list +

    glib

    Static KEY_FILE_DESKTOP_KEY_ACTIONS

    source
    pub static KEY_FILE_DESKTOP_KEY_ACTIONS: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a string list +giving the available application actions. +A key under KEY_FILE_DESKTOP_GROUP, whose value is a string list giving the available application actions.

    \ No newline at end of file diff --git a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_CATEGORIES.html b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_CATEGORIES.html index e9a1acf32f03..f90265be97c3 100644 --- a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_CATEGORIES.html +++ b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_CATEGORIES.html @@ -1,4 +1,4 @@ -KEY_FILE_DESKTOP_KEY_CATEGORIES in glib - Rust +KEY_FILE_DESKTOP_KEY_CATEGORIES in glib - Rust -
    glib

    Static KEY_FILE_DESKTOP_KEY_CATEGORIES

    source
    pub static KEY_FILE_DESKTOP_KEY_CATEGORIES: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a list +

    glib

    Static KEY_FILE_DESKTOP_KEY_CATEGORIES

    source
    pub static KEY_FILE_DESKTOP_KEY_CATEGORIES: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a list +of strings giving the categories in which the desktop entry +should be shown in a menu. +A key under KEY_FILE_DESKTOP_GROUP, whose value is a list of strings giving the categories in which the desktop entry should be shown in a menu.

    \ No newline at end of file diff --git a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_COMMENT.html b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_COMMENT.html index 4d6976611571..76683434ee67 100644 --- a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_COMMENT.html +++ b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_COMMENT.html @@ -1,4 +1,4 @@ -KEY_FILE_DESKTOP_KEY_COMMENT in glib - Rust +KEY_FILE_DESKTOP_KEY_COMMENT in glib - Rust -
    glib

    Static KEY_FILE_DESKTOP_KEY_COMMENT

    source
    pub static KEY_FILE_DESKTOP_KEY_COMMENT: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a localized +

    glib

    Static KEY_FILE_DESKTOP_KEY_COMMENT

    source
    pub static KEY_FILE_DESKTOP_KEY_COMMENT: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a localized +string giving the tooltip for the desktop entry. +A key under KEY_FILE_DESKTOP_GROUP, whose value is a localized string giving the tooltip for the desktop entry.

    \ No newline at end of file diff --git a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE.html b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE.html index 536a511578d9..5dbb88348a8b 100644 --- a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE.html +++ b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE.html @@ -1,4 +1,4 @@ -KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE in glib - Rust +KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE in glib - Rust -
    glib

    Static KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE

    source
    pub static KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a boolean +

    glib

    Static KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE

    source
    pub static KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a boolean +set to true if the application is D-Bus activatable. +A key under KEY_FILE_DESKTOP_GROUP, whose value is a boolean set to true if the application is D-Bus activatable.

    \ No newline at end of file diff --git a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_EXEC.html b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_EXEC.html index 248d4d0094f2..d568fb9527e5 100644 --- a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_EXEC.html +++ b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_EXEC.html @@ -1,4 +1,4 @@ -KEY_FILE_DESKTOP_KEY_EXEC in glib - Rust +KEY_FILE_DESKTOP_KEY_EXEC in glib - Rust -
    glib

    Static KEY_FILE_DESKTOP_KEY_EXEC

    source
    pub static KEY_FILE_DESKTOP_KEY_EXEC: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a string +

    glib

    Static KEY_FILE_DESKTOP_KEY_EXEC

    source
    pub static KEY_FILE_DESKTOP_KEY_EXEC: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a string +giving the command line to execute. It is only valid for desktop +entries with the Application type. +A key under KEY_FILE_DESKTOP_GROUP, whose value is a string giving the command line to execute. It is only valid for desktop entries with the Application type.

    \ No newline at end of file diff --git a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_GENERIC_NAME.html b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_GENERIC_NAME.html index e100ed59bfee..df35d76e1b29 100644 --- a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_GENERIC_NAME.html +++ b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_GENERIC_NAME.html @@ -1,4 +1,4 @@ -KEY_FILE_DESKTOP_KEY_GENERIC_NAME in glib - Rust +KEY_FILE_DESKTOP_KEY_GENERIC_NAME in glib - Rust -
    glib

    Static KEY_FILE_DESKTOP_KEY_GENERIC_NAME

    source
    pub static KEY_FILE_DESKTOP_KEY_GENERIC_NAME: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a localized +

    glib

    Static KEY_FILE_DESKTOP_KEY_GENERIC_NAME

    source
    pub static KEY_FILE_DESKTOP_KEY_GENERIC_NAME: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a localized +string giving the generic name of the desktop entry. +A key under KEY_FILE_DESKTOP_GROUP, whose value is a localized string giving the generic name of the desktop entry.

    \ No newline at end of file diff --git a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_HIDDEN.html b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_HIDDEN.html index 8a872a516c23..a7422aeed0d0 100644 --- a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_HIDDEN.html +++ b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_HIDDEN.html @@ -1,4 +1,4 @@ -KEY_FILE_DESKTOP_KEY_HIDDEN in glib - Rust +KEY_FILE_DESKTOP_KEY_HIDDEN in glib - Rust -
    glib

    Static KEY_FILE_DESKTOP_KEY_HIDDEN

    source
    pub static KEY_FILE_DESKTOP_KEY_HIDDEN: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a boolean +

    glib

    Static KEY_FILE_DESKTOP_KEY_HIDDEN

    source
    pub static KEY_FILE_DESKTOP_KEY_HIDDEN: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a boolean +stating whether the desktop entry has been deleted by the user. +A key under KEY_FILE_DESKTOP_GROUP, whose value is a boolean stating whether the desktop entry has been deleted by the user.

    \ No newline at end of file diff --git a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_ICON.html b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_ICON.html index f5a9ce410c49..320de9ac1619 100644 --- a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_ICON.html +++ b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_ICON.html @@ -1,4 +1,4 @@ -KEY_FILE_DESKTOP_KEY_ICON in glib - Rust +KEY_FILE_DESKTOP_KEY_ICON in glib - Rust -
    glib

    Static KEY_FILE_DESKTOP_KEY_ICON

    source
    pub static KEY_FILE_DESKTOP_KEY_ICON: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a localized +

    glib

    Static KEY_FILE_DESKTOP_KEY_ICON

    source
    pub static KEY_FILE_DESKTOP_KEY_ICON: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a localized +string giving the name of the icon to be displayed for the desktop +entry. +A key under KEY_FILE_DESKTOP_GROUP, whose value is a localized string giving the name of the icon to be displayed for the desktop entry.

    \ No newline at end of file diff --git a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_MIME_TYPE.html b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_MIME_TYPE.html index 8b3c59526923..832d8aa8f29c 100644 --- a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_MIME_TYPE.html +++ b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_MIME_TYPE.html @@ -1,4 +1,4 @@ -KEY_FILE_DESKTOP_KEY_MIME_TYPE in glib - Rust +KEY_FILE_DESKTOP_KEY_MIME_TYPE in glib - Rust -
    glib

    Static KEY_FILE_DESKTOP_KEY_MIME_TYPE

    source
    pub static KEY_FILE_DESKTOP_KEY_MIME_TYPE: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a list +

    glib

    Static KEY_FILE_DESKTOP_KEY_MIME_TYPE

    source
    pub static KEY_FILE_DESKTOP_KEY_MIME_TYPE: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a list +of strings giving the MIME types supported by this desktop entry. +A key under KEY_FILE_DESKTOP_GROUP, whose value is a list of strings giving the MIME types supported by this desktop entry.

    \ No newline at end of file diff --git a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_NAME.html b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_NAME.html index fcf6d8625678..9784c4894658 100644 --- a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_NAME.html +++ b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_NAME.html @@ -1,4 +1,4 @@ -KEY_FILE_DESKTOP_KEY_NAME in glib - Rust +KEY_FILE_DESKTOP_KEY_NAME in glib - Rust -
    glib

    Static KEY_FILE_DESKTOP_KEY_NAME

    source
    pub static KEY_FILE_DESKTOP_KEY_NAME: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a localized +

    glib

    Static KEY_FILE_DESKTOP_KEY_NAME

    source
    pub static KEY_FILE_DESKTOP_KEY_NAME: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a localized +string giving the specific name of the desktop entry. +A key under KEY_FILE_DESKTOP_GROUP, whose value is a localized string giving the specific name of the desktop entry.

    \ No newline at end of file diff --git a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN.html b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN.html index 99b40d18ef9a..ee990f0e85ff 100644 --- a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN.html +++ b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN.html @@ -1,4 +1,4 @@ -KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN in glib - Rust +KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN in glib - Rust -
    glib

    Static KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN

    source
    pub static KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a list of +

    glib

    Static KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN

    source
    pub static KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a list of +strings identifying the environments that should not display the +desktop entry. +A key under KEY_FILE_DESKTOP_GROUP, whose value is a list of strings identifying the environments that should not display the desktop entry.

    \ No newline at end of file diff --git a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_NO_DISPLAY.html b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_NO_DISPLAY.html index fc1052fc43a1..bcc47d8d0f68 100644 --- a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_NO_DISPLAY.html +++ b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_NO_DISPLAY.html @@ -1,4 +1,4 @@ -KEY_FILE_DESKTOP_KEY_NO_DISPLAY in glib - Rust +KEY_FILE_DESKTOP_KEY_NO_DISPLAY in glib - Rust -
    glib

    Static KEY_FILE_DESKTOP_KEY_NO_DISPLAY

    source
    pub static KEY_FILE_DESKTOP_KEY_NO_DISPLAY: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a boolean +

    glib

    Static KEY_FILE_DESKTOP_KEY_NO_DISPLAY

    source
    pub static KEY_FILE_DESKTOP_KEY_NO_DISPLAY: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a boolean +stating whether the desktop entry should be shown in menus. +A key under KEY_FILE_DESKTOP_GROUP, whose value is a boolean stating whether the desktop entry should be shown in menus.

    \ No newline at end of file diff --git a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN.html b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN.html index 673a79cb7d68..70c218d421ff 100644 --- a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN.html +++ b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN.html @@ -1,4 +1,4 @@ -KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN in glib - Rust +KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN in glib - Rust -
    glib

    Static KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN

    source
    pub static KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a list of +

    glib

    Static KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN

    source
    pub static KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a list of +strings identifying the environments that should display the +desktop entry. +A key under KEY_FILE_DESKTOP_GROUP, whose value is a list of strings identifying the environments that should display the desktop entry.

    \ No newline at end of file diff --git a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_PATH.html b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_PATH.html index fb18e914d49c..3f08c8594caf 100644 --- a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_PATH.html +++ b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_PATH.html @@ -1,4 +1,4 @@ -KEY_FILE_DESKTOP_KEY_PATH in glib - Rust +KEY_FILE_DESKTOP_KEY_PATH in glib - Rust -
    glib

    Static KEY_FILE_DESKTOP_KEY_PATH

    source
    pub static KEY_FILE_DESKTOP_KEY_PATH: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a string +

    glib

    Static KEY_FILE_DESKTOP_KEY_PATH

    source
    pub static KEY_FILE_DESKTOP_KEY_PATH: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a string +containing the working directory to run the program in. It is only +valid for desktop entries with the Application type. +A key under KEY_FILE_DESKTOP_GROUP, whose value is a string containing the working directory to run the program in. It is only valid for desktop entries with the Application type.

    \ No newline at end of file diff --git a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY.html b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY.html index ef7b7ef1a237..00f1180b7215 100644 --- a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY.html +++ b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY.html @@ -1,4 +1,4 @@ -KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY in glib - Rust +KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY in glib - Rust -
    glib

    Static KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY

    source
    pub static KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a boolean +

    glib

    Static KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY

    source
    pub static KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a boolean +stating whether the application supports the +Startup Notification Protocol Specification. +A key under KEY_FILE_DESKTOP_GROUP, whose value is a boolean stating whether the application supports the Startup Notification Protocol Specification.

    \ No newline at end of file diff --git a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS.html b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS.html index a930fd7dcf1c..dc1d0317f18a 100644 --- a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS.html +++ b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS.html @@ -1,4 +1,4 @@ -KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS in glib - Rust +KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS in glib - Rust -
    glib

    Static KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS

    source
    pub static KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is string +

    glib

    Static KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS

    source
    pub static KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is string +identifying the WM class or name hint of a window that the application +will create, which can be used to emulate Startup Notification with +older applications. +A key under KEY_FILE_DESKTOP_GROUP, whose value is string identifying the WM class or name hint of a window that the application will create, which can be used to emulate Startup Notification with older applications.

    diff --git a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_TERMINAL.html b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_TERMINAL.html index 7fc5da393b71..9a4cebdf2202 100644 --- a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_TERMINAL.html +++ b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_TERMINAL.html @@ -71,7 +71,10 @@ -
    glib

    Static KEY_FILE_DESKTOP_KEY_TERMINAL

    source
    pub static KEY_FILE_DESKTOP_KEY_TERMINAL: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a boolean +

    glib

    Static KEY_FILE_DESKTOP_KEY_TERMINAL

    source
    pub static KEY_FILE_DESKTOP_KEY_TERMINAL: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a boolean +stating whether the program should be run in a terminal window.

    +

    It is only valid for desktop entries with the Application type. +A key under KEY_FILE_DESKTOP_GROUP, whose value is a boolean stating whether the program should be run in a terminal window.

    It is only valid for desktop entries with the Application type.

    \ No newline at end of file diff --git a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_TRY_EXEC.html b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_TRY_EXEC.html index 1756e0a07571..0252e941d14c 100644 --- a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_TRY_EXEC.html +++ b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_TRY_EXEC.html @@ -1,4 +1,4 @@ -KEY_FILE_DESKTOP_KEY_TRY_EXEC in glib - Rust +KEY_FILE_DESKTOP_KEY_TRY_EXEC in glib - Rust -
    glib

    Static KEY_FILE_DESKTOP_KEY_TRY_EXEC

    source
    pub static KEY_FILE_DESKTOP_KEY_TRY_EXEC: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a string +

    glib

    Static KEY_FILE_DESKTOP_KEY_TRY_EXEC

    source
    pub static KEY_FILE_DESKTOP_KEY_TRY_EXEC: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a string +giving the file name of a binary on disk used to determine if the +program is actually installed. It is only valid for desktop entries +with the Application type. +A key under KEY_FILE_DESKTOP_GROUP, whose value is a string giving the file name of a binary on disk used to determine if the program is actually installed. It is only valid for desktop entries with the Application type.

    diff --git a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_TYPE.html b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_TYPE.html index 9611751bdbab..0572407886b5 100644 --- a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_TYPE.html +++ b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_TYPE.html @@ -71,7 +71,12 @@ -
    glib

    Static KEY_FILE_DESKTOP_KEY_TYPE

    source
    pub static KEY_FILE_DESKTOP_KEY_TYPE: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a string +

    glib

    Static KEY_FILE_DESKTOP_KEY_TYPE

    source
    pub static KEY_FILE_DESKTOP_KEY_TYPE: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a string +giving the type of the desktop entry.

    +

    Usually KEY_FILE_DESKTOP_TYPE_APPLICATION, +KEY_FILE_DESKTOP_TYPE_LINK, or +KEY_FILE_DESKTOP_TYPE_DIRECTORY. +A key under KEY_FILE_DESKTOP_GROUP, whose value is a string giving the type of the desktop entry.

    Usually KEY_FILE_DESKTOP_TYPE_APPLICATION, KEY_FILE_DESKTOP_TYPE_LINK, or diff --git a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_URL.html b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_URL.html index d229aab4eaaf..7588546004c6 100644 --- a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_URL.html +++ b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_URL.html @@ -1,4 +1,4 @@ -KEY_FILE_DESKTOP_KEY_URL in glib - Rust +KEY_FILE_DESKTOP_KEY_URL in glib - Rust -

    glib

    Static KEY_FILE_DESKTOP_KEY_URL

    source
    pub static KEY_FILE_DESKTOP_KEY_URL: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a string +

    glib

    Static KEY_FILE_DESKTOP_KEY_URL

    source
    pub static KEY_FILE_DESKTOP_KEY_URL: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a string +giving the URL to access. It is only valid for desktop entries +with the Link type. +A key under KEY_FILE_DESKTOP_GROUP, whose value is a string giving the URL to access. It is only valid for desktop entries with the Link type.

    \ No newline at end of file diff --git a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_VERSION.html b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_VERSION.html index 3a7d34d8eacc..d3476919aca2 100644 --- a/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_VERSION.html +++ b/git/docs/glib/static.KEY_FILE_DESKTOP_KEY_VERSION.html @@ -1,4 +1,4 @@ -KEY_FILE_DESKTOP_KEY_VERSION in glib - Rust +KEY_FILE_DESKTOP_KEY_VERSION in glib - Rust -
    glib

    Static KEY_FILE_DESKTOP_KEY_VERSION

    source
    pub static KEY_FILE_DESKTOP_KEY_VERSION: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a string +

    glib

    Static KEY_FILE_DESKTOP_KEY_VERSION

    source
    pub static KEY_FILE_DESKTOP_KEY_VERSION: &GStr
    Expand description

    A key under KEY_FILE_DESKTOP_GROUP, whose value is a string +giving the version of the Desktop Entry Specification used for +the desktop entry file. +A key under KEY_FILE_DESKTOP_GROUP, whose value is a string giving the version of the Desktop Entry Specification used for the desktop entry file.

    \ No newline at end of file diff --git a/git/docs/glib/static.KEY_FILE_DESKTOP_TYPE_APPLICATION.html b/git/docs/glib/static.KEY_FILE_DESKTOP_TYPE_APPLICATION.html index 18a0718ad217..955755742551 100644 --- a/git/docs/glib/static.KEY_FILE_DESKTOP_TYPE_APPLICATION.html +++ b/git/docs/glib/static.KEY_FILE_DESKTOP_TYPE_APPLICATION.html @@ -1,4 +1,4 @@ -KEY_FILE_DESKTOP_TYPE_APPLICATION in glib - Rust +KEY_FILE_DESKTOP_TYPE_APPLICATION in glib - Rust -
    glib

    Static KEY_FILE_DESKTOP_TYPE_APPLICATION

    source
    pub static KEY_FILE_DESKTOP_TYPE_APPLICATION: &GStr
    Expand description

    The value of the KEY_FILE_DESKTOP_KEY_TYPE, key for desktop +

    glib

    Static KEY_FILE_DESKTOP_TYPE_APPLICATION

    source
    pub static KEY_FILE_DESKTOP_TYPE_APPLICATION: &GStr
    Expand description

    The value of the KEY_FILE_DESKTOP_KEY_TYPE, key for desktop +entries representing applications. +The value of the KEY_FILE_DESKTOP_KEY_TYPE, key for desktop entries representing applications.

    \ No newline at end of file diff --git a/git/docs/glib/static.KEY_FILE_DESKTOP_TYPE_DIRECTORY.html b/git/docs/glib/static.KEY_FILE_DESKTOP_TYPE_DIRECTORY.html index d21dedc515b0..89cb6bb2767c 100644 --- a/git/docs/glib/static.KEY_FILE_DESKTOP_TYPE_DIRECTORY.html +++ b/git/docs/glib/static.KEY_FILE_DESKTOP_TYPE_DIRECTORY.html @@ -1,4 +1,4 @@ -KEY_FILE_DESKTOP_TYPE_DIRECTORY in glib - Rust +KEY_FILE_DESKTOP_TYPE_DIRECTORY in glib - Rust -
    glib

    Static KEY_FILE_DESKTOP_TYPE_DIRECTORY

    source
    pub static KEY_FILE_DESKTOP_TYPE_DIRECTORY: &GStr
    Expand description

    The value of the KEY_FILE_DESKTOP_KEY_TYPE, key for desktop +

    glib

    Static KEY_FILE_DESKTOP_TYPE_DIRECTORY

    source
    pub static KEY_FILE_DESKTOP_TYPE_DIRECTORY: &GStr
    Expand description

    The value of the KEY_FILE_DESKTOP_KEY_TYPE, key for desktop +entries representing directories. +The value of the KEY_FILE_DESKTOP_KEY_TYPE, key for desktop entries representing directories.

    \ No newline at end of file diff --git a/git/docs/glib/static.KEY_FILE_DESKTOP_TYPE_LINK.html b/git/docs/glib/static.KEY_FILE_DESKTOP_TYPE_LINK.html index 9834585356d0..d8eb84ea8b5d 100644 --- a/git/docs/glib/static.KEY_FILE_DESKTOP_TYPE_LINK.html +++ b/git/docs/glib/static.KEY_FILE_DESKTOP_TYPE_LINK.html @@ -1,4 +1,4 @@ -KEY_FILE_DESKTOP_TYPE_LINK in glib - Rust +KEY_FILE_DESKTOP_TYPE_LINK in glib - Rust -
    glib

    Static KEY_FILE_DESKTOP_TYPE_LINK

    source
    pub static KEY_FILE_DESKTOP_TYPE_LINK: &GStr
    Expand description

    The value of the KEY_FILE_DESKTOP_KEY_TYPE, key for desktop +

    glib

    Static KEY_FILE_DESKTOP_TYPE_LINK

    source
    pub static KEY_FILE_DESKTOP_TYPE_LINK: &GStr
    Expand description

    The value of the KEY_FILE_DESKTOP_KEY_TYPE, key for desktop +entries representing links to documents. +The value of the KEY_FILE_DESKTOP_KEY_TYPE, key for desktop entries representing links to documents.

    \ No newline at end of file diff --git a/git/docs/glib/static.OPTION_REMAINING.html b/git/docs/glib/static.OPTION_REMAINING.html index a36c7ecfa78f..bb93cb5d4eda 100644 --- a/git/docs/glib/static.OPTION_REMAINING.html +++ b/git/docs/glib/static.OPTION_REMAINING.html @@ -71,7 +71,15 @@ -
    glib

    Static OPTION_REMAINING

    source
    pub static OPTION_REMAINING: &GStr
    Expand description

    If a long option in the main group has this name, it is not treated as a +

    glib

    Static OPTION_REMAINING

    source
    pub static OPTION_REMAINING: &GStr
    Expand description

    If a long option in the main group has this name, it is not treated as a +regular option. Instead it collects all non-option arguments which would +otherwise be left in argv. The option must be of type +OptionArg::Callback, OptionArg::StringArray +or OptionArg::FilenameArray.

    +

    Using OPTION_REMAINING instead of simply scanning argv +for leftover arguments has the advantage that GOption takes care of +necessary encoding conversions for strings or filenames. +If a long option in the main group has this name, it is not treated as a regular option. Instead it collects all non-option arguments which would otherwise be left in argv. The option must be of type OptionArg::Callback, OptionArg::StringArray diff --git a/git/docs/glib/static.STR_DELIMITERS.html b/git/docs/glib/static.STR_DELIMITERS.html index 43e58a956a25..986854b0aeb3 100644 --- a/git/docs/glib/static.STR_DELIMITERS.html +++ b/git/docs/glib/static.STR_DELIMITERS.html @@ -1,4 +1,4 @@ -STR_DELIMITERS in glib - Rust +STR_DELIMITERS in glib - Rust -

    glib

    Static STR_DELIMITERS

    source
    pub static STR_DELIMITERS: &GStr
    Expand description

    The standard delimiters, used in strdelimit().

    +
    glib

    Static STR_DELIMITERS

    source
    pub static STR_DELIMITERS: &GStr
    Expand description

    The standard delimiters, used in strdelimit(). +The standard delimiters, used in strdelimit().

    \ No newline at end of file diff --git a/git/docs/glib/static.TEST_OPTION_ISOLATE_DIRS.html b/git/docs/glib/static.TEST_OPTION_ISOLATE_DIRS.html index 9500396e9b11..bb94dbbad850 100644 --- a/git/docs/glib/static.TEST_OPTION_ISOLATE_DIRS.html +++ b/git/docs/glib/static.TEST_OPTION_ISOLATE_DIRS.html @@ -71,7 +71,29 @@ -
    glib

    Static TEST_OPTION_ISOLATE_DIRS

    source
    pub static TEST_OPTION_ISOLATE_DIRS: &GStr
    Available on crate feature v2_60 only.
    Expand description

    Creates a unique temporary directory for each unit test and uses +

    glib

    Static TEST_OPTION_ISOLATE_DIRS

    source
    pub static TEST_OPTION_ISOLATE_DIRS: &GStr
    Available on crate feature v2_60 only.
    Expand description

    Creates a unique temporary directory for each unit test and uses +g_set_user_dirs() to set XDG directories to point into subdirectories of it +for the duration of the unit test. The directory tree is cleaned up after the +test finishes successfully. Note that this doesn’t take effect until +g_test_run() is called, so calls to (for example) g_get_user_home_dir() will +return the system-wide value when made in a test program’s main() function.

    +

    The following functions will return subdirectories of the temporary directory +when this option is used. The specific subdirectory paths in use are not +guaranteed to be stable API — always use a getter function to retrieve them.

    +
      +
    • g_get_home_dir()
    • +
    • g_get_user_cache_dir()
    • +
    • g_get_system_config_dirs()
    • +
    • g_get_user_config_dir()
    • +
    • g_get_system_data_dirs()
    • +
    • g_get_user_data_dir()
    • +
    • g_get_user_state_dir()
    • +
    • g_get_user_runtime_dir()
    • +
    +

    The subdirectories may not be created by the test harness; as with normal +calls to functions like g_get_user_cache_dir(), the caller must be prepared +to create the directory if it doesn’t exist. +Creates a unique temporary directory for each unit test and uses g_set_user_dirs() to set XDG directories to point into subdirectories of it for the duration of the unit test. The directory tree is cleaned up after the test finishes successfully. Note that this doesn’t take effect until diff --git a/git/docs/glib/static.URI_RESERVED_CHARS_GENERIC_DELIMITERS.html b/git/docs/glib/static.URI_RESERVED_CHARS_GENERIC_DELIMITERS.html index 1397192dda72..3313b5345d92 100644 --- a/git/docs/glib/static.URI_RESERVED_CHARS_GENERIC_DELIMITERS.html +++ b/git/docs/glib/static.URI_RESERVED_CHARS_GENERIC_DELIMITERS.html @@ -1,4 +1,4 @@ -URI_RESERVED_CHARS_GENERIC_DELIMITERS in glib - Rust +URI_RESERVED_CHARS_GENERIC_DELIMITERS in glib - Rust -

    glib

    Static URI_RESERVED_CHARS_GENERIC_DELIMITERS

    source
    pub static URI_RESERVED_CHARS_GENERIC_DELIMITERS: &GStr
    Expand description

    Generic delimiters characters as defined in +

    glib

    Static URI_RESERVED_CHARS_GENERIC_DELIMITERS

    source
    pub static URI_RESERVED_CHARS_GENERIC_DELIMITERS: &GStr
    Expand description

    Generic delimiters characters as defined in +RFC 3986. Includes :/?#[]@. +Generic delimiters characters as defined in RFC 3986. Includes :/?#[]@.

    \ No newline at end of file diff --git a/git/docs/glib/static.URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS.html b/git/docs/glib/static.URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS.html index b5bf1378adfb..79c886e92f9f 100644 --- a/git/docs/glib/static.URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS.html +++ b/git/docs/glib/static.URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS.html @@ -1,4 +1,4 @@ -URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS in glib - Rust +URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS in glib - Rust -
    glib

    Static URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS

    source
    pub static URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS: &GStr
    Expand description

    Subcomponent delimiter characters as defined in +

    glib

    Static URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS

    source
    pub static URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS: &GStr
    Expand description

    Subcomponent delimiter characters as defined in +RFC 3986. Includes !$&'()*+,;=. +Subcomponent delimiter characters as defined in RFC 3986. Includes !$&'()*+,;=.

    \ No newline at end of file diff --git a/git/docs/glib/struct.Binding.html b/git/docs/glib/struct.Binding.html index ccb4586590cd..513857bd6960 100644 --- a/git/docs/glib/struct.Binding.html +++ b/git/docs/glib/struct.Binding.html @@ -1,4 +1,4 @@ -Binding in glib - Rust +Binding in glib - Rust -
    glib

    Struct Binding

    source
    pub struct Binding { /* private fields */ }
    Expand description

    GObject instance (or source) and another property on another GObject -instance (or target).

    -

    Whenever the source property changes, the same value is applied to the -target property; for instance, the following binding:

    -

    ⚠️ The following code is in c ⚠️

    -
      g_object_bind_property (object1, "property-a",
    -                          object2, "property-b",
    -                          G_BINDING_DEFAULT);
    -

    will cause the property named “property-b” of object2 to be updated -every time [methodObject] or the specific accessor changes the value of -the property “property-a” of object1.

    -

    It is possible to create a bidirectional binding between two properties -of two GObject instances, so that if either property changes, the -other is updated as well, for instance:

    -

    ⚠️ The following code is in c ⚠️

    -
      g_object_bind_property (object1, "property-a",
    -                          object2, "property-b",
    -                          G_BINDING_BIDIRECTIONAL);
    -

    will keep the two properties in sync.

    -

    It is also possible to set a custom transformation function (in both -directions, in case of a bidirectional binding) to apply a custom -transformation from the source value to the target value before -applying it; for instance, the following binding:

    -

    ⚠️ The following code is in c ⚠️

    -
      g_object_bind_property_full (adjustment1, "value",
    -                               adjustment2, "value",
    -                               G_BINDING_BIDIRECTIONAL,
    -                               celsius_to_fahrenheit,
    -                               fahrenheit_to_celsius,
    -                               NULL, NULL);
    -

    will keep the “value” property of the two adjustments in sync; the -celsius_to_fahrenheit function will be called whenever the “value” -property of adjustment1 changes and will transform the current value -of the property before applying it to the “value” property of adjustment2.

    -

    Vice versa, the fahrenheit_to_celsius function will be called whenever -the “value” property of adjustment2 changes, and will transform the -current value of the property before applying it to the “value” property -of adjustment1.

    -

    Note that Binding does not resolve cycles by itself; a cycle like

    -
      object1:propertyA -> object2:propertyB
    -  object2:propertyB -> object3:propertyC
    -  object3:propertyC -> object1:propertyA
    -

    might lead to an infinite loop. The loop, in this particular case, -can be avoided if the objects emit the GObject::notify signal only -if the value has effectively been changed. A binding is implemented -using the GObject::notify signal, so it is susceptible to all the -various ways of blocking a signal emission, like [funcObject] -or [funcObject].

    -

    A binding will be severed, and the resources it allocates freed, whenever -either one of the GObject instances it refers to are finalized, or when -the Binding instance loses its last reference.

    -

    Bindings for languages with garbage collection can use -[methodObject.unbind] to explicitly release a binding between the source -and target properties, instead of relying on the last reference on the -binding, source, and target instances to drop.

    -

    §Properties

    §flags
    -

    Flags to be used to control the Binding

    -

    Readable | Writeable | Construct Only

    -
    §source
    -

    The Object that should be used as the source of the binding

    -

    Readable | Writeable | Construct Only

    -
    §source-property
    -

    The name of the property of source that should be used -as the source of the binding.

    -

    This should be in [canonical form][canonical-parameter-names] to get the -best performance.

    -

    Readable | Writeable | Construct Only

    -
    §target
    -

    The Object that should be used as the target of the binding

    -

    Readable | Writeable | Construct Only

    -
    §target-property
    -

    The name of the property of target that should be used -as the target of the binding.

    -

    This should be in [canonical form][canonical-parameter-names] to get the -best performance.

    -

    Readable | Writeable | Construct Only

    -

    §Implements

    -

    ObjectExt

    -

    GLib type: GObject with reference counted clone semantics.

    -

    Implementations§

    source§

    impl Binding

    source

    pub fn flags(&self) -> BindingFlags

    Retrieves the flags passed when constructing the Binding.

    -
    §Returns
    -

    the BindingFlags used by the Binding

    -
    source

    pub fn source_property(&self) -> GString

    Retrieves the name of the property of source used as the source -of the binding.

    -
    §Returns
    -

    the name of the source property

    -
    source

    pub fn target_property(&self) -> GString

    Retrieves the name of the property of target used as the target -of the binding.

    -
    §Returns
    -

    the name of the target property

    -
    source

    pub fn unbind(&self)

    Explicitly releases the binding between the source and the target -property expressed by self.

    -

    This function will release the reference that is being held on -the self instance if the binding is still bound; if you want to hold on -to the Binding instance after calling unbind(), you will need -to hold a reference to it.

    -

    Note however that this function does not take ownership of self, it -only unrefs the reference that was initially created by -ObjectExt::bind_property() and is owned by the binding.

    -
    source§

    impl Binding

    source

    pub fn source(&self) -> Option<Object>

    source

    pub fn target(&self) -> Option<Object>

    Trait Implementations§

    source§

    impl Clone for Binding

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +
    glib

    Struct Binding

    source
    pub struct Binding { /* private fields */ }
    Expand description

    GLib type: GObject with reference counted clone semantics.

    +

    Implementations§

    source§

    impl Binding

    source

    pub fn flags(&self) -> BindingFlags

    source

    pub fn source_property(&self) -> GString

    source

    pub fn target_property(&self) -> GString

    source

    pub fn unbind(&self)

    source§

    impl Binding

    source

    pub fn source(&self) -> Option<Object>

    source

    pub fn target(&self) -> Option<Object>

    Trait Implementations§

    source§

    impl Clone for Binding

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the object. Dropping the object will decrement it again.

    -
    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Binding

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl HasParamSpec for Binding

    source§

    type ParamSpec = ParamSpecObject

    source§

    type SetValue = Binding

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecObjectBuilder<'_, Binding>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for Binding

    source§

    fn hash<H>(&self, state: &mut H)
    where +

    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Binding

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl HasParamSpec for Binding

    source§

    type ParamSpec = ParamSpecObject

    source§

    type SetValue = Binding

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecObjectBuilder<'_, Binding>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for Binding

    source§

    fn hash<H>(&self, state: &mut H)
    where H: Hasher,

    Hashes the memory address of this object.

    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Binding

    source§

    fn cmp(&self, other: &Self) -> Ordering

    Comparison for two GObjects.

    + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Binding

    source§

    fn cmp(&self, other: &Self) -> Ordering

    Comparison for two GObjects.

    Compares the memory addresses of the provided objects.

    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl ParentClassIs for Binding

    source§

    impl<OT: ObjectType> PartialEq<OT> for Binding

    source§

    fn eq(&self, other: &OT) -> bool

    Equality for two GObjects.

    + Self: Sized,
    Restrict a value to a certain interval. Read more
    source§

    impl ParentClassIs for Binding

    source§

    impl<OT: ObjectType> PartialEq<OT> for Binding

    source§

    fn eq(&self, other: &OT) -> bool

    Equality for two GObjects.

    Two GObjects are equal if their memory addresses are equal.

    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<OT: ObjectType> PartialOrd<OT> for Binding

    source§

    fn partial_cmp(&self, other: &OT) -> Option<Ordering>

    Partial comparison for two GObjects.

    +and should not be overridden without very good reason.
    source§

    impl<OT: ObjectType> PartialOrd<OT> for Binding

    source§

    fn partial_cmp(&self, other: &OT) -> Option<Ordering>

    Partial comparison for two GObjects.

    Compares the memory addresses of the provided objects.

    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for Binding

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for Binding

    source§

    impl Send for Binding

    source§

    impl Sync for Binding

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for Binding

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for Binding

    source§

    impl Send for Binding

    source§

    impl Sync for Binding

    Auto Trait Implementations§

    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
    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> Cast for T
    where - T: ObjectType,

    source§

    fn upcast<T: ObjectType>(self) -> T
    where - Self: IsA<T>,

    Upcasts an object to a superclass or interface T. Read more
    source§

    fn upcast_ref<T: ObjectType>(&self) -> &T
    where - Self: IsA<T>,

    Upcasts an object to a reference of its superclass or interface T. Read more
    source§

    fn downcast<T: ObjectType>(self) -> Result<T, Self>
    where - Self: MayDowncastTo<T>,

    Tries to downcast to a subclass or interface implementor T. Read more
    source§

    fn downcast_ref<T: ObjectType>(&self) -> Option<&T>
    where - Self: MayDowncastTo<T>,

    Tries to downcast to a reference of its subclass or interface implementor T. Read more
    source§

    fn dynamic_cast<T: ObjectType>(self) -> Result<T, Self>

    Tries to cast to an object of type T. This handles upcasting, downcasting + T: ?Sized,
    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> Cast for T
    where + T: ObjectType,

    source§

    fn upcast<T: ObjectType>(self) -> T
    where + Self: IsA<T>,

    Upcasts an object to a superclass or interface T. Read more
    source§

    fn upcast_ref<T: ObjectType>(&self) -> &T
    where + Self: IsA<T>,

    Upcasts an object to a reference of its superclass or interface T. Read more
    source§

    fn downcast<T: ObjectType>(self) -> Result<T, Self>
    where + Self: MayDowncastTo<T>,

    Tries to downcast to a subclass or interface implementor T. Read more
    source§

    fn downcast_ref<T: ObjectType>(&self) -> Option<&T>
    where + Self: MayDowncastTo<T>,

    Tries to downcast to a reference of its subclass or interface implementor T. Read more
    source§

    fn dynamic_cast<T: ObjectType>(self) -> Result<T, Self>

    Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
    source§

    fn dynamic_cast_ref<T: ObjectType>(&self) -> Option<&T>

    Tries to cast to reference to an object of type T. This handles upcasting, downcasting +compile-time safety. Read more
    source§

    fn dynamic_cast_ref<T: ObjectType>(&self) -> Option<&T>

    Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
    source§

    unsafe fn unsafe_cast<T: ObjectType>(self) -> T

    Casts to T unconditionally. Read more
    source§

    unsafe fn unsafe_cast_ref<T: ObjectType>(&self) -> &T

    Casts to &T unconditionally. Read more
    source§

    impl<T> CloneToUninit for T
    where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

    source§

    unsafe fn unsafe_cast<T: ObjectType>(self) -> T

    Casts to T unconditionally. Read more
    source§

    unsafe fn unsafe_cast_ref<T: ObjectType>(&self) -> &T

    Casts to &T unconditionally. Read more
    source§

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

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

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

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

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

    source§

    impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for T
    where @@ -233,128 +135,128 @@
    §Returns
    T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

    source§

    fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

    source§

    impl<T> ObjectExt for T
    where - T: ObjectType,

    source§

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

    Returns true if the object is an instance of (can be cast to) T.
    source§

    fn type_(&self) -> Type

    Returns the type of the object.
    source§

    fn object_class(&self) -> &Class<Object>

    Returns the ObjectClass of the object. Read more
    source§

    fn class(&self) -> &Class<T>
    where - T: IsClass,

    Returns the class of the object.
    source§

    fn class_of<U>(&self) -> Option<&Class<U>>
    where - U: IsClass,

    Returns the class of the object in the given type T. Read more
    source§

    fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
    where - U: IsInterface,

    Returns the interface T of the object. Read more
    source§

    fn set_property(&self, property_name: &str, value: impl Into<Value>)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_property_from_value(&self, property_name: &str, value: &Value)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

    Sets multiple properties of the object at once. Read more
    source§

    fn set_properties_from_value(&self, property_values: &[(&str, Value)])

    Sets multiple properties of the object at once. Read more
    source§

    fn property<V>(&self, property_name: &str) -> V
    where - V: for<'b> FromValue<'b> + 'static,

    Gets the property property_name of the object and cast it to the type V. Read more
    source§

    fn property_value(&self, property_name: &str) -> Value

    Gets the property property_name of the object. Read more
    source§

    fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

    Check if the object has a property property_name of the given type_. Read more
    source§

    fn property_type(&self, property_name: &str) -> Option<Type>

    Get the type of the property property_name of this object. Read more
    source§

    fn find_property(&self, property_name: &str) -> Option<ParamSpec>

    Get the ParamSpec of the property property_name of this object.
    source§

    fn list_properties(&self) -> PtrSlice<ParamSpec>

    Return all ParamSpec of the properties of this object.
    source§

    fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

    Freeze all property notifications until the return guard object is dropped. Read more
    source§

    unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
    where - QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
    where - QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
    where - QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn set_data<QD>(&self, key: &str, value: QD)
    where - QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
    where - QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
    where - QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    fn block_signal(&self, handler_id: &SignalHandlerId)

    Block a given signal handler. Read more
    source§

    fn unblock_signal(&self, handler_id: &SignalHandlerId)

    Unblock a given signal handler.
    source§

    fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

    Stop emission of the currently emitted signal.
    source§

    fn stop_signal_emission_by_name(&self, signal_name: &str)

    Stop emission of the currently emitted signal by the (possibly detailed) signal name.
    source§

    fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

    source§

    impl<T> ObjectExt for T
    where + T: ObjectType,

    source§

    fn is<U>(&self) -> bool
    where + U: StaticType,

    Returns true if the object is an instance of (can be cast to) T.
    source§

    fn type_(&self) -> Type

    Returns the type of the object.
    source§

    fn object_class(&self) -> &Class<Object>

    Returns the ObjectClass of the object. Read more
    source§

    fn class(&self) -> &Class<T>
    where + T: IsClass,

    Returns the class of the object.
    source§

    fn class_of<U>(&self) -> Option<&Class<U>>
    where + U: IsClass,

    Returns the class of the object in the given type T. Read more
    source§

    fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
    where + U: IsInterface,

    Returns the interface T of the object. Read more
    source§

    fn set_property(&self, property_name: &str, value: impl Into<Value>)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_property_from_value(&self, property_name: &str, value: &Value)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

    Sets multiple properties of the object at once. Read more
    source§

    fn set_properties_from_value(&self, property_values: &[(&str, Value)])

    Sets multiple properties of the object at once. Read more
    source§

    fn property<V>(&self, property_name: &str) -> V
    where + V: for<'b> FromValue<'b> + 'static,

    Gets the property property_name of the object and cast it to the type V. Read more
    source§

    fn property_value(&self, property_name: &str) -> Value

    Gets the property property_name of the object. Read more
    source§

    fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

    Check if the object has a property property_name of the given type_. Read more
    source§

    fn property_type(&self, property_name: &str) -> Option<Type>

    Get the type of the property property_name of this object. Read more
    source§

    fn find_property(&self, property_name: &str) -> Option<ParamSpec>

    Get the ParamSpec of the property property_name of this object.
    source§

    fn list_properties(&self) -> PtrSlice<ParamSpec>

    Return all ParamSpec of the properties of this object.
    source§

    fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

    Freeze all property notifications until the return guard object is dropped. Read more
    source§

    unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
    where + QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
    where + QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
    where + QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn set_data<QD>(&self, key: &str, value: QD)
    where + QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
    where + QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
    where + QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    fn block_signal(&self, handler_id: &SignalHandlerId)

    Block a given signal handler. Read more
    source§

    fn unblock_signal(&self, handler_id: &SignalHandlerId)

    Unblock a given signal handler.
    source§

    fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

    Stop emission of the currently emitted signal.
    source§

    fn stop_signal_emission_by_name(&self, signal_name: &str)

    Stop emission of the currently emitted signal by the (possibly detailed) signal name.
    source§

    fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_name on this object. Read more
    source§

    unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_name on this object. Read more
    source§

    unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

    Connect a closure to the signal signal_name on this object. Read more
    source§

    fn connect_closure_id( +) -> SignalHandlerId

    Connect a closure to the signal signal_name on this object. Read more
    source§

    fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

    Connect a closure to the signal signal_id on this object. Read more
    source§

    fn watch_closure(&self, closure: &impl AsRef<Closure>)

    Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
    Connect a closure to the signal signal_id on this object. Read more
    source§

    fn watch_closure(&self, closure: &impl AsRef<Closure>)

    Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
    source§

    fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

    Emit signal by signal id. Read more
    source§

    fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

    Same as Self::emit but takes Value for the arguments.
    source§

    fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_values( +invoke when using Rust closures.

    source§

    fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

    Emit signal by signal id. Read more
    source§

    fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

    Same as Self::emit but takes Value for the arguments.
    source§

    fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_details<R>( +) -> Option<Value>

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

    Emit signal by its name with details. Read more
    source§

    fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

    Emit signal by its name with details. Read more
    source§

    fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

    Emit signal by its name with details. Read more
    source§

    fn emit_with_details<R>( +) -> Option<Value>

    Emit signal by its name with details. Read more
    source§

    fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

    Emit signal by signal id with details. Read more
    source§

    fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

    Emit signal by signal id with details. Read more
    source§

    fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

    Emit signal by signal id with details. Read more
    source§

    fn disconnect(&self, handler_id: SignalHandlerId)

    Disconnect a previously connected signal handler.
    source§

    fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

    Connect to the notify signal of the object. Read more
    source§

    fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where - F: Fn(&T, &ParamSpec) + 'static,

    Connect to the notify signal of the object. Read more
    source§

    unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

    Emit signal by signal id with details. Read more
    source§

    fn disconnect(&self, handler_id: SignalHandlerId)

    Disconnect a previously connected signal handler.
    source§

    fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

    Connect to the notify signal of the object. Read more
    source§

    fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where + F: Fn(&T, &ParamSpec) + 'static,

    Connect to the notify signal of the object. Read more
    source§

    unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
    where - F: Fn(&T, &ParamSpec),

    Connect to the notify signal of the object. Read more
    source§

    fn notify(&self, property_name: &str)

    Notify that the given property has changed its value. Read more
    source§

    fn notify_by_pspec(&self, pspec: &ParamSpec)

    Notify that the given property has changed its value. Read more
    source§

    fn downgrade(&self) -> WeakRef<T>

    Downgrade this object to a weak reference.
    source§

    fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
    where - F: FnOnce() + Send + 'static,

    Add a callback to be notified when the Object is disposed.
    source§

    fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
    where - F: FnOnce() + 'static,

    Add a callback to be notified when the Object is disposed. Read more
    source§

    fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

    Connect to the notify signal of the object. Read more
    source§

    fn notify(&self, property_name: &str)

    Notify that the given property has changed its value. Read more
    source§

    fn notify_by_pspec(&self, pspec: &ParamSpec)

    Notify that the given property has changed its value. Read more
    source§

    fn downgrade(&self) -> WeakRef<T>

    Downgrade this object to a weak reference.
    source§

    fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
    where + F: FnOnce() + Send + 'static,

    Add a callback to be notified when the Object is disposed.
    source§

    fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
    where + F: FnOnce() + 'static,

    Add a callback to be notified when the Object is disposed. Read more
    source§

    fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
    where - O: ObjectType,

    Bind property source_property on this object to the target_property on the target object. Read more
    source§

    fn ref_count(&self) -> u32

    Returns the strong reference count of this object.
    source§

    unsafe fn run_dispose(&self)

    Runs the dispose mechanism of the object. Read more
    source§

    impl<T> Property for T
    where + O: ObjectType,

    Bind property source_property on this object to the target_property on the target object. Read more
    source§

    fn ref_count(&self) -> u32

    Returns the strong reference count of this object.
    source§

    unsafe fn run_dispose(&self)

    Runs the dispose mechanism of the object. Read more
    source§

    impl<T> Property for T
    where T: HasParamSpec,

    source§

    type Value = T

    source§

    impl<T> PropertyGet for T
    where T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    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.
    source§

    impl<'a, T, C, E> FromValueOptional<'a> for T
    where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

    source§

    impl<Super, Sub> MayDowncastTo<Sub> for Super
    where + E: Error + Send + 'static,

    source§

    impl<Super, Sub> MayDowncastTo<Sub> for Super
    where Super: IsA<Super>, Sub: IsA<Super>,

    \ No newline at end of file diff --git a/git/docs/glib/struct.BindingFlags.html b/git/docs/glib/struct.BindingFlags.html index ae354f9cb447..988d768cabc1 100644 --- a/git/docs/glib/struct.BindingFlags.html +++ b/git/docs/glib/struct.BindingFlags.html @@ -1,4 +1,4 @@ -BindingFlags in glib - Rust +BindingFlags in glib - Rust -
    glib

    Struct BindingFlags

    source
    pub struct BindingFlags(/* private fields */);
    Expand description

    Flags to be passed to ObjectExt::bind_property() or -[ObjectExt::bind_property_full()][crate::prelude::ObjectExt::bind_property_full()].

    -

    This enumeration can be extended at later date.

    -

    Implementations§

    source§

    impl BindingFlags

    source

    pub const DEFAULT: Self = _

    The default binding; if the source property -changes, the target property is updated with its value.

    -
    source

    pub const BIDIRECTIONAL: Self = _

    Bidirectional binding; if either the -property of the source or the property of the target changes, -the other is updated.

    -
    source

    pub const SYNC_CREATE: Self = _

    Synchronize the values of the source and -target properties when creating the binding; the direction of -the synchronization is always from the source to the target.

    -
    source

    pub const INVERT_BOOLEAN: Self = _

    If the two properties being bound are -booleans, setting one to true will result in the other being -set to false and vice versa. This flag will only work for -boolean properties, and cannot be used when passing custom -transformation functions to [ObjectExt::bind_property_full()][crate::prelude::ObjectExt::bind_property_full()].

    -
    source§

    impl BindingFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    -
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    -
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    +
    glib

    Struct BindingFlags

    source
    pub struct BindingFlags(/* private fields */);

    Implementations§

    source§

    impl BindingFlags

    source

    pub const DEFAULT: Self = _

    source

    pub const BIDIRECTIONAL: Self = _

    source

    pub const SYNC_CREATE: Self = _

    source

    pub const INVERT_BOOLEAN: Self = _

    source§

    impl BindingFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    +
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    +
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    The returned value is exactly the bits set in this flags value.

    -
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    +
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    This method will return None if any unknown bits are set.

    -
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    -
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    -
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    +
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    +
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    +
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    This method will return None if name is empty or doesn’t correspond to any named flag.

    -
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    -
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    -
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    -
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    -
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    +
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    +
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    +
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    +
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

    -
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    -
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    +
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    impl BindingFlags

    source

    pub const fn iter(&self) -> Iter<BindingFlags>

    Yield a set of contained flags values.

    +
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    impl BindingFlags

    source

    pub const fn iter(&self) -> Iter<BindingFlags>

    Yield a set of contained flags values.

    Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.

    -
    source

    pub const fn iter_names(&self) -> IterNames<BindingFlags>

    Yield a set of contained named flags values.

    +
    source

    pub const fn iter_names(&self) -> IterNames<BindingFlags>

    Yield a set of contained named flags values.

    This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

    -

    Trait Implementations§

    source§

    impl Binary for BindingFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for BindingFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    type Output = BindingFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for BindingFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    impl BitOr for BindingFlags

    source§

    fn bitor(self, other: BindingFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    type Output = BindingFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for BindingFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    impl BitXor for BindingFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    type Output = BindingFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for BindingFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    impl Clone for BindingFlags

    source§

    fn clone(&self) -> BindingFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BindingFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Extend<BindingFlags> for BindingFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    -
    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
    source§

    impl Flags for BindingFlags

    source§

    const FLAGS: &'static [Flag<BindingFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> BindingFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where +

    Trait Implementations§

    source§

    impl Binary for BindingFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for BindingFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    type Output = BindingFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for BindingFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    impl BitOr for BindingFlags

    source§

    fn bitor(self, other: BindingFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    type Output = BindingFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for BindingFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    impl BitXor for BindingFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    type Output = BindingFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for BindingFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    impl Clone for BindingFlags

    source§

    fn clone(&self) -> BindingFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BindingFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Extend<BindingFlags> for BindingFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    +
    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
    source§

    impl Flags for BindingFlags

    source§

    const FLAGS: &'static [Flag<BindingFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> BindingFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> bool
    where Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)
    where Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)
    where Self: Sized,

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn toggle(&mut self, other: Self)
    where Self: Sized,

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn set(&mut self, other: Self, value: bool)
    where - Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl From<BindingFlags> for Value

    source§

    fn from(v: BindingFlags) -> Self

    Converts to this type from the input type.
    source§

    impl FromIterator<BindingFlags> for BindingFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    impl<'a> FromValue<'a> for BindingFlags

    source§

    type Checker = GenericValueTypeChecker<BindingFlags>

    Value type checker.
    source§

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

    Get the contained value from a Value. Read more
    source§

    impl HasParamSpec for BindingFlags

    source§

    type ParamSpec = ParamSpecFlags

    source§

    type SetValue = BindingFlags

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecFlagsBuilder<'_, BindingFlags>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for BindingFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl From<BindingFlags> for Value

    source§

    fn from(v: BindingFlags) -> Self

    Converts to this type from the input type.
    source§

    impl FromIterator<BindingFlags> for BindingFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    +
    source§

    impl<'a> FromValue<'a> for BindingFlags

    source§

    type Checker = GenericValueTypeChecker<BindingFlags>

    Value type checker.
    source§

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

    Get the contained value from a Value. Read more
    source§

    impl HasParamSpec for BindingFlags

    source§

    type ParamSpec = ParamSpecFlags

    source§

    type SetValue = BindingFlags

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecFlagsBuilder<'_, BindingFlags>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for BindingFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for BindingFlags

    source§

    type Item = BindingFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<BindingFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for BindingFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Not for BindingFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    type Output = BindingFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for BindingFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for BindingFlags

    source§

    fn eq(&self, other: &BindingFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PublicFlags for BindingFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl StaticType for BindingFlags

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Sub for BindingFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for BindingFlags

    source§

    type Item = BindingFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<BindingFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for BindingFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Not for BindingFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    type Output = BindingFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for BindingFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for BindingFlags

    source§

    fn eq(&self, other: &BindingFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PublicFlags for BindingFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl StaticType for BindingFlags

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Sub for BindingFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    type Output = BindingFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for BindingFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source§

    type Output = BindingFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for BindingFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    impl ToValue for BindingFlags

    source§

    fn to_value(&self) -> Value

    Convert a value to a Value.
    source§

    fn value_type(&self) -> Type

    Returns the type identifier of self. Read more
    source§

    impl UpperHex for BindingFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl ValueType for BindingFlags

    source§

    type Type = BindingFlags

    Type to get the Type from. Read more
    source§

    impl Copy for BindingFlags

    source§

    impl Eq for BindingFlags

    source§

    impl StructuralPartialEq for BindingFlags

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    source§

    impl ToValue for BindingFlags

    source§

    fn to_value(&self) -> Value

    Convert a value to a Value.
    source§

    fn value_type(&self) -> Type

    Returns the type identifier of self. Read more
    source§

    impl UpperHex for BindingFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl ValueType for BindingFlags

    source§

    type Type = BindingFlags

    Type to get the Type from. Read more
    source§

    impl Copy for BindingFlags

    source§

    impl Eq for BindingFlags

    source§

    impl StructuralPartialEq for BindingFlags

    Auto Trait Implementations§

    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
    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 @@ -160,8 +144,8 @@ T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T, U> TryFrom<U> 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    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.
    \ No newline at end of file diff --git a/git/docs/glib/struct.BindingGroup.html b/git/docs/glib/struct.BindingGroup.html index d5d41e04cb1a..220b9cdd3ce8 100644 --- a/git/docs/glib/struct.BindingGroup.html +++ b/git/docs/glib/struct.BindingGroup.html @@ -1,4 +1,4 @@ -BindingGroup in glib - Rust +BindingGroup in glib - Rust -
    glib

    Struct BindingGroup

    source
    pub struct BindingGroup { /* private fields */ }
    Available on crate feature v2_72 only.
    Expand description

    GBindingGroup can be used to bind multiple properties -from an object collectively.

    -

    Use the various methods to bind properties from a single source -object to multiple destination objects. Properties can be bound -bidirectionally and are connected when the source object is set -with [methodObject.set_source].

    -

    §Properties

    §source
    -

    The source object used for binding properties.

    -

    Readable | Writeable

    -

    §Implements

    -

    ObjectExt

    -

    GLib type: GObject with reference counted clone semantics.

    -

    Implementations§

    source§

    impl BindingGroup

    source

    pub fn new() -> BindingGroup

    Creates a new BindingGroup.

    -
    §Returns
    -

    a new BindingGroup

    -
    source

    pub fn source(&self) -> Option<Object>

    Gets the source object used for binding properties.

    -
    §Returns
    -

    a Object or None.

    -
    source

    pub fn set_source(&self, source: Option<&impl IsA<Object>>)

    Sets source as the source object used for creating property -bindings. If there is already a source object all bindings from it -will be removed.

    -

    Note that all properties that have been bound must exist on source.

    -
    §source
    -

    the source Object, -or None to clear it

    -
    source

    pub fn connect_source_notify<F: Fn(&Self) + Send + Sync + 'static>( +
    glib

    Struct BindingGroup

    source
    pub struct BindingGroup { /* private fields */ }
    Available on crate feature v2_72 only.
    Expand description

    GLib type: GObject with reference counted clone semantics.

    +

    Implementations§

    source§

    impl BindingGroup

    source

    pub fn new() -> BindingGroup

    source

    pub fn source(&self) -> Option<Object>

    source

    pub fn set_source(&self, source: Option<&impl IsA<Object>>)

    source

    pub fn connect_source_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, -) -> SignalHandlerId

    source§

    impl BindingGroup

    source

    pub fn bind<'a, O: ObjectType>( +) -> SignalHandlerId

    source§

    impl BindingGroup

    source

    pub fn bind<'a, O: ObjectType>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, -) -> BindingGroupBuilder<'a>

    Creates a binding between source_property on the source object -and target_property on target. Whenever the source_property -is changed the target_property is updated using the same value. -The binding flag BindingFlags::SYNC_CREATE is automatically specified.

    -

    See ObjectExt::bind_property() for more information.

    -
    §source_property
    -

    the property on the source to bind

    -
    §target
    -

    the target Object

    -
    §target_property
    -

    the property on target to bind

    -
    §flags
    -

    the flags used to create the Binding

    -

    Trait Implementations§

    source§

    impl Clone for BindingGroup

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +) -> BindingGroupBuilder<'a>

    Trait Implementations§

    source§

    impl Clone for BindingGroup

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the object. Dropping the object will decrement it again.

    -
    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BindingGroup

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for BindingGroup

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl HasParamSpec for BindingGroup

    source§

    type ParamSpec = ParamSpecObject

    source§

    type SetValue = BindingGroup

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecObjectBuilder<'_, BindingGroup>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for BindingGroup

    source§

    fn hash<H>(&self, state: &mut H)
    where +

    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BindingGroup

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for BindingGroup

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl HasParamSpec for BindingGroup

    source§

    type ParamSpec = ParamSpecObject

    source§

    type SetValue = BindingGroup

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecObjectBuilder<'_, BindingGroup>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for BindingGroup

    source§

    fn hash<H>(&self, state: &mut H)
    where H: Hasher,

    Hashes the memory address of this object.

    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for BindingGroup

    source§

    fn cmp(&self, other: &Self) -> Ordering

    Comparison for two GObjects.

    + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for BindingGroup

    source§

    fn cmp(&self, other: &Self) -> Ordering

    Comparison for two GObjects.

    Compares the memory addresses of the provided objects.

    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl ParentClassIs for BindingGroup

    source§

    impl<OT: ObjectType> PartialEq<OT> for BindingGroup

    source§

    fn eq(&self, other: &OT) -> bool

    Equality for two GObjects.

    + Self: Sized,
    Restrict a value to a certain interval. Read more
    source§

    impl ParentClassIs for BindingGroup

    source§

    impl<OT: ObjectType> PartialEq<OT> for BindingGroup

    source§

    fn eq(&self, other: &OT) -> bool

    Equality for two GObjects.

    Two GObjects are equal if their memory addresses are equal.

    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<OT: ObjectType> PartialOrd<OT> for BindingGroup

    source§

    fn partial_cmp(&self, other: &OT) -> Option<Ordering>

    Partial comparison for two GObjects.

    +and should not be overridden without very good reason.
    source§

    impl<OT: ObjectType> PartialOrd<OT> for BindingGroup

    source§

    fn partial_cmp(&self, other: &OT) -> Option<Ordering>

    Partial comparison for two GObjects.

    Compares the memory addresses of the provided objects.

    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for BindingGroup

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for BindingGroup

    source§

    impl Send for BindingGroup

    source§

    impl Sync for BindingGroup

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for BindingGroup

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for BindingGroup

    source§

    impl Send for BindingGroup

    source§

    impl Sync for BindingGroup

    Auto Trait Implementations§

    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
    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> Cast for T
    where - T: ObjectType,

    source§

    fn upcast<T: ObjectType>(self) -> T
    where - Self: IsA<T>,

    Upcasts an object to a superclass or interface T. Read more
    source§

    fn upcast_ref<T: ObjectType>(&self) -> &T
    where - Self: IsA<T>,

    Upcasts an object to a reference of its superclass or interface T. Read more
    source§

    fn downcast<T: ObjectType>(self) -> Result<T, Self>
    where - Self: MayDowncastTo<T>,

    Tries to downcast to a subclass or interface implementor T. Read more
    source§

    fn downcast_ref<T: ObjectType>(&self) -> Option<&T>
    where - Self: MayDowncastTo<T>,

    Tries to downcast to a reference of its subclass or interface implementor T. Read more
    source§

    fn dynamic_cast<T: ObjectType>(self) -> Result<T, Self>

    Tries to cast to an object of type T. This handles upcasting, downcasting + T: ?Sized,
    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> Cast for T
    where + T: ObjectType,

    source§

    fn upcast<T: ObjectType>(self) -> T
    where + Self: IsA<T>,

    Upcasts an object to a superclass or interface T. Read more
    source§

    fn upcast_ref<T: ObjectType>(&self) -> &T
    where + Self: IsA<T>,

    Upcasts an object to a reference of its superclass or interface T. Read more
    source§

    fn downcast<T: ObjectType>(self) -> Result<T, Self>
    where + Self: MayDowncastTo<T>,

    Tries to downcast to a subclass or interface implementor T. Read more
    source§

    fn downcast_ref<T: ObjectType>(&self) -> Option<&T>
    where + Self: MayDowncastTo<T>,

    Tries to downcast to a reference of its subclass or interface implementor T. Read more
    source§

    fn dynamic_cast<T: ObjectType>(self) -> Result<T, Self>

    Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
    source§

    fn dynamic_cast_ref<T: ObjectType>(&self) -> Option<&T>

    Tries to cast to reference to an object of type T. This handles upcasting, downcasting +compile-time safety. Read more
    source§

    fn dynamic_cast_ref<T: ObjectType>(&self) -> Option<&T>

    Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
    source§

    unsafe fn unsafe_cast<T: ObjectType>(self) -> T

    Casts to T unconditionally. Read more
    source§

    unsafe fn unsafe_cast_ref<T: ObjectType>(&self) -> &T

    Casts to &T unconditionally. Read more
    source§

    impl<T> CloneToUninit for T
    where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

    source§

    unsafe fn unsafe_cast<T: ObjectType>(self) -> T

    Casts to T unconditionally. Read more
    source§

    unsafe fn unsafe_cast_ref<T: ObjectType>(&self) -> &T

    Casts to &T unconditionally. Read more
    source§

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

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

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

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

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

    source§

    impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for T
    where @@ -180,128 +143,128 @@
    §flags
    T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

    source§

    fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

    source§

    impl<T> ObjectExt for T
    where - T: ObjectType,

    source§

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

    Returns true if the object is an instance of (can be cast to) T.
    source§

    fn type_(&self) -> Type

    Returns the type of the object.
    source§

    fn object_class(&self) -> &Class<Object>

    Returns the ObjectClass of the object. Read more
    source§

    fn class(&self) -> &Class<T>
    where - T: IsClass,

    Returns the class of the object.
    source§

    fn class_of<U>(&self) -> Option<&Class<U>>
    where - U: IsClass,

    Returns the class of the object in the given type T. Read more
    source§

    fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
    where - U: IsInterface,

    Returns the interface T of the object. Read more
    source§

    fn set_property(&self, property_name: &str, value: impl Into<Value>)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_property_from_value(&self, property_name: &str, value: &Value)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

    Sets multiple properties of the object at once. Read more
    source§

    fn set_properties_from_value(&self, property_values: &[(&str, Value)])

    Sets multiple properties of the object at once. Read more
    source§

    fn property<V>(&self, property_name: &str) -> V
    where - V: for<'b> FromValue<'b> + 'static,

    Gets the property property_name of the object and cast it to the type V. Read more
    source§

    fn property_value(&self, property_name: &str) -> Value

    Gets the property property_name of the object. Read more
    source§

    fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

    Check if the object has a property property_name of the given type_. Read more
    source§

    fn property_type(&self, property_name: &str) -> Option<Type>

    Get the type of the property property_name of this object. Read more
    source§

    fn find_property(&self, property_name: &str) -> Option<ParamSpec>

    Get the ParamSpec of the property property_name of this object.
    source§

    fn list_properties(&self) -> PtrSlice<ParamSpec>

    Return all ParamSpec of the properties of this object.
    source§

    fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

    Freeze all property notifications until the return guard object is dropped. Read more
    source§

    unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
    where - QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
    where - QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
    where - QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn set_data<QD>(&self, key: &str, value: QD)
    where - QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
    where - QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
    where - QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    fn block_signal(&self, handler_id: &SignalHandlerId)

    Block a given signal handler. Read more
    source§

    fn unblock_signal(&self, handler_id: &SignalHandlerId)

    Unblock a given signal handler.
    source§

    fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

    Stop emission of the currently emitted signal.
    source§

    fn stop_signal_emission_by_name(&self, signal_name: &str)

    Stop emission of the currently emitted signal by the (possibly detailed) signal name.
    source§

    fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

    source§

    impl<T> ObjectExt for T
    where + T: ObjectType,

    source§

    fn is<U>(&self) -> bool
    where + U: StaticType,

    Returns true if the object is an instance of (can be cast to) T.
    source§

    fn type_(&self) -> Type

    Returns the type of the object.
    source§

    fn object_class(&self) -> &Class<Object>

    Returns the ObjectClass of the object. Read more
    source§

    fn class(&self) -> &Class<T>
    where + T: IsClass,

    Returns the class of the object.
    source§

    fn class_of<U>(&self) -> Option<&Class<U>>
    where + U: IsClass,

    Returns the class of the object in the given type T. Read more
    source§

    fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
    where + U: IsInterface,

    Returns the interface T of the object. Read more
    source§

    fn set_property(&self, property_name: &str, value: impl Into<Value>)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_property_from_value(&self, property_name: &str, value: &Value)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

    Sets multiple properties of the object at once. Read more
    source§

    fn set_properties_from_value(&self, property_values: &[(&str, Value)])

    Sets multiple properties of the object at once. Read more
    source§

    fn property<V>(&self, property_name: &str) -> V
    where + V: for<'b> FromValue<'b> + 'static,

    Gets the property property_name of the object and cast it to the type V. Read more
    source§

    fn property_value(&self, property_name: &str) -> Value

    Gets the property property_name of the object. Read more
    source§

    fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

    Check if the object has a property property_name of the given type_. Read more
    source§

    fn property_type(&self, property_name: &str) -> Option<Type>

    Get the type of the property property_name of this object. Read more
    source§

    fn find_property(&self, property_name: &str) -> Option<ParamSpec>

    Get the ParamSpec of the property property_name of this object.
    source§

    fn list_properties(&self) -> PtrSlice<ParamSpec>

    Return all ParamSpec of the properties of this object.
    source§

    fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

    Freeze all property notifications until the return guard object is dropped. Read more
    source§

    unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
    where + QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
    where + QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
    where + QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn set_data<QD>(&self, key: &str, value: QD)
    where + QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
    where + QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
    where + QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    fn block_signal(&self, handler_id: &SignalHandlerId)

    Block a given signal handler. Read more
    source§

    fn unblock_signal(&self, handler_id: &SignalHandlerId)

    Unblock a given signal handler.
    source§

    fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

    Stop emission of the currently emitted signal.
    source§

    fn stop_signal_emission_by_name(&self, signal_name: &str)

    Stop emission of the currently emitted signal by the (possibly detailed) signal name.
    source§

    fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_name on this object. Read more
    source§

    unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_name on this object. Read more
    source§

    unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

    Connect a closure to the signal signal_name on this object. Read more
    source§

    fn connect_closure_id( +) -> SignalHandlerId

    Connect a closure to the signal signal_name on this object. Read more
    source§

    fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

    Connect a closure to the signal signal_id on this object. Read more
    source§

    fn watch_closure(&self, closure: &impl AsRef<Closure>)

    Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
    Connect a closure to the signal signal_id on this object. Read more
    source§

    fn watch_closure(&self, closure: &impl AsRef<Closure>)

    Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
    source§

    fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

    Emit signal by signal id. Read more
    source§

    fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

    Same as Self::emit but takes Value for the arguments.
    source§

    fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_values( +invoke when using Rust closures.

    source§

    fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

    Emit signal by signal id. Read more
    source§

    fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

    Same as Self::emit but takes Value for the arguments.
    source§

    fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_details<R>( +) -> Option<Value>

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

    Emit signal by its name with details. Read more
    source§

    fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

    Emit signal by its name with details. Read more
    source§

    fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

    Emit signal by its name with details. Read more
    source§

    fn emit_with_details<R>( +) -> Option<Value>

    Emit signal by its name with details. Read more
    source§

    fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

    Emit signal by signal id with details. Read more
    source§

    fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

    Emit signal by signal id with details. Read more
    source§

    fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

    Emit signal by signal id with details. Read more
    source§

    fn disconnect(&self, handler_id: SignalHandlerId)

    Disconnect a previously connected signal handler.
    source§

    fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

    Connect to the notify signal of the object. Read more
    source§

    fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where - F: Fn(&T, &ParamSpec) + 'static,

    Connect to the notify signal of the object. Read more
    source§

    unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

    Emit signal by signal id with details. Read more
    source§

    fn disconnect(&self, handler_id: SignalHandlerId)

    Disconnect a previously connected signal handler.
    source§

    fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

    Connect to the notify signal of the object. Read more
    source§

    fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where + F: Fn(&T, &ParamSpec) + 'static,

    Connect to the notify signal of the object. Read more
    source§

    unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
    where - F: Fn(&T, &ParamSpec),

    Connect to the notify signal of the object. Read more
    source§

    fn notify(&self, property_name: &str)

    Notify that the given property has changed its value. Read more
    source§

    fn notify_by_pspec(&self, pspec: &ParamSpec)

    Notify that the given property has changed its value. Read more
    source§

    fn downgrade(&self) -> WeakRef<T>

    Downgrade this object to a weak reference.
    source§

    fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
    where - F: FnOnce() + Send + 'static,

    Add a callback to be notified when the Object is disposed.
    source§

    fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
    where - F: FnOnce() + 'static,

    Add a callback to be notified when the Object is disposed. Read more
    source§

    fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

    Connect to the notify signal of the object. Read more
    source§

    fn notify(&self, property_name: &str)

    Notify that the given property has changed its value. Read more
    source§

    fn notify_by_pspec(&self, pspec: &ParamSpec)

    Notify that the given property has changed its value. Read more
    source§

    fn downgrade(&self) -> WeakRef<T>

    Downgrade this object to a weak reference.
    source§

    fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
    where + F: FnOnce() + Send + 'static,

    Add a callback to be notified when the Object is disposed.
    source§

    fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
    where + F: FnOnce() + 'static,

    Add a callback to be notified when the Object is disposed. Read more
    source§

    fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
    where - O: ObjectType,

    Bind property source_property on this object to the target_property on the target object. Read more
    source§

    fn ref_count(&self) -> u32

    Returns the strong reference count of this object.
    source§

    unsafe fn run_dispose(&self)

    Runs the dispose mechanism of the object. Read more
    source§

    impl<T> Property for T
    where + O: ObjectType,

    Bind property source_property on this object to the target_property on the target object. Read more
    source§

    fn ref_count(&self) -> u32

    Returns the strong reference count of this object.
    source§

    unsafe fn run_dispose(&self)

    Runs the dispose mechanism of the object. Read more
    source§

    impl<T> Property for T
    where T: HasParamSpec,

    source§

    type Value = T

    source§

    impl<T> PropertyGet for T
    where T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    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.
    source§

    impl<'a, T, C, E> FromValueOptional<'a> for T
    where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

    source§

    impl<Super, Sub> MayDowncastTo<Sub> for Super
    where + E: Error + Send + 'static,

    source§

    impl<Super, Sub> MayDowncastTo<Sub> for Super
    where Super: IsA<Super>, Sub: IsA<Super>,

    \ No newline at end of file diff --git a/git/docs/glib/struct.BindingGroupBuilder.html b/git/docs/glib/struct.BindingGroupBuilder.html index 7f215f9aabf5..3c5510a8acb2 100644 --- a/git/docs/glib/struct.BindingGroupBuilder.html +++ b/git/docs/glib/struct.BindingGroupBuilder.html @@ -71,23 +71,23 @@ -
    glib

    Struct BindingGroupBuilder

    source
    pub struct BindingGroupBuilder<'a> { /* private fields */ }
    Available on crate feature v2_72 only.
    Expand description

    Builder for binding group bindings.

    -

    Implementations§

    source§

    impl<'a> BindingGroupBuilder<'a>

    source

    pub fn transform_from<F: Fn(&Binding, &Value) -> Option<Value> + Send + Sync + 'static>( +
    glib

    Struct BindingGroupBuilder

    source
    pub struct BindingGroupBuilder<'a> { /* private fields */ }
    Available on crate feature v2_72 only.
    Expand description

    Builder for binding group bindings.

    +

    Implementations§

    source§

    impl<'a> BindingGroupBuilder<'a>

    source

    pub fn transform_from<F: Fn(&Binding, &Value) -> Option<Value> + Send + Sync + 'static>( self, func: F, ) -> Self

    Transform changed property values from the target object to the source object with the given closure.

    -
    source

    pub fn transform_to<F: Fn(&Binding, &Value) -> Option<Value> + Send + Sync + 'static>( +

    source

    pub fn transform_to<F: Fn(&Binding, &Value) -> Option<Value> + Send + Sync + 'static>( self, func: F, ) -> Self

    Transform changed property values from the source object to the target object with the given closure.

    -
    source

    pub fn flags(self, flags: BindingFlags) -> Self

    Bind the properties with the given flags.

    -
    source

    pub fn bidirectional(self) -> Self

    Set the binding flags to BIDIRECTIONAL.

    -
    source

    pub fn sync_create(self) -> Self

    Set the binding flags to SYNC_CREATE.

    -
    source

    pub fn invert_boolean(self) -> Self

    Set the binding flags to INVERT_BOOLEAN.

    -
    source

    pub fn try_build(self) -> Result<(), BoolError>

    Establish the property binding.

    +
    source

    pub fn flags(self, flags: BindingFlags) -> Self

    Bind the properties with the given flags.

    +
    source

    pub fn bidirectional(self) -> Self

    Set the binding flags to BIDIRECTIONAL.

    +
    source

    pub fn sync_create(self) -> Self

    Set the binding flags to SYNC_CREATE.

    +
    source

    pub fn invert_boolean(self) -> Self

    Set the binding flags to INVERT_BOOLEAN.

    +
    source

    pub fn try_build(self) -> Result<(), BoolError>

    Establish the property binding.

    This fails if the provided properties do not exist.

    -
    source

    pub fn build(self)

    Similar to try_build but panics instead of failing.

    -

    Trait Implementations§

    source§

    impl<'a> Debug for BindingGroupBuilder<'a>

    source§

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<'a> Freeze for BindingGroupBuilder<'a>

    §

    impl<'a> !RefUnwindSafe for BindingGroupBuilder<'a>

    §

    impl<'a> !Send for BindingGroupBuilder<'a>

    §

    impl<'a> !Sync for BindingGroupBuilder<'a>

    §

    impl<'a> Unpin for BindingGroupBuilder<'a>

    §

    impl<'a> !UnwindSafe for BindingGroupBuilder<'a>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    source

    pub fn build(self)

    Similar to try_build but panics instead of failing.

    +

    Trait Implementations§

    source§

    impl<'a> Debug for BindingGroupBuilder<'a>

    source§

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<'a> Freeze for BindingGroupBuilder<'a>

    §

    impl<'a> !RefUnwindSafe for BindingGroupBuilder<'a>

    §

    impl<'a> !Send for BindingGroupBuilder<'a>

    §

    impl<'a> !Sync for BindingGroupBuilder<'a>

    §

    impl<'a> Unpin for BindingGroupBuilder<'a>

    §

    impl<'a> !UnwindSafe for BindingGroupBuilder<'a>

    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
    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> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/git/docs/glib/struct.BoxedAnyObject.html b/git/docs/glib/struct.BoxedAnyObject.html index 9bc8501b06a8..526a1ae589c7 100644 --- a/git/docs/glib/struct.BoxedAnyObject.html +++ b/git/docs/glib/struct.BoxedAnyObject.html @@ -152,18 +152,18 @@
    §Panics
    the >= operator. Read more
    source§

    impl StaticType for BoxedAnyObject

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for BoxedAnyObject

    Auto Trait Implementations§

    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
    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> Cast for T
    where - T: ObjectType,

    source§

    fn upcast<T: ObjectType>(self) -> T
    where - Self: IsA<T>,

    Upcasts an object to a superclass or interface T. Read more
    source§

    fn upcast_ref<T: ObjectType>(&self) -> &T
    where - Self: IsA<T>,

    Upcasts an object to a reference of its superclass or interface T. Read more
    source§

    fn downcast<T: ObjectType>(self) -> Result<T, Self>
    where - Self: MayDowncastTo<T>,

    Tries to downcast to a subclass or interface implementor T. Read more
    source§

    fn downcast_ref<T: ObjectType>(&self) -> Option<&T>
    where - Self: MayDowncastTo<T>,

    Tries to downcast to a reference of its subclass or interface implementor T. Read more
    source§

    fn dynamic_cast<T: ObjectType>(self) -> Result<T, Self>

    Tries to cast to an object of type T. This handles upcasting, downcasting + T: ?Sized,
    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> Cast for T
    where + T: ObjectType,

    source§

    fn upcast<T: ObjectType>(self) -> T
    where + Self: IsA<T>,

    Upcasts an object to a superclass or interface T. Read more
    source§

    fn upcast_ref<T: ObjectType>(&self) -> &T
    where + Self: IsA<T>,

    Upcasts an object to a reference of its superclass or interface T. Read more
    source§

    fn downcast<T: ObjectType>(self) -> Result<T, Self>
    where + Self: MayDowncastTo<T>,

    Tries to downcast to a subclass or interface implementor T. Read more
    source§

    fn downcast_ref<T: ObjectType>(&self) -> Option<&T>
    where + Self: MayDowncastTo<T>,

    Tries to downcast to a reference of its subclass or interface implementor T. Read more
    source§

    fn dynamic_cast<T: ObjectType>(self) -> Result<T, Self>

    Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
    source§

    fn dynamic_cast_ref<T: ObjectType>(&self) -> Option<&T>

    Tries to cast to reference to an object of type T. This handles upcasting, downcasting +compile-time safety. Read more
    source§

    fn dynamic_cast_ref<T: ObjectType>(&self) -> Option<&T>

    Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
    source§

    unsafe fn unsafe_cast<T: ObjectType>(self) -> T

    Casts to T unconditionally. Read more
    source§

    unsafe fn unsafe_cast_ref<T: ObjectType>(&self) -> &T

    Casts to &T unconditionally. Read more
    source§

    impl<T> CloneToUninit for T
    where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

    source§

    unsafe fn unsafe_cast<T: ObjectType>(self) -> T

    Casts to T unconditionally. Read more
    source§

    unsafe fn unsafe_cast_ref<T: ObjectType>(&self) -> &T

    Casts to &T unconditionally. Read more
    source§

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

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

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

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

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

    source§

    impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for T
    where @@ -193,116 +193,116 @@
    §Panics
    T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

    source§

    fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

    source§

    impl<T> ObjectExt for T
    where - T: ObjectType,

    source§

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

    Returns true if the object is an instance of (can be cast to) T.
    source§

    fn type_(&self) -> Type

    Returns the type of the object.
    source§

    fn object_class(&self) -> &Class<Object>

    Returns the ObjectClass of the object. Read more
    source§

    fn class(&self) -> &Class<T>
    where - T: IsClass,

    Returns the class of the object.
    source§

    fn class_of<U>(&self) -> Option<&Class<U>>
    where - U: IsClass,

    Returns the class of the object in the given type T. Read more
    source§

    fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
    where - U: IsInterface,

    Returns the interface T of the object. Read more
    source§

    fn set_property(&self, property_name: &str, value: impl Into<Value>)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_property_from_value(&self, property_name: &str, value: &Value)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

    Sets multiple properties of the object at once. Read more
    source§

    fn set_properties_from_value(&self, property_values: &[(&str, Value)])

    Sets multiple properties of the object at once. Read more
    source§

    fn property<V>(&self, property_name: &str) -> V
    where - V: for<'b> FromValue<'b> + 'static,

    Gets the property property_name of the object and cast it to the type V. Read more
    source§

    fn property_value(&self, property_name: &str) -> Value

    Gets the property property_name of the object. Read more
    source§

    fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

    Check if the object has a property property_name of the given type_. Read more
    source§

    fn property_type(&self, property_name: &str) -> Option<Type>

    Get the type of the property property_name of this object. Read more
    source§

    fn find_property(&self, property_name: &str) -> Option<ParamSpec>

    Get the ParamSpec of the property property_name of this object.
    source§

    fn list_properties(&self) -> PtrSlice<ParamSpec>

    Return all ParamSpec of the properties of this object.
    source§

    fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

    Freeze all property notifications until the return guard object is dropped. Read more
    source§

    unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
    where - QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
    where - QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
    where - QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn set_data<QD>(&self, key: &str, value: QD)
    where - QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
    where - QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
    where - QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    fn block_signal(&self, handler_id: &SignalHandlerId)

    Block a given signal handler. Read more
    source§

    fn unblock_signal(&self, handler_id: &SignalHandlerId)

    Unblock a given signal handler.
    source§

    fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

    Stop emission of the currently emitted signal.
    source§

    fn stop_signal_emission_by_name(&self, signal_name: &str)

    Stop emission of the currently emitted signal by the (possibly detailed) signal name.
    source§

    fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

    source§

    impl<T> ObjectExt for T
    where + T: ObjectType,

    source§

    fn is<U>(&self) -> bool
    where + U: StaticType,

    Returns true if the object is an instance of (can be cast to) T.
    source§

    fn type_(&self) -> Type

    Returns the type of the object.
    source§

    fn object_class(&self) -> &Class<Object>

    Returns the ObjectClass of the object. Read more
    source§

    fn class(&self) -> &Class<T>
    where + T: IsClass,

    Returns the class of the object.
    source§

    fn class_of<U>(&self) -> Option<&Class<U>>
    where + U: IsClass,

    Returns the class of the object in the given type T. Read more
    source§

    fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
    where + U: IsInterface,

    Returns the interface T of the object. Read more
    source§

    fn set_property(&self, property_name: &str, value: impl Into<Value>)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_property_from_value(&self, property_name: &str, value: &Value)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

    Sets multiple properties of the object at once. Read more
    source§

    fn set_properties_from_value(&self, property_values: &[(&str, Value)])

    Sets multiple properties of the object at once. Read more
    source§

    fn property<V>(&self, property_name: &str) -> V
    where + V: for<'b> FromValue<'b> + 'static,

    Gets the property property_name of the object and cast it to the type V. Read more
    source§

    fn property_value(&self, property_name: &str) -> Value

    Gets the property property_name of the object. Read more
    source§

    fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

    Check if the object has a property property_name of the given type_. Read more
    source§

    fn property_type(&self, property_name: &str) -> Option<Type>

    Get the type of the property property_name of this object. Read more
    source§

    fn find_property(&self, property_name: &str) -> Option<ParamSpec>

    Get the ParamSpec of the property property_name of this object.
    source§

    fn list_properties(&self) -> PtrSlice<ParamSpec>

    Return all ParamSpec of the properties of this object.
    source§

    fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

    Freeze all property notifications until the return guard object is dropped. Read more
    source§

    unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
    where + QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
    where + QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
    where + QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn set_data<QD>(&self, key: &str, value: QD)
    where + QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
    where + QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
    where + QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    fn block_signal(&self, handler_id: &SignalHandlerId)

    Block a given signal handler. Read more
    source§

    fn unblock_signal(&self, handler_id: &SignalHandlerId)

    Unblock a given signal handler.
    source§

    fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

    Stop emission of the currently emitted signal.
    source§

    fn stop_signal_emission_by_name(&self, signal_name: &str)

    Stop emission of the currently emitted signal by the (possibly detailed) signal name.
    source§

    fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_name on this object. Read more
    source§

    unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_name on this object. Read more
    source§

    unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

    Connect a closure to the signal signal_name on this object. Read more
    source§

    fn connect_closure_id( +) -> SignalHandlerId

    Connect a closure to the signal signal_name on this object. Read more
    source§

    fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

    Connect a closure to the signal signal_id on this object. Read more
    source§

    fn watch_closure(&self, closure: &impl AsRef<Closure>)

    Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
    Connect a closure to the signal signal_id on this object. Read more
    source§

    fn watch_closure(&self, closure: &impl AsRef<Closure>)

    Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
    source§

    fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

    Emit signal by signal id. Read more
    source§

    fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

    Same as Self::emit but takes Value for the arguments.
    source§

    fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_values( +invoke when using Rust closures.

    source§

    fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

    Emit signal by signal id. Read more
    source§

    fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

    Same as Self::emit but takes Value for the arguments.
    source§

    fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_details<R>( +) -> Option<Value>

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

    Emit signal by its name with details. Read more
    source§

    fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

    Emit signal by its name with details. Read more
    source§

    fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

    Emit signal by its name with details. Read more
    source§

    fn emit_with_details<R>( +) -> Option<Value>

    Emit signal by its name with details. Read more
    source§

    fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

    Emit signal by signal id with details. Read more
    source§

    fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

    Emit signal by signal id with details. Read more
    source§

    fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

    Emit signal by signal id with details. Read more
    source§

    fn disconnect(&self, handler_id: SignalHandlerId)

    Disconnect a previously connected signal handler.
    source§

    fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

    Connect to the notify signal of the object. Read more
    source§

    fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where - F: Fn(&T, &ParamSpec) + 'static,

    Connect to the notify signal of the object. Read more
    source§

    unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

    Emit signal by signal id with details. Read more
    source§

    fn disconnect(&self, handler_id: SignalHandlerId)

    Disconnect a previously connected signal handler.
    source§

    fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

    Connect to the notify signal of the object. Read more
    source§

    fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where + F: Fn(&T, &ParamSpec) + 'static,

    Connect to the notify signal of the object. Read more
    source§

    unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
    where - F: Fn(&T, &ParamSpec),

    Connect to the notify signal of the object. Read more
    source§

    fn notify(&self, property_name: &str)

    Notify that the given property has changed its value. Read more
    source§

    fn notify_by_pspec(&self, pspec: &ParamSpec)

    Notify that the given property has changed its value. Read more
    source§

    fn downgrade(&self) -> WeakRef<T>

    Downgrade this object to a weak reference.
    source§

    fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
    where - F: FnOnce() + Send + 'static,

    Add a callback to be notified when the Object is disposed.
    source§

    fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
    where - F: FnOnce() + 'static,

    Add a callback to be notified when the Object is disposed. Read more
    source§

    fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

    Connect to the notify signal of the object. Read more
    source§

    fn notify(&self, property_name: &str)

    Notify that the given property has changed its value. Read more
    source§

    fn notify_by_pspec(&self, pspec: &ParamSpec)

    Notify that the given property has changed its value. Read more
    source§

    fn downgrade(&self) -> WeakRef<T>

    Downgrade this object to a weak reference.
    source§

    fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
    where + F: FnOnce() + Send + 'static,

    Add a callback to be notified when the Object is disposed.
    source§

    fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
    where + F: FnOnce() + 'static,

    Add a callback to be notified when the Object is disposed. Read more
    source§

    fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
    where - O: ObjectType,

    Bind property source_property on this object to the target_property on the target object. Read more
    source§

    fn ref_count(&self) -> u32

    Returns the strong reference count of this object.
    source§

    unsafe fn run_dispose(&self)

    Runs the dispose mechanism of the object. Read more
    source§

    impl<T, S> ObjectSubclassIsExt for T
    where + O: ObjectType,

    Bind property source_property on this object to the target_property on the target object. Read more
    source§

    fn ref_count(&self) -> u32

    Returns the strong reference count of this object.
    source§

    unsafe fn run_dispose(&self)

    Runs the dispose mechanism of the object. Read more
    source§

    impl<T, S> ObjectSubclassIsExt for T
    where T: ObjectSubclassIs<Subclass = S>, S: ObjectSubclass<Type = T>,

    source§

    fn imp(&self) -> &<T as ObjectSubclassIs>::Subclass

    Returns the implementation (the private Rust struct) of this class instance
    source§

    impl<T> Property for T
    where T: HasParamSpec,

    source§

    type Value = T

    source§

    impl<T> PropertyGet for T
    where @@ -316,6 +316,6 @@
    §Panics
    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.
    source§

    impl<'a, T, C, E> FromValueOptional<'a> for T
    where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

    source§

    impl<Super, Sub> MayDowncastTo<Sub> for Super
    where + E: Error + Send + 'static,

    source§

    impl<Super, Sub> MayDowncastTo<Sub> for Super
    where Super: IsA<Super>, Sub: IsA<Super>,

    \ No newline at end of file diff --git a/git/docs/glib/struct.ByteArray.html b/git/docs/glib/struct.ByteArray.html index 9ce58c6752b8..b3bd93914e51 100644 --- a/git/docs/glib/struct.ByteArray.html +++ b/git/docs/glib/struct.ByteArray.html @@ -1,4 +1,4 @@ -ByteArray in glib - Rust +ByteArray in glib - Rust -
    glib

    Struct ByteArray

    source
    pub struct ByteArray { /* private fields */ }
    Expand description

    Contains the public fields of a GByteArray.

    +
    glib

    Struct ByteArray

    source
    pub struct ByteArray { /* private fields */ }
    Expand description

    Contains the public fields of a GByteArray. +Contains the public fields of a GByteArray.

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl ByteArray

    source

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

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GByteArray) -> &Self

    Borrows the underlying C value.

    +

    Implementations§

    source§

    impl ByteArray

    source

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

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GByteArray) -> &Self

    Borrows the underlying C value.

    Methods from Deref<Target = [u8]>§

    source

    pub fn as_str(&self) -> &str

    🔬This is a nightly-only experimental API. (ascii_char)

    Views this slice of ASCII characters as a UTF-8 str.

    source

    pub fn as_bytes(&self) -> &[u8]

    🔬This is a nightly-only experimental API. (ascii_char)

    Views this slice of ASCII characters as a slice of u8 bytes.

    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all bytes in this slice are within the ASCII range.

    @@ -1214,52 +1215,52 @@
    §ExamplesASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    To lowercase the value in-place, use make_ascii_lowercase.

    -

    Trait Implementations§

    source§

    impl AsRef<[u8]> for ByteArray

    source§

    fn as_ref(&self) -> &[u8]

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ByteArray

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +

    Trait Implementations§

    source§

    impl AsRef<[u8]> for ByteArray

    source§

    fn as_ref(&self) -> &[u8]

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ByteArray

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ByteArray

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ByteArray

    source§

    type Target = [u8]

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &[u8]

    Dereferences the value.
    source§

    impl<'a, T: ?Sized + Borrow<[u8]> + 'a> From<&'a T> for ByteArray

    source§

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

    Converts to this type from the input type.
    source§

    impl From<ByteArray> for Value

    source§

    fn from(s: ByteArray) -> Self

    Converts to this type from the input type.
    source§

    impl HasParamSpec for ByteArray

    source§

    type ParamSpec = ParamSpecBoxed

    source§

    type SetValue = ByteArray

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, ByteArray>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for ByteArray

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ByteArray

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ByteArray

    source§

    type Target = [u8]

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &[u8]

    Dereferences the value.
    source§

    impl<'a, T: ?Sized + Borrow<[u8]> + 'a> From<&'a T> for ByteArray

    source§

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

    Converts to this type from the input type.
    source§

    impl From<ByteArray> for Value

    source§

    fn from(s: ByteArray) -> Self

    Converts to this type from the input type.
    source§

    impl HasParamSpec for ByteArray

    source§

    type ParamSpec = ParamSpecBoxed

    source§

    type SetValue = ByteArray

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, ByteArray>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for ByteArray

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<'a, 'b> PartialEq<&'a [u8]> for ByteArray

    source§

    fn eq(&self, other: &&'a [u8]) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<&'a ByteArray> for [u8]

    source§

    fn eq(&self, other: &&'a ByteArray) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<&'a ByteArray> for Vec<u8>

    source§

    fn eq(&self, other: &&'a ByteArray) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<[u8]> for &'a ByteArray

    source§

    fn eq(&self, other: &[u8]) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<[u8]> for ByteArray

    source§

    fn eq(&self, other: &[u8]) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<ByteArray> for &'a [u8]

    source§

    fn eq(&self, other: &ByteArray) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<ByteArray> for [u8]

    source§

    fn eq(&self, other: &ByteArray) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<ByteArray> for Vec<u8>

    source§

    fn eq(&self, other: &ByteArray) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<Vec<u8>> for &'a ByteArray

    source§

    fn eq(&self, other: &Vec<u8>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<Vec<u8>> for ByteArray

    source§

    fn eq(&self, other: &Vec<u8>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialEq for ByteArray

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialOrd<&'a [u8]> for ByteArray

    source§

    fn partial_cmp(&self, other: &&'a [u8]) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<'a, 'b> PartialEq<&'a [u8]> for ByteArray

    source§

    fn eq(&self, other: &&'a [u8]) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<&'a ByteArray> for [u8]

    source§

    fn eq(&self, other: &&'a ByteArray) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<&'a ByteArray> for Vec<u8>

    source§

    fn eq(&self, other: &&'a ByteArray) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<[u8]> for &'a ByteArray

    source§

    fn eq(&self, other: &[u8]) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<[u8]> for ByteArray

    source§

    fn eq(&self, other: &[u8]) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<ByteArray> for &'a [u8]

    source§

    fn eq(&self, other: &ByteArray) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<ByteArray> for [u8]

    source§

    fn eq(&self, other: &ByteArray) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<ByteArray> for Vec<u8>

    source§

    fn eq(&self, other: &ByteArray) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<Vec<u8>> for &'a ByteArray

    source§

    fn eq(&self, other: &Vec<u8>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<Vec<u8>> for ByteArray

    source§

    fn eq(&self, other: &Vec<u8>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialEq for ByteArray

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialOrd<&'a [u8]> for ByteArray

    source§

    fn partial_cmp(&self, other: &&'a [u8]) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<&'a ByteArray> for [u8]

    source§

    fn partial_cmp(&self, other: &&'a ByteArray) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<&'a ByteArray> for [u8]

    source§

    fn partial_cmp(&self, other: &&'a ByteArray) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<&'a ByteArray> for Vec<u8>

    source§

    fn partial_cmp(&self, other: &&'a ByteArray) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<&'a ByteArray> for Vec<u8>

    source§

    fn partial_cmp(&self, other: &&'a ByteArray) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<[u8]> for &'a ByteArray

    source§

    fn partial_cmp(&self, other: &[u8]) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<[u8]> for &'a ByteArray

    source§

    fn partial_cmp(&self, other: &[u8]) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<[u8]> for ByteArray

    source§

    fn partial_cmp(&self, other: &[u8]) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<[u8]> for ByteArray

    source§

    fn partial_cmp(&self, other: &[u8]) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<ByteArray> for &'a [u8]

    source§

    fn partial_cmp(&self, other: &ByteArray) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<ByteArray> for &'a [u8]

    source§

    fn partial_cmp(&self, other: &ByteArray) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<ByteArray> for [u8]

    source§

    fn partial_cmp(&self, other: &ByteArray) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<ByteArray> for [u8]

    source§

    fn partial_cmp(&self, other: &ByteArray) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<ByteArray> for Vec<u8>

    source§

    fn partial_cmp(&self, other: &ByteArray) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<ByteArray> for Vec<u8>

    source§

    fn partial_cmp(&self, other: &ByteArray) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<Vec<u8>> for &'a ByteArray

    source§

    fn partial_cmp(&self, other: &Vec<u8>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<Vec<u8>> for &'a ByteArray

    source§

    fn partial_cmp(&self, other: &Vec<u8>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<Vec<u8>> for ByteArray

    source§

    fn partial_cmp(&self, other: &Vec<u8>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<Vec<u8>> for ByteArray

    source§

    fn partial_cmp(&self, other: &Vec<u8>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for ByteArray

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ByteArray

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for ByteArray

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ByteArray

    Auto Trait Implementations§

    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
    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 diff --git a/git/docs/glib/struct.Bytes.html b/git/docs/glib/struct.Bytes.html index 5f92a2aed705..ed553230c31e 100644 --- a/git/docs/glib/struct.Bytes.html +++ b/git/docs/glib/struct.Bytes.html @@ -71,7 +71,7 @@ -
    glib

    Struct Bytes

    source
    pub struct Bytes { /* private fields */ }
    Expand description

    A shared immutable byte slice (the equivalent of Rc<[u8]>).

    +
    glib

    Struct Bytes

    source
    pub struct Bytes { /* private fields */ }
    Expand description

    A shared immutable byte slice (the equivalent of Rc<[u8]>).

    From implementations that take references (e.g. &[u8]) copy the data. The from_static constructor avoids copying static data.

    @@ -103,12 +103,32 @@

    The data pointed to by this bytes must not be modified. For a mutable array of bytes see #GByteArray. Use g_bytes_unref_to_array() to create a mutable array for a #GBytes sequence. To create an immutable #GBytes from +a mutable #GByteArray, use the g_byte_array_free_to_bytes() function. +A simple refcounted data type representing an immutable sequence of zero or +more bytes from an unspecified origin.

    +

    The purpose of a #GBytes is to keep the memory region that it holds +alive for as long as anyone holds a reference to the bytes. When +the last reference count is dropped, the memory is released. Multiple +unrelated callers can use byte data in the #GBytes without coordinating +their activities, resting assured that the byte data will not change or +move while they hold a reference.

    +

    A #GBytes can come from many different origins that may have +different procedures for freeing the memory region. Examples are +memory from g_malloc(), from memory slices, from a #GMappedFile or +memory from other allocators.

    +

    #GBytes work well as keys in #GHashTable. Use g_bytes_equal() and +g_bytes_hash() as parameters to g_hash_table_new() or g_hash_table_new_full(). +#GBytes can also be used as keys in a #GTree by passing the g_bytes_compare() +function to g_tree_new().

    +

    The data pointed to by this bytes must not be modified. For a mutable +array of bytes see #GByteArray. Use g_bytes_unref_to_array() to create a +mutable array for a #GBytes sequence. To create an immutable #GBytes from a mutable #GByteArray, use the g_byte_array_free_to_bytes() function.

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl Bytes

    source

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

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GBytes) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl Bytes

    source

    pub fn from_static(data: &'static [u8]) -> Bytes

    Creates a view into static data without copying.

    -
    source

    pub fn from_owned<T: AsRef<[u8]> + Send + 'static>(data: T) -> Bytes

    Takes ownership of data and creates a new Bytes without copying.

    +

    Implementations§

    source§

    impl Bytes

    source

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

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GBytes) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl Bytes

    source

    pub fn from_static(data: &'static [u8]) -> Bytes

    Creates a view into static data without copying.

    +
    source

    pub fn from_owned<T: AsRef<[u8]> + Send + 'static>(data: T) -> Bytes

    Takes ownership of data and creates a new Bytes without copying.

    Methods from Deref<Target = [u8]>§

    source

    pub fn as_str(&self) -> &str

    🔬This is a nightly-only experimental API. (ascii_char)

    Views this slice of ASCII characters as a UTF-8 str.

    source

    pub fn as_bytes(&self) -> &[u8]

    🔬This is a nightly-only experimental API. (ascii_char)

    Views this slice of ASCII characters as a slice of u8 bytes.

    1.23.0 · source

    pub fn is_ascii(&self) -> bool

    Checks if all bytes in this slice are within the ASCII range.

    @@ -1248,58 +1268,58 @@
    §ExamplesASCII letters ‘A’ to ‘Z’ are mapped to ‘a’ to ‘z’, but non-ASCII letters are unchanged.

    To lowercase the value in-place, use make_ascii_lowercase.

    -

    Trait Implementations§

    source§

    impl AsRef<[u8]> for Bytes

    source§

    fn as_ref(&self) -> &[u8]

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for Bytes

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +

    Trait Implementations§

    source§

    impl AsRef<[u8]> for Bytes

    source§

    fn as_ref(&self) -> &[u8]

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for Bytes

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Bytes

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Deref for Bytes

    source§

    type Target = [u8]

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &[u8]

    Dereferences the value.
    source§

    impl<'a, T: ?Sized + Borrow<[u8]> + 'a> From<&'a T> for Bytes

    source§

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

    Converts to this type from the input type.
    source§

    impl From<Bytes> for Value

    source§

    fn from(s: Bytes) -> Self

    Converts to this type from the input type.
    source§

    impl HasParamSpec for Bytes

    source§

    type ParamSpec = ParamSpecBoxed

    source§

    type SetValue = Bytes

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, Bytes>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for Bytes

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Bytes

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Deref for Bytes

    source§

    type Target = [u8]

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &[u8]

    Dereferences the value.
    source§

    impl<'a, T: ?Sized + Borrow<[u8]> + 'a> From<&'a T> for Bytes

    source§

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

    Converts to this type from the input type.
    source§

    impl From<Bytes> for Value

    source§

    fn from(s: Bytes) -> Self

    Converts to this type from the input type.
    source§

    impl HasParamSpec for Bytes

    source§

    type ParamSpec = ParamSpecBoxed

    source§

    type SetValue = Bytes

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, Bytes>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for Bytes

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Bytes

    source§

    fn cmp(&self, other: &Self) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Bytes

    source§

    fn cmp(&self, other: &Self) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl<'a, 'b> PartialEq<&'a [u8]> for Bytes

    source§

    fn eq(&self, other: &&'a [u8]) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<&'a Bytes> for [u8]

    source§

    fn eq(&self, other: &&'a Bytes) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<&'a Bytes> for Vec<u8>

    source§

    fn eq(&self, other: &&'a Bytes) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<[u8]> for &'a Bytes

    source§

    fn eq(&self, other: &[u8]) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<[u8]> for Bytes

    source§

    fn eq(&self, other: &[u8]) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<Bytes> for &'a [u8]

    source§

    fn eq(&self, other: &Bytes) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<Bytes> for [u8]

    source§

    fn eq(&self, other: &Bytes) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<Bytes> for Vec<u8>

    source§

    fn eq(&self, other: &Bytes) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<Vec<u8>> for &'a Bytes

    source§

    fn eq(&self, other: &Vec<u8>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<Vec<u8>> for Bytes

    source§

    fn eq(&self, other: &Vec<u8>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialEq for Bytes

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialOrd<&'a [u8]> for Bytes

    source§

    fn partial_cmp(&self, other: &&'a [u8]) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl<'a, 'b> PartialEq<&'a [u8]> for Bytes

    source§

    fn eq(&self, other: &&'a [u8]) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<&'a Bytes> for [u8]

    source§

    fn eq(&self, other: &&'a Bytes) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<&'a Bytes> for Vec<u8>

    source§

    fn eq(&self, other: &&'a Bytes) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<[u8]> for &'a Bytes

    source§

    fn eq(&self, other: &[u8]) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<[u8]> for Bytes

    source§

    fn eq(&self, other: &[u8]) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<Bytes> for &'a [u8]

    source§

    fn eq(&self, other: &Bytes) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<Bytes> for [u8]

    source§

    fn eq(&self, other: &Bytes) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<Bytes> for Vec<u8>

    source§

    fn eq(&self, other: &Bytes) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<Vec<u8>> for &'a Bytes

    source§

    fn eq(&self, other: &Vec<u8>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialEq<Vec<u8>> for Bytes

    source§

    fn eq(&self, other: &Vec<u8>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialEq for Bytes

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<'a, 'b> PartialOrd<&'a [u8]> for Bytes

    source§

    fn partial_cmp(&self, other: &&'a [u8]) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<&'a Bytes> for [u8]

    source§

    fn partial_cmp(&self, other: &&'a Bytes) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<&'a Bytes> for [u8]

    source§

    fn partial_cmp(&self, other: &&'a Bytes) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<&'a Bytes> for Vec<u8>

    source§

    fn partial_cmp(&self, other: &&'a Bytes) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<&'a Bytes> for Vec<u8>

    source§

    fn partial_cmp(&self, other: &&'a Bytes) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<[u8]> for &'a Bytes

    source§

    fn partial_cmp(&self, other: &[u8]) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<[u8]> for &'a Bytes

    source§

    fn partial_cmp(&self, other: &[u8]) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<[u8]> for Bytes

    source§

    fn partial_cmp(&self, other: &[u8]) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<[u8]> for Bytes

    source§

    fn partial_cmp(&self, other: &[u8]) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<Bytes> for &'a [u8]

    source§

    fn partial_cmp(&self, other: &Bytes) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<Bytes> for &'a [u8]

    source§

    fn partial_cmp(&self, other: &Bytes) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<Bytes> for [u8]

    source§

    fn partial_cmp(&self, other: &Bytes) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<Bytes> for [u8]

    source§

    fn partial_cmp(&self, other: &Bytes) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<Bytes> for Vec<u8>

    source§

    fn partial_cmp(&self, other: &Bytes) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<Bytes> for Vec<u8>

    source§

    fn partial_cmp(&self, other: &Bytes) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<Vec<u8>> for &'a Bytes

    source§

    fn partial_cmp(&self, other: &Vec<u8>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<Vec<u8>> for &'a Bytes

    source§

    fn partial_cmp(&self, other: &Vec<u8>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<Vec<u8>> for Bytes

    source§

    fn partial_cmp(&self, other: &Vec<u8>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +the >= operator. Read more
    source§

    impl<'a, 'b> PartialOrd<Vec<u8>> for Bytes

    source§

    fn partial_cmp(&self, other: &Vec<u8>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl PartialOrd for Bytes

    source§

    fn partial_cmp(&self, other: &Self) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +the >= operator. Read more
    source§

    impl PartialOrd for Bytes

    source§

    fn partial_cmp(&self, other: &Self) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for Bytes

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for Bytes

    source§

    impl Send for Bytes

    source§

    impl Sync for Bytes

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for Bytes

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for Bytes

    source§

    impl Send for Bytes

    source§

    impl Sync for Bytes

    Auto Trait Implementations§

    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
    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 @@ -1332,8 +1352,8 @@
    §ExamplesHasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.Checksum.html b/git/docs/glib/struct.Checksum.html index 5a3e08c7a96d..3693d8aa48ed 100644 --- a/git/docs/glib/struct.Checksum.html +++ b/git/docs/glib/struct.Checksum.html @@ -71,7 +71,21 @@ -
    glib

    Struct Checksum

    source
    pub struct Checksum { /* private fields */ }
    Expand description

    GLib provides a generic API for computing checksums (or ‘digests’) +

    glib

    Struct Checksum

    source
    pub struct Checksum { /* private fields */ }
    Expand description

    GLib provides a generic API for computing checksums (or ‘digests’) +for a sequence of arbitrary bytes, using various hashing algorithms +like MD5, SHA-1 and SHA-256. Checksums are commonly used in various +environments and specifications.

    +

    To create a new GChecksum, use GLib::Checksum::new(). To free +a GChecksum, use GLib::Checksum::free().

    +

    GLib supports incremental checksums using the GChecksum data +structure, by calling update() as long as there’s data +available and then using string() or +digest() to compute the checksum and return it +either as a string in hexadecimal form, or as a raw sequence of bytes. To +compute the checksum for binary blobs and nul-terminated strings in +one go, use the convenience functions compute_checksum_for_data() +and compute_checksum_for_string(), respectively. +GLib provides a generic API for computing checksums (or ‘digests’) for a sequence of arbitrary bytes, using various hashing algorithms like MD5, SHA-1 and SHA-256. Checksums are commonly used in various environments and specifications.

    @@ -86,10 +100,10 @@ one go, use the convenience functions compute_checksum_for_data() and compute_checksum_for_string(), respectively.

    GLib type: Boxed type with copy-on-clone semantics.

    -

    Implementations§

    source§

    impl Checksum

    source

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

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GChecksum) -> &Self

    Borrows the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow_mut(ptr: &mut *mut GChecksum) -> &mut Self

    Borrows the underlying C value mutably.

    -
    source§

    impl Checksum

    source

    pub fn new(checksum_type: ChecksumType) -> Option<Checksum>

    Creates a new #GChecksum, using the checksum algorithm @checksum_type. +

    Implementations§

    source§

    impl Checksum

    source

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

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GChecksum) -> &Self

    Borrows the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow_mut(ptr: &mut *mut GChecksum) -> &mut Self

    Borrows the underlying C value mutably.

    +
    source§

    impl Checksum

    source

    pub fn new(checksum_type: ChecksumType) -> Option<Checksum>

    Creates a new #GChecksum, using the checksum algorithm @checksum_type. If the @checksum_type is not known, None is returned. A #GChecksum can be used to compute the checksum, or digest, of an arbitrary binary blob, using different hashing algorithms.

    @@ -105,44 +119,87 @@
    §c

    the desired type of checksum

    §Returns

    the newly created #GChecksum, or None. +Use g_checksum_free() to free the memory allocated by it. +Creates a new #GChecksum, using the checksum algorithm @checksum_type. +If the @checksum_type is not known, None is returned. +A #GChecksum can be used to compute the checksum, or digest, of an +arbitrary binary blob, using different hashing algorithms.

    +

    A #GChecksum works by feeding a binary blob through g_checksum_update() +until there is data to be checked; the digest can then be extracted +using g_checksum_get_string(), which will return the checksum as a +hexadecimal string; or g_checksum_get_digest(), which will return a +vector of raw bytes. Once either g_checksum_get_string() or +g_checksum_get_digest() have been called on a #GChecksum, the checksum +will be closed and it won’t be possible to call g_checksum_update() +on it anymore.

    +
    §checksum_type
    +

    the desired type of checksum

    +
    §Returns
    +

    the newly created #GChecksum, or None. Use g_checksum_free() to free the memory allocated by it.

    -
    source

    pub fn reset(&mut self)

    Resets the state of the @self back to its initial state.

    -
    source

    pub fn update(&mut self, data: &[u8])

    Feeds @data into an existing #GChecksum. The checksum must still be +

    source

    pub fn reset(&mut self)

    Resets the state of the @self back to its initial state. +Resets the state of the @self back to its initial state.

    +
    source

    pub fn update(&mut self, data: &[u8])

    Feeds @data into an existing #GChecksum. The checksum must still be open, that is g_checksum_get_string() or g_checksum_get_digest() must not have been called on @self.

    §data
    +

    buffer used to compute the checksum +Feeds @data into an existing #GChecksum. The checksum must still be +open, that is g_checksum_get_string() or g_checksum_get_digest() must +not have been called on @self.

    +
    §data

    buffer used to compute the checksum

    -
    source

    pub fn type_get_length(checksum_type: ChecksumType) -> isize

    Gets the length in bytes of digests of type @checksum_type

    -
    §checksum_type
    +
    source

    pub fn type_get_length(checksum_type: ChecksumType) -> isize

    Gets the length in bytes of digests of type @checksum_type

    +
    §checksum_type

    a #GChecksumType

    -
    §Returns
    +
    §Returns
    +

    the checksum length, or -1 if @checksum_type is +not supported. +Gets the length in bytes of digests of type @checksum_type

    +
    §checksum_type
    +

    a #GChecksumType

    +
    §Returns

    the checksum length, or -1 if @checksum_type is not supported.

    -
    source§

    impl Checksum

    source

    pub fn digest(self) -> Vec<u8>

    Gets the digest from @self as a raw binary vector and places it +

    source§

    impl Checksum

    source

    pub fn digest(self) -> Vec<u8>

    Gets the digest from @self as a raw binary vector and places it into @buffer. The size of the digest depends on the type of checksum.

    Once this function has been called, the #GChecksum is closed and can no longer be updated with g_checksum_update().

    §buffer
    +

    output buffer +Gets the digest from @self as a raw binary vector and places it +into @buffer. The size of the digest depends on the type of checksum.

    +

    Once this function has been called, the #GChecksum is closed and can +no longer be updated with g_checksum_update().

    +
    §buffer

    output buffer

    -
    source

    pub fn string(self) -> Option<String>

    Gets the digest as a hexadecimal string.

    +
    source

    pub fn string(self) -> Option<String>

    Gets the digest as a hexadecimal string.

    Once this function has been called the #GChecksum can no longer be updated with g_checksum_update().

    The hexadecimal characters will be lower case.

    -
    §Returns
    +
    §Returns
    +

    the hexadecimal representation of the checksum. The +returned string is owned by the checksum and should not be modified +or freed. +Gets the digest as a hexadecimal string.

    +

    Once this function has been called the #GChecksum can no longer be +updated with g_checksum_update().

    +

    The hexadecimal characters will be lower case.

    +
    §Returns

    the hexadecimal representation of the checksum. The returned string is owned by the checksum and should not be modified or freed.

    -

    Trait Implementations§

    source§

    impl Clone for Checksum

    source§

    fn clone(&self) -> Self

    Copies the boxed type with the type-specific copy function.

    -
    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Checksum

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl From<Checksum> for Value

    source§

    fn from(o: Checksum) -> Self

    Converts to this type from the input type.
    source§

    impl HasParamSpec for Checksum

    source§

    type ParamSpec = ParamSpecBoxed

    source§

    type SetValue = Checksum

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, Checksum>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for Checksum

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    Trait Implementations§

    source§

    impl Clone for Checksum

    source§

    fn clone(&self) -> Self

    Copies the boxed type with the type-specific copy function.

    +
    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Checksum

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl From<Checksum> for Value

    source§

    fn from(o: Checksum) -> Self

    Converts to this type from the input type.
    source§

    impl HasParamSpec for Checksum

    source§

    type ParamSpec = ParamSpecBoxed

    source§

    type SetValue = Checksum

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, Checksum>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for Checksum

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Checksum

    source§

    fn cmp(&self, other: &Checksum) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Checksum

    source§

    fn cmp(&self, other: &Checksum) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Checksum

    source§

    fn eq(&self, other: &Checksum) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for Checksum

    source§

    fn partial_cmp(&self, other: &Checksum) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Checksum

    source§

    fn eq(&self, other: &Checksum) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for Checksum

    source§

    fn partial_cmp(&self, other: &Checksum) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for Checksum

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for Checksum

    source§

    impl Send for Checksum

    source§

    impl StructuralPartialEq for Checksum

    source§

    impl Sync for Checksum

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for Checksum

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for Checksum

    source§

    impl Send for Checksum

    source§

    impl StructuralPartialEq for Checksum

    source§

    impl Sync for Checksum

    Auto Trait Implementations§

    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
    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 @@ -175,8 +232,8 @@
    §Returns
    T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.Date.html b/git/docs/glib/struct.Date.html index d79ad7ae1108..da809a4873ca 100644 --- a/git/docs/glib/struct.Date.html +++ b/git/docs/glib/struct.Date.html @@ -131,8 +131,8 @@ T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T, U> TryFrom<U> 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    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.
    source§

    impl<'a, T, C, E> FromValueOptional<'a> for T
    where diff --git a/git/docs/glib/struct.DateTime.html b/git/docs/glib/struct.DateTime.html index 4acf38695811..d721ae6aa9f1 100644 --- a/git/docs/glib/struct.DateTime.html +++ b/git/docs/glib/struct.DateTime.html @@ -71,7 +71,28 @@ -
    glib

    Struct DateTime

    source
    pub struct DateTime { /* private fields */ }
    Expand description

    GDateTime is a structure that combines a Gregorian date and time +

    glib

    Struct DateTime

    source
    pub struct DateTime { /* private fields */ }
    Expand description

    GDateTime is a structure that combines a Gregorian date and time +into a single structure.

    +

    GDateTime provides many conversion and methods to manipulate dates and times. +Time precision is provided down to microseconds and the time can range +(proleptically) from 0001-01-01 00:00:00 to 9999-12-31 23:59:59.999999. +GDateTime follows POSIX time in the sense that it is oblivious to leap +seconds.

    +

    GDateTime is an immutable object; once it has been created it cannot +be modified further. All modifiers will create a new GDateTime. +Nearly all such functions can fail due to the date or time going out +of range, in which case None will be returned.

    +

    GDateTime is reference counted: the reference count is increased by calling +GLib::DateTime::ref() and decreased by calling GLib::DateTime::unref(). +When the reference count drops to 0, the resources allocated by the GDateTime +structure are released.

    +

    Many parts of the API may produce non-obvious results. As an +example, adding two months to January 31st will yield March 31st +whereas adding one month and then one month again will yield either +March 28th or March 29th. Also note that adding 24 hours is not +always the same as adding one day (since days containing daylight +savings time transitions are either 23 or 25 hours in length). +GDateTime is a structure that combines a Gregorian date and time into a single structure.

    GDateTime provides many conversion and methods to manipulate dates and times. Time precision is provided down to microseconds and the time can range @@ -93,9 +114,9 @@ always the same as adding one day (since days containing daylight savings time transitions are either 23 or 25 hours in length).

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl DateTime

    source

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

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GDateTime) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl DateTime

    source

    pub fn new( +

    Implementations§

    source§

    impl DateTime

    source

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

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GDateTime) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl DateTime

    source

    pub fn new( tz: &TimeZone, year: i32, month: i32, @@ -139,8 +160,45 @@

    §minute§seconds

    the number of seconds past the minute

    §Returns
    +

    a new #GDateTime, or None +Creates a new #GDateTime corresponding to the given date and time in +the time zone @tz.

    +

    The @year must be between 1 and 9999, @month between 1 and 12 and @day +between 1 and 28, 29, 30 or 31 depending on the month and the year.

    +

    @hour must be between 0 and 23 and @minute must be between 0 and 59.

    +

    @seconds must be at least 0.0 and must be strictly less than 60.0. +It will be rounded down to the nearest microsecond.

    +

    If the given time is not representable in the given time zone (for +example, 02:30 on March 14th 2010 in Toronto, due to daylight savings +time) then the time will be rounded up to the nearest existing time +(in this case, 03:00). If this matters to you then you should verify +the return value for containing the same as the numbers you gave.

    +

    In the case that the given time is ambiguous in the given time zone +(for example, 01:30 on November 7th 2010 in Toronto, due to daylight +savings time) then the time falling within standard (ie: +non-daylight) time is taken.

    +

    It not considered a programmer error for the values to this function +to be out of range, but in the case that they are, the function will +return None.

    +

    You should release the return value by calling g_date_time_unref() +when you are done with it.

    +
    §tz
    +

    a #GTimeZone

    +
    §year
    +

    the year component of the date

    +
    §month
    +

    the month component of the date

    +
    §day
    +

    the day component of the date

    +
    §hour
    +

    the hour component of the date

    +
    §minute
    +

    the minute component of the date

    +
    §seconds
    +

    the number of seconds past the minute

    +
    §Returns

    a new #GDateTime, or None

    -
    source

    pub fn from_iso8601( +

    source

    pub fn from_iso8601( text: &str, default_tz: Option<&TimeZone>, ) -> Result<DateTime, BoolError>

    Creates a #GDateTime corresponding to the given @@ -186,9 +244,54 @@

    §text
    §default_tz

    a #GTimeZone to use if the text doesn’t contain a timezone, or None.

    -
    §Returns
    +
    §Returns
    +

    a new #GDateTime, or None +Creates a #GDateTime corresponding to the given +ISO 8601 formatted string +@text. ISO 8601 strings of the form <date><sep><time><tz> are supported, with +some extensions from RFC 3339 as +mentioned below.

    +

    Note that as #GDateTime “is oblivious to leap seconds”, leap seconds information +in an ISO-8601 string will be ignored, so a 23:59:60 time would be parsed as +23:59:59.

    +

    <sep> is the separator and can be either ‘T’, ‘t’ or ’ ’. The latter two +separators are an extension from +RFC 3339.

    +

    <date> is in the form:

    +
      +
    • YYYY-MM-DD - Year/month/day, e.g. 2016-08-24.
    • +
    • YYYYMMDD - Same as above without dividers.
    • +
    • YYYY-DDD - Ordinal day where DDD is from 001 to 366, e.g. 2016-237.
    • +
    • YYYYDDD - Same as above without dividers.
    • +
    • YYYY-Www-D - Week day where ww is from 01 to 52 and D from 1-7, +e.g. 2016-W34-3.
    • +
    • YYYYWwwD - Same as above without dividers.
    • +
    +

    <time> is in the form:

    +
      +
    • hh:mm:ss(.sss) - Hours, minutes, seconds (subseconds), e.g. 22:10:42.123.
    • +
    • hhmmss(.sss) - Same as above without dividers.
    • +
    +

    <tz> is an optional timezone suffix of the form:

    +
      +
    • Z - UTC.
    • +
    • +hh:mm or -hh:mm - Offset from UTC in hours and minutes, e.g. +12:00.
    • +
    • +hh or -hh - Offset from UTC in hours, e.g. +12.
    • +
    +

    If the timezone is not provided in @text it must be provided in @default_tz +(this field is otherwise ignored).

    +

    This call can fail (returning None) if @text is not a valid ISO 8601 +formatted string.

    +

    You should release the return value by calling g_date_time_unref() +when you are done with it.

    +
    §text
    +

    an ISO 8601 formatted time string.

    +
    §default_tz
    +

    a #GTimeZone to use if the text doesn’t contain a +timezone, or None.

    +
    §Returns

    a new #GDateTime, or None

    -
    source

    pub fn from_unix_local(t: i64) -> Result<DateTime, BoolError>

    Creates a #GDateTime corresponding to the given Unix time @t in the +

    source

    pub fn from_unix_local(t: i64) -> Result<DateTime, BoolError>

    Creates a #GDateTime corresponding to the given Unix time @t in the local time zone.

    Unix time is the number of seconds that have elapsed since 1970-01-01 00:00:00 UTC, regardless of the local time offset.

    @@ -198,9 +301,21 @@
    §Returns
    when you are done with it.

    §t

    the Unix time

    -
    §Returns
    +
    §Returns
    +

    a new #GDateTime, or None +Creates a #GDateTime corresponding to the given Unix time @t in the +local time zone.

    +

    Unix time is the number of seconds that have elapsed since 1970-01-01 +00:00:00 UTC, regardless of the local time offset.

    +

    This call can fail (returning None) if @t represents a time outside +of the supported range of #GDateTime.

    +

    You should release the return value by calling g_date_time_unref() +when you are done with it.

    +
    §t
    +

    the Unix time

    +
    §Returns

    a new #GDateTime, or None

    -
    source

    pub fn from_unix_local_usec(usecs: i64) -> Result<DateTime, BoolError>

    Available on crate feature v2_80 only.

    Creates a DateTime corresponding to the given Unix time @t in the +

    source

    pub fn from_unix_local_usec(usecs: i64) -> Result<DateTime, BoolError>

    Available on crate feature v2_80 only.

    Creates a DateTime corresponding to the given Unix time @t in the local time zone.

    Unix time is the number of microseconds that have elapsed since 1970-01-01 00:00:00 UTC, regardless of the local time offset.

    @@ -210,31 +325,65 @@
    §Returns
    when you are done with it.

    §usecs

    the Unix time in microseconds

    -
    §Returns
    +
    §Returns
    +

    a new DateTime, or NULL +Creates a DateTime corresponding to the given Unix time @t in the +local time zone.

    +

    Unix time is the number of microseconds that have elapsed since 1970-01-01 +00:00:00 UTC, regardless of the local time offset.

    +

    This call can fail (returning NULL) if @t represents a time outside +of the supported range of #GDateTime.

    +

    You should release the return value by calling GLib::DateTime::unref() +when you are done with it.

    +
    §usecs
    +

    the Unix time in microseconds

    +
    §Returns

    a new DateTime, or NULL

    -
    source

    pub fn from_unix_utc(t: i64) -> Result<DateTime, BoolError>

    Creates a #GDateTime corresponding to the given Unix time @t in UTC.

    +
    source

    pub fn from_unix_utc(t: i64) -> Result<DateTime, BoolError>

    Creates a #GDateTime corresponding to the given Unix time @t in UTC.

    Unix time is the number of seconds that have elapsed since 1970-01-01 00:00:00 UTC.

    This call can fail (returning None) if @t represents a time outside of the supported range of #GDateTime.

    You should release the return value by calling g_date_time_unref() when you are done with it.

    -
    §t
    +
    §t

    the Unix time

    -
    §Returns
    +
    §Returns
    +

    a new #GDateTime, or None +Creates a #GDateTime corresponding to the given Unix time @t in UTC.

    +

    Unix time is the number of seconds that have elapsed since 1970-01-01 +00:00:00 UTC.

    +

    This call can fail (returning None) if @t represents a time outside +of the supported range of #GDateTime.

    +

    You should release the return value by calling g_date_time_unref() +when you are done with it.

    +
    §t
    +

    the Unix time

    +
    §Returns

    a new #GDateTime, or None

    -
    source

    pub fn from_unix_utc_usec(usecs: i64) -> Result<DateTime, BoolError>

    Available on crate feature v2_80 only.

    Creates a DateTime corresponding to the given Unix time @t in UTC.

    +
    source

    pub fn from_unix_utc_usec(usecs: i64) -> Result<DateTime, BoolError>

    Available on crate feature v2_80 only.

    Creates a DateTime corresponding to the given Unix time @t in UTC.

    Unix time is the number of microseconds that have elapsed since 1970-01-01 00:00:00 UTC.

    This call can fail (returning NULL) if @t represents a time outside of the supported range of #GDateTime.

    You should release the return value by calling GLib::DateTime::unref() when you are done with it.

    -
    §usecs
    +
    §usecs

    the Unix time in microseconds

    -
    §Returns
    +
    §Returns
    +

    a new DateTime, or NULL +Creates a DateTime corresponding to the given Unix time @t in UTC.

    +

    Unix time is the number of microseconds that have elapsed since 1970-01-01 +00:00:00 UTC.

    +

    This call can fail (returning NULL) if @t represents a time outside +of the supported range of #GDateTime.

    +

    You should release the return value by calling GLib::DateTime::unref() +when you are done with it.

    +
    §usecs
    +

    the Unix time in microseconds

    +
    §Returns

    a new DateTime, or NULL

    -
    source

    pub fn from_local( +

    source

    pub fn from_local( year: i32, month: i32, day: i32, @@ -245,43 +394,83 @@

    §Returns
    the local time zone.

    This call is equivalent to calling g_date_time_new() with the time zone returned by g_time_zone_new_local().

    -
    §year
    +
    §year

    the year component of the date

    -
    §month
    +
    §month

    the month component of the date

    -
    §day
    +
    §day

    the day component of the date

    -
    §hour
    +
    §hour

    the hour component of the date

    -
    §minute
    +
    §minute

    the minute component of the date

    -
    §seconds
    +
    §seconds

    the number of seconds past the minute

    -
    §Returns
    +
    §Returns
    +

    a #GDateTime, or None +Creates a new #GDateTime corresponding to the given date and time in +the local time zone.

    +

    This call is equivalent to calling g_date_time_new() with the time +zone returned by g_time_zone_new_local().

    +
    §year
    +

    the year component of the date

    +
    §month
    +

    the month component of the date

    +
    §day
    +

    the day component of the date

    +
    §hour
    +

    the hour component of the date

    +
    §minute
    +

    the minute component of the date

    +
    §seconds
    +

    the number of seconds past the minute

    +
    §Returns

    a #GDateTime, or None

    -
    source

    pub fn now(tz: &TimeZone) -> Result<DateTime, BoolError>

    Creates a #GDateTime corresponding to this exact instant in the given +

    source

    pub fn now(tz: &TimeZone) -> Result<DateTime, BoolError>

    Creates a #GDateTime corresponding to this exact instant in the given time zone @tz. The time is as accurate as the system allows, to a maximum accuracy of 1 microsecond.

    This function will always succeed unless GLib is still being used after the year 9999.

    You should release the return value by calling g_date_time_unref() when you are done with it.

    -
    §tz
    +
    §tz

    a #GTimeZone

    -
    §Returns
    +
    §Returns
    +

    a new #GDateTime, or None +Creates a #GDateTime corresponding to this exact instant in the given +time zone @tz. The time is as accurate as the system allows, to a +maximum accuracy of 1 microsecond.

    +

    This function will always succeed unless GLib is still being used after the +year 9999.

    +

    You should release the return value by calling g_date_time_unref() +when you are done with it.

    +
    §tz
    +

    a #GTimeZone

    +
    §Returns

    a new #GDateTime, or None

    -
    source

    pub fn now_local() -> Result<DateTime, BoolError>

    Creates a #GDateTime corresponding to this exact instant in the local +

    source

    pub fn now_local() -> Result<DateTime, BoolError>

    Creates a #GDateTime corresponding to this exact instant in the local time zone.

    This is equivalent to calling g_date_time_new_now() with the time zone returned by g_time_zone_new_local().

    -
    §Returns
    +
    §Returns
    +

    a new #GDateTime, or None +Creates a #GDateTime corresponding to this exact instant in the local +time zone.

    +

    This is equivalent to calling g_date_time_new_now() with the time +zone returned by g_time_zone_new_local().

    +
    §Returns

    a new #GDateTime, or None

    -
    source

    pub fn now_utc() -> Result<DateTime, BoolError>

    Creates a #GDateTime corresponding to this exact instant in UTC.

    +
    source

    pub fn now_utc() -> Result<DateTime, BoolError>

    Creates a #GDateTime corresponding to this exact instant in UTC.

    This is equivalent to calling g_date_time_new_now() with the time zone returned by g_time_zone_new_utc().

    -
    §Returns
    +
    §Returns
    +

    a new #GDateTime, or None +Creates a #GDateTime corresponding to this exact instant in UTC.

    +

    This is equivalent to calling g_date_time_new_now() with the time +zone returned by g_time_zone_new_utc().

    +
    §Returns

    a new #GDateTime, or None

    -
    source

    pub fn from_utc( +

    source

    pub fn from_utc( year: i32, month: i32, day: i32, @@ -292,34 +481,65 @@

    §Returns
    UTC.

    This call is equivalent to calling g_date_time_new() with the time zone returned by g_time_zone_new_utc().

    -
    §year
    +
    §year

    the year component of the date

    -
    §month
    +
    §month

    the month component of the date

    -
    §day
    +
    §day

    the day component of the date

    -
    §hour
    +
    §hour

    the hour component of the date

    -
    §minute
    +
    §minute

    the minute component of the date

    -
    §seconds
    +
    §seconds

    the number of seconds past the minute

    -
    §Returns
    +
    §Returns
    +

    a #GDateTime, or None +Creates a new #GDateTime corresponding to the given date and time in +UTC.

    +

    This call is equivalent to calling g_date_time_new() with the time +zone returned by g_time_zone_new_utc().

    +
    §year
    +

    the year component of the date

    +
    §month
    +

    the month component of the date

    +
    §day
    +

    the day component of the date

    +
    §hour
    +

    the hour component of the date

    +
    §minute
    +

    the minute component of the date

    +
    §seconds
    +

    the number of seconds past the minute

    +
    §Returns

    a #GDateTime, or None

    -
    source

    pub fn add(&self, timespan: TimeSpan) -> Result<DateTime, BoolError>

    Creates a copy of @self and adds the specified timespan to the copy.

    +
    source

    pub fn add(&self, timespan: TimeSpan) -> Result<DateTime, BoolError>

    Creates a copy of @self and adds the specified timespan to the copy.

    §timespan

    a #GTimeSpan

    -
    §Returns
    +
    §Returns
    +

    the newly created #GDateTime which +should be freed with g_date_time_unref(), or None +Creates a copy of @self and adds the specified timespan to the copy.

    +
    §timespan
    +

    a #GTimeSpan

    +
    §Returns

    the newly created #GDateTime which should be freed with g_date_time_unref(), or None

    -
    source

    pub fn add_days(&self, days: i32) -> Result<DateTime, BoolError>

    Creates a copy of @self and adds the specified number of days to the +

    source

    pub fn add_days(&self, days: i32) -> Result<DateTime, BoolError>

    Creates a copy of @self and adds the specified number of days to the copy. Add negative values to subtract days.

    §days

    the number of days

    -
    §Returns
    +
    §Returns
    +

    the newly created #GDateTime which +should be freed with g_date_time_unref(), or None +Creates a copy of @self and adds the specified number of days to the +copy. Add negative values to subtract days.

    +
    §days
    +

    the number of days

    +
    §Returns

    the newly created #GDateTime which should be freed with g_date_time_unref(), or None

    -
    source

    pub fn add_full( +

    source

    pub fn add_full( &self, years: i32, months: i32, @@ -333,74 +553,147 @@

    §years

    the number of years to add

    §months

    the number of months to add

    -
    §days
    +
    §days

    the number of days to add

    §hours

    the number of hours to add

    §minutes

    the number of minutes to add

    -
    §seconds
    +
    §seconds

    the number of seconds to add

    -
    §Returns
    +
    §Returns
    +

    the newly created #GDateTime which +should be freed with g_date_time_unref(), or None +Creates a new #GDateTime adding the specified values to the current date and +time in @self. Add negative values to subtract.

    +
    §years
    +

    the number of years to add

    +
    §months
    +

    the number of months to add

    +
    §days
    +

    the number of days to add

    +
    §hours
    +

    the number of hours to add

    +
    §minutes
    +

    the number of minutes to add

    +
    §seconds
    +

    the number of seconds to add

    +
    §Returns

    the newly created #GDateTime which should be freed with g_date_time_unref(), or None

    -
    source

    pub fn add_hours(&self, hours: i32) -> Result<DateTime, BoolError>

    Creates a copy of @self and adds the specified number of hours. +

    source

    pub fn add_hours(&self, hours: i32) -> Result<DateTime, BoolError>

    Creates a copy of @self and adds the specified number of hours. Add negative values to subtract hours.

    -
    §hours
    +
    §hours

    the number of hours to add

    -
    §Returns
    +
    §Returns
    +

    the newly created #GDateTime which +should be freed with g_date_time_unref(), or None +Creates a copy of @self and adds the specified number of hours. +Add negative values to subtract hours.

    +
    §hours
    +

    the number of hours to add

    +
    §Returns

    the newly created #GDateTime which should be freed with g_date_time_unref(), or None

    -
    source

    pub fn add_minutes(&self, minutes: i32) -> Result<DateTime, BoolError>

    Creates a copy of @self adding the specified number of minutes. +

    source

    pub fn add_minutes(&self, minutes: i32) -> Result<DateTime, BoolError>

    Creates a copy of @self adding the specified number of minutes. Add negative values to subtract minutes.

    -
    §minutes
    +
    §minutes

    the number of minutes to add

    -
    §Returns
    +
    §Returns
    +

    the newly created #GDateTime which +should be freed with g_date_time_unref(), or None +Creates a copy of @self adding the specified number of minutes. +Add negative values to subtract minutes.

    +
    §minutes
    +

    the number of minutes to add

    +
    §Returns

    the newly created #GDateTime which should be freed with g_date_time_unref(), or None

    -
    source

    pub fn add_months(&self, months: i32) -> Result<DateTime, BoolError>

    Creates a copy of @self and adds the specified number of months to the +

    source

    pub fn add_months(&self, months: i32) -> Result<DateTime, BoolError>

    Creates a copy of @self and adds the specified number of months to the copy. Add negative values to subtract months.

    The day of the month of the resulting #GDateTime is clamped to the number of days in the updated calendar month. For example, if adding 1 month to 31st January 2018, the result would be 28th February 2018. In 2020 (a leap year), the result would be 29th February.

    -
    §months
    +
    §months

    the number of months

    -
    §Returns
    +
    §Returns
    +

    the newly created #GDateTime which +should be freed with g_date_time_unref(), or None +Creates a copy of @self and adds the specified number of months to the +copy. Add negative values to subtract months.

    +

    The day of the month of the resulting #GDateTime is clamped to the number +of days in the updated calendar month. For example, if adding 1 month to +31st January 2018, the result would be 28th February 2018. In 2020 (a leap +year), the result would be 29th February.

    +
    §months
    +

    the number of months

    +
    §Returns

    the newly created #GDateTime which should be freed with g_date_time_unref(), or None

    -
    source

    pub fn add_seconds(&self, seconds: f64) -> Result<DateTime, BoolError>

    Creates a copy of @self and adds the specified number of seconds. +

    source

    pub fn add_seconds(&self, seconds: f64) -> Result<DateTime, BoolError>

    Creates a copy of @self and adds the specified number of seconds. +Add negative values to subtract seconds.

    +
    §seconds
    +

    the number of seconds to add

    +
    §Returns
    +

    the newly created #GDateTime which +should be freed with g_date_time_unref(), or None +Creates a copy of @self and adds the specified number of seconds. Add negative values to subtract seconds.

    -
    §seconds
    +
    §seconds

    the number of seconds to add

    -
    §Returns
    +
    §Returns

    the newly created #GDateTime which should be freed with g_date_time_unref(), or None

    -
    source

    pub fn add_weeks(&self, weeks: i32) -> Result<DateTime, BoolError>

    Creates a copy of @self and adds the specified number of weeks to the +

    source

    pub fn add_weeks(&self, weeks: i32) -> Result<DateTime, BoolError>

    Creates a copy of @self and adds the specified number of weeks to the copy. Add negative values to subtract weeks.

    §weeks

    the number of weeks

    -
    §Returns
    +
    §Returns
    +

    the newly created #GDateTime which +should be freed with g_date_time_unref(), or None +Creates a copy of @self and adds the specified number of weeks to the +copy. Add negative values to subtract weeks.

    +
    §weeks
    +

    the number of weeks

    +
    §Returns

    the newly created #GDateTime which should be freed with g_date_time_unref(), or None

    -
    source

    pub fn add_years(&self, years: i32) -> Result<DateTime, BoolError>

    Creates a copy of @self and adds the specified number of years to the +

    source

    pub fn add_years(&self, years: i32) -> Result<DateTime, BoolError>

    Creates a copy of @self and adds the specified number of years to the copy. Add negative values to subtract years.

    As with g_date_time_add_months(), if the resulting date would be 29th February on a non-leap year, the day will be clamped to 28th February.

    -
    §years
    +
    §years

    the number of years

    -
    §Returns
    +
    §Returns
    +

    the newly created #GDateTime which +should be freed with g_date_time_unref(), or None +Creates a copy of @self and adds the specified number of years to the +copy. Add negative values to subtract years.

    +

    As with g_date_time_add_months(), if the resulting date would be 29th +February on a non-leap year, the day will be clamped to 28th February.

    +
    §years
    +

    the number of years

    +
    §Returns

    the newly created #GDateTime which should be freed with g_date_time_unref(), or None

    -
    source

    pub fn difference(&self, begin: &DateTime) -> TimeSpan

    Calculates the difference in time between @self and @begin. The +

    source

    pub fn difference(&self, begin: &DateTime) -> TimeSpan

    Calculates the difference in time between @self and @begin. The #GTimeSpan that is returned is effectively @self - @begin (ie: positive if the first parameter is larger).

    §begin

    a #GDateTime

    -
    §Returns
    +
    §Returns
    +

    the difference between the two #GDateTime, as a time +span expressed in microseconds. +Calculates the difference in time between @self and @begin. The +#GTimeSpan that is returned is effectively @self - @begin (ie: +positive if the first parameter is larger).

    +
    §begin
    +

    a #GDateTime

    +
    §Returns

    the difference between the two #GDateTime, as a time span expressed in microseconds.

    -
    source

    pub fn format(&self, format: &str) -> Result<GString, BoolError>

    Creates a newly allocated string representing the requested @format.

    +
    source

    pub fn format(&self, format: &str) -> Result<GString, BoolError>

    Creates a newly allocated string representing the requested @format.

    The format strings understood by this function are a subset of the strftime() format language as specified by C99. The D, U and W conversions are not supported, nor is the E modifier. The GNU @@ -523,73 +816,262 @@

    §Returns
    §format

    a valid UTF-8 string, containing the format for the #GDateTime

    -
    §Returns
    +
    §Returns
    +

    a newly allocated string formatted to +the requested format or None in the case that there was an error (such +as a format specifier not being supported in the current locale). The +string should be freed with g_free(). +Creates a newly allocated string representing the requested @format.

    +

    The format strings understood by this function are a subset of the +strftime() format language as specified by C99. The D, U and W +conversions are not supported, nor is the E modifier. The GNU +extensions k, l, s and P are supported, however, as are the +0, _ and - modifiers. The Python extension f is also supported.

    +

    In contrast to strftime(), this function always produces a UTF-8 +string, regardless of the current locale. Note that the rendering of +many formats is locale-dependent and may not match the strftime() +output exactly.

    +

    The following format specifiers are supported:

    +
      +
    • a: the abbreviated weekday name according to the current locale
    • +
    • A: the full weekday name according to the current locale
    • +
    • b: the abbreviated month name according to the current locale
    • +
    • B: the full month name according to the current locale
    • +
    • c: the preferred date and time representation for the current locale
    • +
    • C: the century number (year/100) as a 2-digit integer (00-99)
    • +
    • d: the day of the month as a decimal number (range 01 to 31)
    • +
    • e: the day of the month as a decimal number (range 1 to 31); +single digits are preceded by a figure space (U+2007)
    • +
    • F: equivalent to Y`-`m`-`d (the ISO 8601 date format)
    • +
    • g: the last two digits of the ISO 8601 week-based year as a +decimal number (00-99). This works well with V and u.
    • +
    • G: the ISO 8601 week-based year as a decimal number. This works +well with V and u.
    • +
    • h: equivalent to b
    • +
    • H: the hour as a decimal number using a 24-hour clock (range 00 to 23)
    • +
    • I: the hour as a decimal number using a 12-hour clock (range 01 to 12)
    • +
    • j: the day of the year as a decimal number (range 001 to 366)
    • +
    • k: the hour (24-hour clock) as a decimal number (range 0 to 23); +single digits are preceded by a figure space (U+2007)
    • +
    • l: the hour (12-hour clock) as a decimal number (range 1 to 12); +single digits are preceded by a figure space (U+2007)
    • +
    • m: the month as a decimal number (range 01 to 12)
    • +
    • M: the minute as a decimal number (range 00 to 59)
    • +
    • f: the microsecond as a decimal number (range 000000 to 999999)
    • +
    • p: either ‘AM’ or ‘PM’ according to the given time value, or the +corresponding strings for the current locale. Noon is treated as +‘PM’ and midnight as ‘AM’. Use of this format specifier is discouraged, as +many locales have no concept of AM/PM formatting. Use c or X instead.
    • +
    • P: like p but lowercase: ‘am’ or ‘pm’ or a corresponding string for +the current locale. Use of this format specifier is discouraged, as +many locales have no concept of AM/PM formatting. Use c or X instead.
    • +
    • r: the time in a.m. or p.m. notation. Use of this format specifier is +discouraged, as many locales have no concept of AM/PM formatting. Use c +or X instead.
    • +
    • R: the time in 24-hour notation (H`:`M)
    • +
    • s: the number of seconds since the Epoch, that is, since 1970-01-01 +00:00:00 UTC
    • +
    • S: the second as a decimal number (range 00 to 60)
    • +
    • t: a tab character
    • +
    • T: the time in 24-hour notation with seconds (H`:`M`:`S)
    • +
    • u: the ISO 8601 standard day of the week as a decimal, range 1 to 7, +Monday being 1. This works well with G and V.
    • +
    • V: the ISO 8601 standard week number of the current year as a decimal +number, range 01 to 53, where week 1 is the first week that has at +least 4 days in the new year. See g_date_time_get_week_of_year(). +This works well with G and u.
    • +
    • w: the day of the week as a decimal, range 0 to 6, Sunday being 0. +This is not the ISO 8601 standard format — use u instead.
    • +
    • x: the preferred date representation for the current locale without +the time
    • +
    • X: the preferred time representation for the current locale without +the date
    • +
    • y: the year as a decimal number without the century
    • +
    • Y: the year as a decimal number including the century
    • +
    • z: the time zone as an offset from UTC (+hhmm)
    • +
    • %:z: the time zone as an offset from UTC (+hh:mm). +This is a gnulib strftime() extension. Since: 2.38
    • +
    • %::z: the time zone as an offset from UTC (+hh:mm:ss). This is a +gnulib strftime() extension. Since: 2.38
    • +
    • %:::z: the time zone as an offset from UTC, with : to necessary +precision (e.g., -04, +05:30). This is a gnulib strftime() extension. Since: 2.38
    • +
    • Z: the time zone or name or abbreviation
    • +
    • %%: a literal % character
    • +
    +

    Some conversion specifications can be modified by preceding the +conversion specifier by one or more modifier characters.

    +

    The following modifiers are supported for many of the numeric +conversions:

    +
      +
    • O: Use alternative numeric symbols, if the current locale supports those.
    • +
    • _: Pad a numeric result with spaces. This overrides the default padding +for the specifier.
    • +
    • -: Do not pad a numeric result. This overrides the default padding +for the specifier.
    • +
    • 0: Pad a numeric result with zeros. This overrides the default padding +for the specifier.
    • +
    +

    The following modifiers are supported for many of the alphabetic conversions:

    +
      +
    • ^: Use upper case if possible. This is a gnulib strftime() extension. +Since: 2.80
    • +
    • #: Use opposite case if possible. This is a gnulib strftime() +extension. Since: 2.80
    • +
    +

    Additionally, when O is used with B, b, or h, it produces the alternative +form of a month name. The alternative form should be used when the month +name is used without a day number (e.g., standalone). It is required in +some languages (Baltic, Slavic, Greek, and more) due to their grammatical +rules. For other languages there is no difference. OB is a GNU and BSD +strftime() extension expected to be added to the future POSIX specification, +Ob and Oh are GNU strftime() extensions. Since: 2.56

    +

    Since GLib 2.80, when E is used with c, C, x, X, y or Y, +the date is formatted using an alternate era representation specific to the +locale. This is typically used for the Thai solar calendar or Japanese era +names, for example.

    +
      +
    • Ec: the preferred date and time representation for the current locale, +using the alternate era representation
    • +
    • EC: the name of the era
    • +
    • Ex: the preferred date representation for the current locale without +the time, using the alternate era representation
    • +
    • EX: the preferred time representation for the current locale without +the date, using the alternate era representation
    • +
    • Ey: the year since the beginning of the era denoted by the EC +specifier
    • +
    • EY: the full alternative year representation
    • +
    +
    §format
    +

    a valid UTF-8 string, containing the format for the +#GDateTime

    +
    §Returns

    a newly allocated string formatted to the requested format or None in the case that there was an error (such as a format specifier not being supported in the current locale). The string should be freed with g_free().

    -
    source

    pub fn format_iso8601(&self) -> Result<GString, BoolError>

    Available on crate feature v2_62 only.

    Format @self in ISO 8601 format, +

    source

    pub fn format_iso8601(&self) -> Result<GString, BoolError>

    Available on crate feature v2_62 only.

    Format @self in ISO 8601 format, including the date, time and time zone, and return that as a UTF-8 encoded string.

    Since GLib 2.66, this will output to sub-second precision if needed.

    -
    §Returns
    +
    §Returns
    +

    a newly allocated string formatted in +ISO 8601 format or None in the case that there was an error. The string +should be freed with g_free(). +Format @self in ISO 8601 format, +including the date, time and time zone, and return that as a UTF-8 encoded +string.

    +

    Since GLib 2.66, this will output to sub-second precision if needed.

    +
    §Returns

    a newly allocated string formatted in ISO 8601 format or None in the case that there was an error. The string should be freed with g_free().

    -
    source

    pub fn day_of_month(&self) -> i32

    Retrieves the day of the month represented by @self in the gregorian +

    source

    pub fn day_of_month(&self) -> i32

    Retrieves the day of the month represented by @self in the gregorian calendar.

    -
    §Returns
    +
    §Returns
    +

    the day of the month +Retrieves the day of the month represented by @self in the gregorian +calendar.

    +
    §Returns

    the day of the month

    -
    source

    pub fn day_of_week(&self) -> i32

    Retrieves the ISO 8601 day of the week on which @self falls (1 is +

    source

    pub fn day_of_week(&self) -> i32

    Retrieves the ISO 8601 day of the week on which @self falls (1 is Monday, 2 is Tuesday… 7 is Sunday).

    -
    §Returns
    +
    §Returns
    +

    the day of the week +Retrieves the ISO 8601 day of the week on which @self falls (1 is +Monday, 2 is Tuesday… 7 is Sunday).

    +
    §Returns

    the day of the week

    -
    source

    pub fn day_of_year(&self) -> i32

    Retrieves the day of the year represented by @self in the Gregorian +

    source

    pub fn day_of_year(&self) -> i32

    Retrieves the day of the year represented by @self in the Gregorian calendar.

    -
    §Returns
    +
    §Returns
    +

    the day of the year +Retrieves the day of the year represented by @self in the Gregorian +calendar.

    +
    §Returns

    the day of the year

    -
    source

    pub fn hour(&self) -> i32

    Retrieves the hour of the day represented by @self

    -
    §Returns
    +
    source

    pub fn hour(&self) -> i32

    Retrieves the hour of the day represented by @self

    +
    §Returns
    +

    the hour of the day +Retrieves the hour of the day represented by @self

    +
    §Returns

    the hour of the day

    -
    source

    pub fn microsecond(&self) -> i32

    Retrieves the microsecond of the date represented by @self

    -
    §Returns
    +
    source

    pub fn microsecond(&self) -> i32

    Retrieves the microsecond of the date represented by @self

    +
    §Returns
    +

    the microsecond of the second +Retrieves the microsecond of the date represented by @self

    +
    §Returns

    the microsecond of the second

    -
    source

    pub fn minute(&self) -> i32

    Retrieves the minute of the hour represented by @self

    -
    §Returns
    +
    source

    pub fn minute(&self) -> i32

    Retrieves the minute of the hour represented by @self

    +
    §Returns
    +

    the minute of the hour +Retrieves the minute of the hour represented by @self

    +
    §Returns

    the minute of the hour

    -
    source

    pub fn month(&self) -> i32

    Retrieves the month of the year represented by @self in the Gregorian +

    source

    pub fn month(&self) -> i32

    Retrieves the month of the year represented by @self in the Gregorian calendar.

    -
    §Returns
    +
    §Returns
    +

    the month represented by @self +Retrieves the month of the year represented by @self in the Gregorian +calendar.

    +
    §Returns

    the month represented by @self

    -
    source

    pub fn second(&self) -> i32

    Retrieves the second of the minute represented by @self

    -
    §Returns
    +
    source

    pub fn second(&self) -> i32

    Retrieves the second of the minute represented by @self

    +
    §Returns
    +

    the second represented by @self +Retrieves the second of the minute represented by @self

    +
    §Returns

    the second represented by @self

    -
    source

    pub fn seconds(&self) -> f64

    Retrieves the number of seconds since the start of the last minute, +

    source

    pub fn seconds(&self) -> f64

    Retrieves the number of seconds since the start of the last minute, including the fractional part.

    -
    §Returns
    +
    §Returns
    +

    the number of seconds +Retrieves the number of seconds since the start of the last minute, +including the fractional part.

    +
    §Returns

    the number of seconds

    -
    source

    pub fn timezone(&self) -> TimeZone

    Available on crate feature v2_58 only.

    Get the time zone for this @self.

    -
    §Returns
    +
    source

    pub fn timezone(&self) -> TimeZone

    Available on crate feature v2_58 only.

    Get the time zone for this @self.

    +
    §Returns
    +

    the time zone +Get the time zone for this @self.

    +
    §Returns

    the time zone

    -
    source

    pub fn timezone_abbreviation(&self) -> GString

    Determines the time zone abbreviation to be used at the time and in +

    source

    pub fn timezone_abbreviation(&self) -> GString

    Determines the time zone abbreviation to be used at the time and in the time zone of @self.

    For example, in Toronto this is currently “EST” during the winter months and “EDT” during the summer months when daylight savings time is in effect.

    -
    §Returns
    +
    §Returns
    +

    the time zone abbreviation. The returned +string is owned by the #GDateTime and it should not be +modified or freed +Determines the time zone abbreviation to be used at the time and in +the time zone of @self.

    +

    For example, in Toronto this is currently “EST” during the winter +months and “EDT” during the summer months when daylight savings +time is in effect.

    +
    §Returns

    the time zone abbreviation. The returned string is owned by the #GDateTime and it should not be modified or freed

    -
    source

    pub fn utc_offset(&self) -> TimeSpan

    Determines the offset to UTC in effect at the time and in the time +

    source

    pub fn utc_offset(&self) -> TimeSpan

    Determines the offset to UTC in effect at the time and in the time zone of @self.

    The offset is the number of microseconds that you add to UTC time to arrive at local time for the time zone (ie: negative numbers for time zones west of GMT, positive numbers for east).

    If @self represents UTC time, then the offset is always zero.

    -
    §Returns
    +
    §Returns
    +

    the number of microseconds that should be added to UTC to +get the local time +Determines the offset to UTC in effect at the time and in the time +zone of @self.

    +

    The offset is the number of microseconds that you add to UTC time to +arrive at local time for the time zone (ie: negative numbers for time +zones west of GMT, positive numbers for east).

    +

    If @self represents UTC time, then the offset is always zero.

    +
    §Returns

    the number of microseconds that should be added to UTC to get the local time

    -
    source

    pub fn week_numbering_year(&self) -> i32

    Returns the ISO 8601 week-numbering year in which the week containing +

    source

    pub fn week_numbering_year(&self) -> i32

    Returns the ISO 8601 week-numbering year in which the week containing @self falls.

    This function, taken together with g_date_time_get_week_of_year() and g_date_time_get_day_of_week() can be used to determine the full ISO @@ -613,9 +1095,35 @@

    §Returns
    week (Monday to Sunday).

    Note that January 1 0001 in the proleptic Gregorian calendar is a Monday, so this function never returns 0.

    -
    §Returns
    +
    §Returns
    +

    the ISO 8601 week-numbering year for @self +Returns the ISO 8601 week-numbering year in which the week containing +@self falls.

    +

    This function, taken together with g_date_time_get_week_of_year() and +g_date_time_get_day_of_week() can be used to determine the full ISO +week date on which @self falls.

    +

    This is usually equal to the normal Gregorian year (as returned by +g_date_time_get_year()), except as detailed below:

    +

    For Thursday, the week-numbering year is always equal to the usual +calendar year. For other days, the number is such that every day +within a complete week (Monday to Sunday) is contained within the +same week-numbering year.

    +

    For Monday, Tuesday and Wednesday occurring near the end of the year, +this may mean that the week-numbering year is one greater than the +calendar year (so that these days have the same week-numbering year +as the Thursday occurring early in the next year).

    +

    For Friday, Saturday and Sunday occurring near the start of the year, +this may mean that the week-numbering year is one less than the +calendar year (so that these days have the same week-numbering year +as the Thursday occurring late in the previous year).

    +

    An equivalent description is that the week-numbering year is equal to +the calendar year containing the majority of the days in the current +week (Monday to Sunday).

    +

    Note that January 1 0001 in the proleptic Gregorian calendar is a +Monday, so this function never returns 0.

    +
    §Returns

    the ISO 8601 week-numbering year for @self

    -
    source

    pub fn week_of_year(&self) -> i32

    Returns the ISO 8601 week number for the week containing @self. +

    source

    pub fn week_of_year(&self) -> i32

    Returns the ISO 8601 week number for the week containing @self. The ISO 8601 week number is the same for every day of the week (from Moday through Sunday). That can produce some unusual results (described below).

    @@ -628,70 +1136,134 @@
    §Returns
    previous year. Similarly, the final days of a calendar year may be considered as being part of the first ISO 8601 week of the next year if 4 or more days of that week are contained within the new year.

    -
    §Returns
    +
    §Returns
    +

    the ISO 8601 week number for @self. +Returns the ISO 8601 week number for the week containing @self. +The ISO 8601 week number is the same for every day of the week (from +Moday through Sunday). That can produce some unusual results +(described below).

    +

    The first week of the year is week 1. This is the week that contains +the first Thursday of the year. Equivalently, this is the first week +that has more than 4 of its days falling within the calendar year.

    +

    The value 0 is never returned by this function. Days contained +within a year but occurring before the first ISO 8601 week of that +year are considered as being contained in the last week of the +previous year. Similarly, the final days of a calendar year may be +considered as being part of the first ISO 8601 week of the next year +if 4 or more days of that week are contained within the new year.

    +
    §Returns

    the ISO 8601 week number for @self.

    -
    source

    pub fn year(&self) -> i32

    Retrieves the year represented by @self in the Gregorian calendar.

    -
    §Returns
    +
    source

    pub fn year(&self) -> i32

    Retrieves the year represented by @self in the Gregorian calendar.

    +
    §Returns
    +

    the year represented by @self +Retrieves the year represented by @self in the Gregorian calendar.

    +
    §Returns

    the year represented by @self

    -
    source

    pub fn ymd(&self) -> (i32, i32, i32)

    Retrieves the Gregorian day, month, and year of a given #GDateTime.

    -
    §Returns
    §year
    +
    source

    pub fn ymd(&self) -> (i32, i32, i32)

    Retrieves the Gregorian day, month, and year of a given #GDateTime.

    +
    §Returns
    §year

    the return location for the gregorian year, or None.

    -
    §month
    +
    §month

    the return location for the month of the year, or None.

    -
    §day
    +
    §day
    +

    the return location for the day of the month, or None. +Retrieves the Gregorian day, month, and year of a given #GDateTime.

    +
    §Returns
    §year
    +

    the return location for the gregorian year, or None.

    +
    §month
    +

    the return location for the month of the year, or None.

    +
    §day

    the return location for the day of the month, or None.

    -
    source

    pub fn is_daylight_savings(&self) -> bool

    Determines if daylight savings time is in effect at the time and in +

    source

    pub fn is_daylight_savings(&self) -> bool

    Determines if daylight savings time is in effect at the time and in the time zone of @self.

    -
    §Returns
    +
    §Returns
    +

    true if daylight savings time is in effect +Determines if daylight savings time is in effect at the time and in +the time zone of @self.

    +
    §Returns

    true if daylight savings time is in effect

    -
    source

    pub fn to_local(&self) -> Result<DateTime, BoolError>

    Creates a new #GDateTime corresponding to the same instant in time as +

    source

    pub fn to_local(&self) -> Result<DateTime, BoolError>

    Creates a new #GDateTime corresponding to the same instant in time as @self, but in the local time zone.

    This call is equivalent to calling g_date_time_to_timezone() with the time zone returned by g_time_zone_new_local().

    -
    §Returns
    +
    §Returns
    +

    the newly created #GDateTime which +should be freed with g_date_time_unref(), or None +Creates a new #GDateTime corresponding to the same instant in time as +@self, but in the local time zone.

    +

    This call is equivalent to calling g_date_time_to_timezone() with the +time zone returned by g_time_zone_new_local().

    +
    §Returns

    the newly created #GDateTime which should be freed with g_date_time_unref(), or None

    -
    source

    pub fn to_timezone(&self, tz: &TimeZone) -> Result<DateTime, BoolError>

    Create a new #GDateTime corresponding to the same instant in time as +

    source

    pub fn to_timezone(&self, tz: &TimeZone) -> Result<DateTime, BoolError>

    Create a new #GDateTime corresponding to the same instant in time as @self, but in the time zone @tz.

    This call can fail in the case that the time goes out of bounds. For example, converting 0001-01-01 00:00:00 UTC to a time zone west of Greenwich will fail (due to the year 0 being out of range).

    -
    §tz
    +
    §tz

    the new #GTimeZone

    -
    §Returns
    +
    §Returns
    +

    the newly created #GDateTime which +should be freed with g_date_time_unref(), or None +Create a new #GDateTime corresponding to the same instant in time as +@self, but in the time zone @tz.

    +

    This call can fail in the case that the time goes out of bounds. For +example, converting 0001-01-01 00:00:00 UTC to a time zone west of +Greenwich will fail (due to the year 0 being out of range).

    +
    §tz
    +

    the new #GTimeZone

    +
    §Returns

    the newly created #GDateTime which should be freed with g_date_time_unref(), or None

    -
    source

    pub fn to_unix(&self) -> i64

    Gives the Unix time corresponding to @self, rounding down to the +

    source

    pub fn to_unix(&self) -> i64

    Gives the Unix time corresponding to @self, rounding down to the nearest second.

    Unix time is the number of seconds that have elapsed since 1970-01-01 00:00:00 UTC, regardless of the time zone associated with @self.

    -
    §Returns
    +
    §Returns
    +

    the Unix time corresponding to @self +Gives the Unix time corresponding to @self, rounding down to the +nearest second.

    +

    Unix time is the number of seconds that have elapsed since 1970-01-01 +00:00:00 UTC, regardless of the time zone associated with @self.

    +
    §Returns

    the Unix time corresponding to @self

    -
    source

    pub fn to_unix_usec(&self) -> i64

    Available on crate feature v2_80 only.

    Gives the Unix time corresponding to @self, in microseconds.

    +
    source

    pub fn to_unix_usec(&self) -> i64

    Available on crate feature v2_80 only.

    Gives the Unix time corresponding to @self, in microseconds.

    Unix time is the number of microseconds that have elapsed since 1970-01-01 00:00:00 UTC, regardless of the time zone associated with @self.

    -
    §Returns
    +
    §Returns
    +

    the Unix time corresponding to @self +Gives the Unix time corresponding to @self, in microseconds.

    +

    Unix time is the number of microseconds that have elapsed since 1970-01-01 +00:00:00 UTC, regardless of the time zone associated with @self.

    +
    §Returns

    the Unix time corresponding to @self

    -
    source

    pub fn to_utc(&self) -> Result<DateTime, BoolError>

    Creates a new #GDateTime corresponding to the same instant in time as +

    source

    pub fn to_utc(&self) -> Result<DateTime, BoolError>

    Creates a new #GDateTime corresponding to the same instant in time as @self, but in UTC.

    This call is equivalent to calling g_date_time_to_timezone() with the time zone returned by g_time_zone_new_utc().

    -
    §Returns
    +
    §Returns
    +

    the newly created #GDateTime which +should be freed with g_date_time_unref(), or None +Creates a new #GDateTime corresponding to the same instant in time as +@self, but in UTC.

    +

    This call is equivalent to calling g_date_time_to_timezone() with the +time zone returned by g_time_zone_new_utc().

    +
    §Returns

    the newly created #GDateTime which should be freed with g_date_time_unref(), or None

    -

    Trait Implementations§

    source§

    impl Clone for DateTime

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +

    Trait Implementations§

    source§

    impl Clone for DateTime

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DateTime

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl From<DateTime> for Value

    source§

    fn from(s: DateTime) -> Self

    Converts to this type from the input type.
    source§

    impl HasParamSpec for DateTime

    source§

    type ParamSpec = ParamSpecBoxed

    source§

    type SetValue = DateTime

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, DateTime>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for DateTime

    source§

    fn hash<H>(&self, state: &mut H)
    where +

    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DateTime

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl From<DateTime> for Value

    source§

    fn from(s: DateTime) -> Self

    Converts to this type from the input type.
    source§

    impl HasParamSpec for DateTime

    source§

    type ParamSpec = ParamSpecBoxed

    source§

    type SetValue = DateTime

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, DateTime>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for DateTime

    source§

    fn hash<H>(&self, state: &mut H)
    where H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for DateTime

    source§

    fn cmp(&self, other: &Self) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for DateTime

    source§

    fn cmp(&self, other: &Self) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for DateTime

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for DateTime

    source§

    fn partial_cmp(&self, other: &Self) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,
    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for DateTime

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for DateTime

    source§

    fn partial_cmp(&self, other: &Self) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for DateTime

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for DateTime

    source§

    impl Send for DateTime

    source§

    impl Sync for DateTime

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for DateTime

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for DateTime

    source§

    impl Send for DateTime

    source§

    impl Sync for DateTime

    Auto Trait Implementations§

    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
    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 @@ -724,8 +1296,8 @@
    §Returns
    T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.FileSetContentsFlags.html b/git/docs/glib/struct.FileSetContentsFlags.html index 6f05c14299d8..9e6613391b28 100644 --- a/git/docs/glib/struct.FileSetContentsFlags.html +++ b/git/docs/glib/struct.FileSetContentsFlags.html @@ -1,4 +1,4 @@ -FileSetContentsFlags in glib - Rust +FileSetContentsFlags in glib - Rust -
    glib

    Struct FileSetContentsFlags

    source
    pub struct FileSetContentsFlags(/* private fields */);
    Available on crate feature v2_66 only.
    Expand description

    Flags to pass to g_file_set_contents_full() to affect its safety and +

    glib

    Struct FileSetContentsFlags

    source
    pub struct FileSetContentsFlags(/* private fields */);
    Available on crate feature v2_66 only.
    Expand description

    Flags to pass to g_file_set_contents_full() to affect its safety and +performance. +Flags to pass to g_file_set_contents_full() to affect its safety and performance.

    -

    Implementations§

    source§

    impl FileSetContentsFlags

    source

    pub const NONE: Self = _

    No guarantees about file consistency or durability. +

    Implementations§

    source§

    impl FileSetContentsFlags

    source

    pub const NONE: Self = _

    No guarantees about file consistency or durability. +The most dangerous setting, which is slightly faster than other settings. +No guarantees about file consistency or durability. The most dangerous setting, which is slightly faster than other settings.

    -
    source

    pub const CONSISTENT: Self = _

    Guarantee file consistency: after a crash, +

    source

    pub const CONSISTENT: Self = _

    Guarantee file consistency: after a crash, +either the old version of the file or the new version of the file will be +available, but not a mixture. On Unix systems this equates to an fsync() +on the file and use of an atomic rename() of the new version of the file +over the old. +Guarantee file consistency: after a crash, either the old version of the file or the new version of the file will be available, but not a mixture. On Unix systems this equates to an fsync() on the file and use of an atomic rename() of the new version of the file over the old.

    -
    source

    pub const DURABLE: Self = _

    Guarantee file durability: after a crash, the +

    source

    pub const DURABLE: Self = _

    Guarantee file durability: after a crash, the +new version of the file will be available. On Unix systems this equates to +an fsync() on the file (if CONSISTENT is unset), or +the effects of CONSISTENT plus an fsync() on the +directory containing the file after calling rename(). +Guarantee file durability: after a crash, the new version of the file will be available. On Unix systems this equates to an fsync() on the file (if CONSISTENT is unset), or the effects of CONSISTENT plus an fsync() on the directory containing the file after calling rename().

    -
    source

    pub const ONLY_EXISTING: Self = _

    Only apply consistency and durability +

    source

    pub const ONLY_EXISTING: Self = _

    Only apply consistency and durability +guarantees if the file already exists. This may speed up file operations +if the file doesn’t currently exist, but may result in a corrupted version +of the new file if the system crashes while writing it. +Only apply consistency and durability guarantees if the file already exists. This may speed up file operations if the file doesn’t currently exist, but may result in a corrupted version of the new file if the system crashes while writing it.

    -
    source§

    impl FileSetContentsFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    -
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    -
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    +
    source§

    impl FileSetContentsFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    +
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    +
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    The returned value is exactly the bits set in this flags value.

    -
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    +
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    This method will return None if any unknown bits are set.

    -
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    -
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    -
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    +
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    +
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    +
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    This method will return None if name is empty or doesn’t correspond to any named flag.

    -
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    -
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    -
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    -
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    -
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    +
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    +
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    +
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    +
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

    -
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    -
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    +
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    impl FileSetContentsFlags

    source

    pub const fn iter(&self) -> Iter<FileSetContentsFlags>

    Yield a set of contained flags values.

    +
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    impl FileSetContentsFlags

    source

    pub const fn iter(&self) -> Iter<FileSetContentsFlags>

    Yield a set of contained flags values.

    Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.

    -
    source

    pub const fn iter_names(&self) -> IterNames<FileSetContentsFlags>

    Yield a set of contained named flags values.

    +
    source

    pub const fn iter_names(&self) -> IterNames<FileSetContentsFlags>

    Yield a set of contained named flags values.

    This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

    -

    Trait Implementations§

    source§

    impl Binary for FileSetContentsFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for FileSetContentsFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    type Output = FileSetContentsFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for FileSetContentsFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    impl BitOr for FileSetContentsFlags

    source§

    fn bitor(self, other: FileSetContentsFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    type Output = FileSetContentsFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for FileSetContentsFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    impl BitXor for FileSetContentsFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    type Output = FileSetContentsFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for FileSetContentsFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    impl Clone for FileSetContentsFlags

    source§

    fn clone(&self) -> FileSetContentsFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl Debug for FileSetContentsFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Extend<FileSetContentsFlags> for FileSetContentsFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    -
    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
    source§

    impl Flags for FileSetContentsFlags

    source§

    const FLAGS: &'static [Flag<FileSetContentsFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> FileSetContentsFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where +

    Trait Implementations§

    source§

    impl Binary for FileSetContentsFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for FileSetContentsFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    type Output = FileSetContentsFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for FileSetContentsFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    impl BitOr for FileSetContentsFlags

    source§

    fn bitor(self, other: FileSetContentsFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    type Output = FileSetContentsFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for FileSetContentsFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    impl BitXor for FileSetContentsFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    type Output = FileSetContentsFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for FileSetContentsFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    impl Clone for FileSetContentsFlags

    source§

    fn clone(&self) -> FileSetContentsFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl Debug for FileSetContentsFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Extend<FileSetContentsFlags> for FileSetContentsFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    +
    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
    source§

    impl Flags for FileSetContentsFlags

    source§

    const FLAGS: &'static [Flag<FileSetContentsFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> FileSetContentsFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> bool
    where Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)
    where Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)
    where Self: Sized,

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn toggle(&mut self, other: Self)
    where Self: Sized,

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn set(&mut self, other: Self, value: bool)
    where - Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<FileSetContentsFlags> for FileSetContentsFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    impl Hash for FileSetContentsFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<FileSetContentsFlags> for FileSetContentsFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    +
    source§

    impl Hash for FileSetContentsFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for FileSetContentsFlags

    source§

    type Item = FileSetContentsFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<FileSetContentsFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for FileSetContentsFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Not for FileSetContentsFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    type Output = FileSetContentsFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for FileSetContentsFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for FileSetContentsFlags

    source§

    fn eq(&self, other: &FileSetContentsFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PublicFlags for FileSetContentsFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for FileSetContentsFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for FileSetContentsFlags

    source§

    type Item = FileSetContentsFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<FileSetContentsFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for FileSetContentsFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Not for FileSetContentsFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    type Output = FileSetContentsFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for FileSetContentsFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for FileSetContentsFlags

    source§

    fn eq(&self, other: &FileSetContentsFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PublicFlags for FileSetContentsFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for FileSetContentsFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    type Output = FileSetContentsFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for FileSetContentsFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source§

    type Output = FileSetContentsFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for FileSetContentsFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    impl UpperHex for FileSetContentsFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Copy for FileSetContentsFlags

    source§

    impl Eq for FileSetContentsFlags

    source§

    impl StructuralPartialEq for FileSetContentsFlags

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    source§

    impl UpperHex for FileSetContentsFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Copy for FileSetContentsFlags

    source§

    impl Eq for FileSetContentsFlags

    source§

    impl StructuralPartialEq for FileSetContentsFlags

    Auto Trait Implementations§

    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
    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 diff --git a/git/docs/glib/struct.FormatSizeFlags.html b/git/docs/glib/struct.FormatSizeFlags.html index 1c5ce9f54d23..7dc114068b0c 100644 --- a/git/docs/glib/struct.FormatSizeFlags.html +++ b/git/docs/glib/struct.FormatSizeFlags.html @@ -1,4 +1,4 @@ -FormatSizeFlags in glib - Rust +FormatSizeFlags in glib - Rust -
    glib

    Struct FormatSizeFlags

    source
    pub struct FormatSizeFlags(/* private fields */);
    Expand description

    Flags to modify the format of the string returned by g_format_size_full().

    -

    Implementations§

    source§

    impl FormatSizeFlags

    source

    pub const DEFAULT: Self = _

    behave the same as g_format_size()

    -
    source

    pub const LONG_FORMAT: Self = _

    include the exact number of bytes as part +

    glib

    Struct FormatSizeFlags

    source
    pub struct FormatSizeFlags(/* private fields */);
    Expand description

    Flags to modify the format of the string returned by g_format_size_full(). +Flags to modify the format of the string returned by g_format_size_full().

    +

    Implementations§

    source§

    impl FormatSizeFlags

    source

    pub const DEFAULT: Self = _

    behave the same as g_format_size() +behave the same as g_format_size()

    +
    source

    pub const LONG_FORMAT: Self = _

    include the exact number of bytes as part +of the returned string. For example, “45.6 kB (45,612 bytes)”. +include the exact number of bytes as part of the returned string. For example, “45.6 kB (45,612 bytes)”.

    -
    source

    pub const IEC_UNITS: Self = _

    use IEC (base 1024) units with “KiB”-style +

    source

    pub const IEC_UNITS: Self = _

    use IEC (base 1024) units with “KiB”-style +suffixes. IEC units should only be used for reporting things with +a strong “power of 2” basis, like RAM sizes or RAID stripe sizes. +Network and storage sizes should be reported in the normal SI units. +use IEC (base 1024) units with “KiB”-style suffixes. IEC units should only be used for reporting things with a strong “power of 2” basis, like RAM sizes or RAID stripe sizes. Network and storage sizes should be reported in the normal SI units.

    -
    source

    pub const BITS: Self = _

    set the size as a quantity in bits, rather than +

    source

    pub const BITS: Self = _

    set the size as a quantity in bits, rather than +bytes, and return units in bits. For example, ‘Mbit’ rather than ‘MB’. +set the size as a quantity in bits, rather than bytes, and return units in bits. For example, ‘Mbit’ rather than ‘MB’.

    -
    source

    pub const ONLY_VALUE: Self = _

    Available on crate feature v2_74 only.

    return only value, without unit; this should +

    source

    pub const ONLY_VALUE: Self = _

    Available on crate feature v2_74 only.

    return only value, without unit; this should +not be used together with @G_FORMAT_SIZE_LONG_FORMAT +nor @G_FORMAT_SIZE_ONLY_UNIT. Since: 2.74 +return only value, without unit; this should not be used together with @G_FORMAT_SIZE_LONG_FORMAT nor @G_FORMAT_SIZE_ONLY_UNIT. Since: 2.74

    -
    source

    pub const ONLY_UNIT: Self = _

    Available on crate feature v2_74 only.

    return only unit, without value; this should +

    source

    pub const ONLY_UNIT: Self = _

    Available on crate feature v2_74 only.

    return only unit, without value; this should +not be used together with @G_FORMAT_SIZE_LONG_FORMAT +nor @G_FORMAT_SIZE_ONLY_VALUE. Since: 2.74 +return only unit, without value; this should not be used together with @G_FORMAT_SIZE_LONG_FORMAT nor @G_FORMAT_SIZE_ONLY_VALUE. Since: 2.74

    -
    source§

    impl FormatSizeFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    -
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    -
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    +
    source§

    impl FormatSizeFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    +
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    +
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    The returned value is exactly the bits set in this flags value.

    -
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    +
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    This method will return None if any unknown bits are set.

    -
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    -
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    -
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    +
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    +
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    +
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    This method will return None if name is empty or doesn’t correspond to any named flag.

    -
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    -
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    -
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    -
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    -
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    +
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    +
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    +
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    +
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

    -
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    -
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    +
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    impl FormatSizeFlags

    source

    pub const fn iter(&self) -> Iter<FormatSizeFlags>

    Yield a set of contained flags values.

    +
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    impl FormatSizeFlags

    source

    pub const fn iter(&self) -> Iter<FormatSizeFlags>

    Yield a set of contained flags values.

    Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.

    -
    source

    pub const fn iter_names(&self) -> IterNames<FormatSizeFlags>

    Yield a set of contained named flags values.

    +
    source

    pub const fn iter_names(&self) -> IterNames<FormatSizeFlags>

    Yield a set of contained named flags values.

    This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

    -

    Trait Implementations§

    source§

    impl Binary for FormatSizeFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for FormatSizeFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    type Output = FormatSizeFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for FormatSizeFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    impl BitOr for FormatSizeFlags

    source§

    fn bitor(self, other: FormatSizeFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    type Output = FormatSizeFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for FormatSizeFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    impl BitXor for FormatSizeFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    type Output = FormatSizeFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for FormatSizeFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    impl Clone for FormatSizeFlags

    source§

    fn clone(&self) -> FormatSizeFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl Debug for FormatSizeFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Extend<FormatSizeFlags> for FormatSizeFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    -
    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
    source§

    impl Flags for FormatSizeFlags

    source§

    const FLAGS: &'static [Flag<FormatSizeFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> FormatSizeFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where +

    Trait Implementations§

    source§

    impl Binary for FormatSizeFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for FormatSizeFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    type Output = FormatSizeFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for FormatSizeFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    impl BitOr for FormatSizeFlags

    source§

    fn bitor(self, other: FormatSizeFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    type Output = FormatSizeFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for FormatSizeFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    impl BitXor for FormatSizeFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    type Output = FormatSizeFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for FormatSizeFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    impl Clone for FormatSizeFlags

    source§

    fn clone(&self) -> FormatSizeFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl Debug for FormatSizeFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Extend<FormatSizeFlags> for FormatSizeFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    +
    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
    source§

    impl Flags for FormatSizeFlags

    source§

    const FLAGS: &'static [Flag<FormatSizeFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> FormatSizeFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> bool
    where Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)
    where Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)
    where Self: Sized,

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn toggle(&mut self, other: Self)
    where Self: Sized,

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn set(&mut self, other: Self, value: bool)
    where - Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<FormatSizeFlags> for FormatSizeFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    impl Hash for FormatSizeFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<FormatSizeFlags> for FormatSizeFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    +
    source§

    impl Hash for FormatSizeFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for FormatSizeFlags

    source§

    type Item = FormatSizeFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<FormatSizeFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for FormatSizeFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Not for FormatSizeFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    type Output = FormatSizeFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for FormatSizeFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for FormatSizeFlags

    source§

    fn eq(&self, other: &FormatSizeFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PublicFlags for FormatSizeFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for FormatSizeFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for FormatSizeFlags

    source§

    type Item = FormatSizeFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<FormatSizeFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for FormatSizeFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Not for FormatSizeFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    type Output = FormatSizeFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for FormatSizeFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for FormatSizeFlags

    source§

    fn eq(&self, other: &FormatSizeFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PublicFlags for FormatSizeFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for FormatSizeFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    type Output = FormatSizeFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for FormatSizeFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source§

    type Output = FormatSizeFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for FormatSizeFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    impl UpperHex for FormatSizeFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Copy for FormatSizeFlags

    source§

    impl Eq for FormatSizeFlags

    source§

    impl StructuralPartialEq for FormatSizeFlags

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    source§

    impl UpperHex for FormatSizeFlags

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Copy for FormatSizeFlags

    source§

    impl Eq for FormatSizeFlags

    source§

    impl StructuralPartialEq for FormatSizeFlags

    Auto Trait Implementations§

    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
    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 diff --git a/git/docs/glib/struct.GStr.html b/git/docs/glib/struct.GStr.html index d23b901a0529..855c76512b19 100644 --- a/git/docs/glib/struct.GStr.html +++ b/git/docs/glib/struct.GStr.html @@ -1443,6 +1443,6 @@
    §Examples>= operator. Read more

    source§

    impl StaticType for GStr

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl ToOwned for GStr

    source§

    type Owned = GString

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> Self::Owned

    Creates owned data from borrowed data, usually by cloning. Read more
    1.63.0 · source§

    fn clone_into(&self, target: &mut Self::Owned)

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

    impl ToValue for &GStr

    source§

    fn to_value(&self) -> Value

    Convert a value to a Value.
    source§

    fn value_type(&self) -> Type

    Returns the type identifier of self. Read more
    source§

    impl ToValue for GStr

    source§

    fn to_value(&self) -> Value

    Convert a value to a Value.
    source§

    fn value_type(&self) -> Type

    Returns the type identifier of self. Read more
    source§

    impl ToValueOptional for GStr

    source§

    fn to_value_optional(s: Option<&Self>) -> Value

    Convert an Option to a Value.
    source§

    impl<'a> TryFrom<&'a CStr> for &'a GStr

    source§

    type Error = Utf8Error

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

    fn try_from(s: &'a CStr) -> Result<Self, Self::Error>

    Performs the conversion.
    source§

    impl Eq for GStr

    Auto Trait Implementations§

    §

    impl Freeze for GStr

    §

    impl RefUnwindSafe for GStr

    §

    impl Send for GStr

    §

    impl !Sized for GStr

    §

    impl Sync for GStr

    §

    impl Unpin for GStr

    §

    impl UnwindSafe for GStr

    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
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> ToString for T
    where + T: ?Sized,

    source§

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

    Mutably borrows from an owned value. Read more
    source§

    impl<T> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    \ No newline at end of file diff --git a/git/docs/glib/struct.GString.html b/git/docs/glib/struct.GString.html index 72a547d2d5cd..8b19b8f59759 100644 --- a/git/docs/glib/struct.GString.html +++ b/git/docs/glib/struct.GString.html @@ -1427,7 +1427,7 @@
    §ExamplesVec<Self>
    source§

    unsafe fn from_glib_full_num_as_vec( ptr: *mut *mut c_char, num: usize, -) -> Vec<Self>

    source§

    impl FromGlibPtrArrayContainerAsVec<*const i8, *const *const i8> for GString

    source§

    impl FromGlibPtrArrayContainerAsVec<*const i8, *mut *const i8> for GString

    source§

    impl FromGlibPtrArrayContainerAsVec<*mut i8, *const *mut i8> for GString

    source§

    impl FromGlibPtrArrayContainerAsVec<*mut i8, *mut *mut i8> for GString

    source§

    impl FromIterator<GString> for StrV

    source§

    fn from_iter<I: IntoIterator<Item = GString>>(iter: I) -> Self

    Creates a value from an iterator. Read more
    source§

    impl<'a> FromValue<'a> for GString

    source§

    type Checker = GenericValueTypeOrNoneChecker<GString>

    Value type checker.
    source§

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

    Get the contained value from a Value. Read more
    source§

    impl GlibPtrDefault for GString

    source§

    impl HasParamSpec for GString

    source§

    type ParamSpec = ParamSpecString

    source§

    type SetValue = str

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecStringBuilder<'_>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for GString

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +) -> Vec<Self>

    source§

    impl FromGlibPtrArrayContainerAsVec<*const i8, *const *const i8> for GString

    source§

    impl FromGlibPtrArrayContainerAsVec<*const i8, *mut *const i8> for GString

    source§

    impl FromGlibPtrArrayContainerAsVec<*mut i8, *const *mut i8> for GString

    source§

    impl FromGlibPtrArrayContainerAsVec<*mut i8, *mut *mut i8> for GString

    source§

    impl FromIterator<GString> for StrV

    source§

    fn from_iter<I: IntoIterator<Item = GString>>(iter: I) -> Self

    Creates a value from an iterator. Read more
    source§

    impl<'a> FromValue<'a> for GString

    source§

    type Checker = GenericValueTypeOrNoneChecker<GString>

    Value type checker.
    source§

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

    Get the contained value from a Value. Read more
    source§

    impl GlibPtrDefault for GString

    source§

    impl HasParamSpec for GString

    source§

    type ParamSpec = ParamSpecString

    source§

    type SetValue = str

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecStringBuilder<'_>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for GString

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoGStr for &GString

    source§

    fn run_with_gstr<T, F: FnOnce(&GStr) -> T>(self, f: F) -> T

    source§

    impl IntoGStr for GString

    source§

    fn run_with_gstr<T, F: FnOnce(&GStr) -> T>(self, f: F) -> T

    source§

    impl IntoGlibPtr<*mut i8> for GString

    source§

    unsafe fn into_glib_ptr(self) -> *mut c_char

    Transform into a nul-terminated raw C string pointer.

    source§

    impl Ord for GString

    source§

    fn cmp(&self, other: &GString) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where @@ -1522,8 +1522,8 @@
    §ExamplesHasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> ToString 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. 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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.GStringBuilder.html b/git/docs/glib/struct.GStringBuilder.html index 975756ea5799..a06c4534e10c 100644 --- a/git/docs/glib/struct.GStringBuilder.html +++ b/git/docs/glib/struct.GStringBuilder.html @@ -1384,8 +1384,8 @@
    §ExamplesHasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> ToString 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. 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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.IConv.html b/git/docs/glib/struct.IConv.html index db9dfb460e6d..e6c5dd166f16 100644 --- a/git/docs/glib/struct.IConv.html +++ b/git/docs/glib/struct.IConv.html @@ -1,4 +1,4 @@ -IConv in glib - Rust +IConv in glib - Rust -
    glib

    Struct IConv

    source
    pub struct IConv(/* private fields */);
    Expand description

    The GIConv struct wraps an iconv() conversion descriptor. It contains +

    glib

    Struct IConv

    source
    pub struct IConv(/* private fields */);
    Expand description

    The GIConv struct wraps an iconv() conversion descriptor. It contains +private data and should only be accessed using the following functions. +The GIConv struct wraps an iconv() conversion descriptor. It contains private data and should only be accessed using the following functions.

    -

    Implementations§

    source§

    impl IConv

    source

    pub fn new( +

    Implementations§

    source§

    impl IConv

    source

    pub fn new( to_codeset: impl IntoGStr, from_codeset: impl IntoGStr, ) -> Option<Self>

    Same as the standard UNIX routine iconv_open(), but @@ -87,8 +89,20 @@

    §fro

    source codeset

    §Returns

    a “conversion descriptor”, or (GIConv)-1 if +opening the converter failed. +Same as the standard UNIX routine iconv_open(), but +may be implemented via libiconv on UNIX flavors that lack +a native implementation.

    +

    GLib provides g_convert() and g_locale_to_utf8() which are likely +more convenient than the raw iconv wrappers.

    +
    §to_codeset
    +

    destination codeset

    +
    §from_codeset
    +

    source codeset

    +
    §Returns
    +

    a “conversion descriptor”, or (GIConv)-1 if opening the converter failed.

    -
    source

    pub fn convert(&mut self, str_: &[u8]) -> Result<(Slice<u8>, usize), CvtError>

    Converts a string from one character set to another.

    +
    source

    pub fn convert(&mut self, str_: &[u8]) -> Result<(Slice<u8>, usize), CvtError>

    Converts a string from one character set to another.

    Note that you should use g_iconv() for streaming conversions. Despite the fact that @bytes_read can return information about partial characters, the g_convert_… functions are not generally suitable @@ -109,7 +123,7 @@

    §str
                the string to convert.
    §converter

    conversion descriptor from g_iconv_open()

    -
    §Returns
    +
    §Returns
              If the conversion was successful, a newly allocated buffer
               containing the converted string, which must be freed with
               g_free(). Otherwise [`None`] and @error will be set.
    @@ -121,35 +135,46 @@
    §bytes_r at the end of the input. If the error ConvertError::IllegalSequence occurs, the value stored will be the byte offset after the last valid +input sequence. +Converts a string from one character set to another.

    +

    Note that you should use g_iconv() for streaming conversions. +Despite the fact that @bytes_read can return information about partial +characters, the g_convert_… functions are not generally suitable +for streaming. If the underlying converter maintains internal state, +then this won’t be preserved across successive calls to g_convert(), +g_convert_with_iconv() or g_convert_with_fallback(). (An example of +this is the GNU C converter for CP1255 which does not emit a base +character until it knows that the next character is not a mark that +could combine with the base character.)

    +

    Characters which are valid in the input character set, but which have no +representation in the output character set will result in a +ConvertError::IllegalSequence error. This is in contrast to the iconv() +specification, which leaves this behaviour implementation defined. Note that +this is the same error code as is returned for an invalid byte sequence in +the input character set. To get defined behaviour for conversion of +unrepresentable characters, use g_convert_with_fallback().

    +
    §str
    +
                the string to convert.
    +
    §converter
    +

    conversion descriptor from g_iconv_open()

    +
    §Returns
    +
              If the conversion was successful, a newly allocated buffer
    +          containing the converted string, which must be freed with
    +          g_free(). Otherwise [`None`] and @error will be set.
    +
    §bytes_read
    +

    location to store the number of bytes in +the input string that were successfully converted, or None. +Even if the conversion was successful, this may be +less than @len if there were partial characters +at the end of the input. If the error +ConvertError::IllegalSequence occurs, the value +stored will be the byte offset after the last valid input sequence.

    -
    source

    pub fn iconv( +

    source

    pub fn iconv( &mut self, inbuf: Option<&[u8]>, outbuf: Option<&mut [MaybeUninit<u8>]>, -) -> Result<(usize, usize, usize), IConvError>

    Same as the standard UNIX routine iconv(), but -may be implemented via libiconv on UNIX flavors that lack -a native implementation.

    -

    GLib provides g_convert() and g_locale_to_utf8() which are likely -more convenient than the raw iconv wrappers.

    -

    Note that the behaviour of iconv() for characters which are valid in the -input character set, but which have no representation in the output character -set, is implementation defined. This function may return success (with a -positive number of non-reversible conversions as replacement characters were -used), or it may return -1 and set an error such as EILSEQ, in such a -situation.

    -
    §converter
    -

    conversion descriptor from g_iconv_open()

    -
    §inbuf
    -

    bytes to convert

    -
    §inbytes_left
    -

    inout parameter, bytes remaining to convert in @inbuf

    -
    §outbuf
    -

    converted output bytes

    -
    §outbytes_left
    -

    inout parameter, bytes available to fill in @outbuf

    -
    §Returns
    -

    count of non-reversible conversions, or -1 on error

    -

    Trait Implementations§

    source§

    impl Debug for IConv

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Drop for IConv

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Send for IConv

    Auto Trait Implementations§

    §

    impl Freeze for IConv

    §

    impl RefUnwindSafe for IConv

    §

    impl !Sync for IConv

    §

    impl Unpin for IConv

    §

    impl UnwindSafe for IConv

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> Result<(usize, usize, usize), IConvError>

    Trait Implementations§

    source§

    impl Debug for IConv

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Drop for IConv

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Send for IConv

    Auto Trait Implementations§

    §

    impl Freeze for IConv

    §

    impl RefUnwindSafe for IConv

    §

    impl !Sync for IConv

    §

    impl Unpin for IConv

    §

    impl UnwindSafe for IConv

    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
    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> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/git/docs/glib/struct.IOCondition.html b/git/docs/glib/struct.IOCondition.html index 831abd58ccfd..bd00f6a294a0 100644 --- a/git/docs/glib/struct.IOCondition.html +++ b/git/docs/glib/struct.IOCondition.html @@ -1,4 +1,4 @@ -IOCondition in glib - Rust +IOCondition in glib - Rust -
    glib

    Struct IOCondition

    source
    pub struct IOCondition(/* private fields */);
    Expand description

    A bitwise combination representing a condition to watch for on an +

    glib

    Struct IOCondition

    source
    pub struct IOCondition(/* private fields */);
    Expand description

    A bitwise combination representing a condition to watch for on an +event source. +A bitwise combination representing a condition to watch for on an event source.

    -

    Implementations§

    source§

    impl IOCondition

    source

    pub const IN: Self = _

    There is data to read.

    -
    source

    pub const OUT: Self = _

    Data can be written (without blocking).

    -
    source

    pub const PRI: Self = _

    There is urgent data to read.

    -
    source

    pub const ERR: Self = _

    Error condition.

    -
    source

    pub const HUP: Self = _

    Hung up (the connection has been broken, usually for +

    Implementations§

    source§

    impl IOCondition

    source

    pub const IN: Self = _

    There is data to read. +There is data to read.

    +
    source

    pub const OUT: Self = _

    Data can be written (without blocking). +Data can be written (without blocking).

    +
    source

    pub const PRI: Self = _

    There is urgent data to read. +There is urgent data to read.

    +
    source

    pub const ERR: Self = _

    Error condition. +Error condition.

    +
    source

    pub const HUP: Self = _

    Hung up (the connection has been broken, usually for +pipes and sockets). +Hung up (the connection has been broken, usually for pipes and sockets).

    -
    source

    pub const NVAL: Self = _

    Invalid request. The file descriptor is not open.

    -
    source§

    impl IOCondition

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    -
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    -
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    +
    source

    pub const NVAL: Self = _

    Invalid request. The file descriptor is not open. +Invalid request. The file descriptor is not open.

    +
    source§

    impl IOCondition

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    +
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    +
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    The returned value is exactly the bits set in this flags value.

    -
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    +
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    This method will return None if any unknown bits are set.

    -
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    -
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    -
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    +
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    +
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    +
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    This method will return None if name is empty or doesn’t correspond to any named flag.

    -
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    -
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    -
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    -
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    -
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    +
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    +
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    +
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    +
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

    -
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    -
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    +
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    impl IOCondition

    source

    pub const fn iter(&self) -> Iter<IOCondition>

    Yield a set of contained flags values.

    +
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    impl IOCondition

    source

    pub const fn iter(&self) -> Iter<IOCondition>

    Yield a set of contained flags values.

    Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.

    -
    source

    pub const fn iter_names(&self) -> IterNames<IOCondition>

    Yield a set of contained named flags values.

    +
    source

    pub const fn iter_names(&self) -> IterNames<IOCondition>

    Yield a set of contained named flags values.

    This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

    -

    Trait Implementations§

    source§

    impl Binary for IOCondition

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for IOCondition

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    type Output = IOCondition

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for IOCondition

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    impl BitOr for IOCondition

    source§

    fn bitor(self, other: IOCondition) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    type Output = IOCondition

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for IOCondition

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    impl BitXor for IOCondition

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    type Output = IOCondition

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for IOCondition

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    impl Clone for IOCondition

    source§

    fn clone(&self) -> IOCondition

    Returns a copy of the value. Read more
    1.0.0 · source§

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

    Performs copy-assignment from source. Read more
    source§

    impl Debug for IOCondition

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Extend<IOCondition> for IOCondition

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    -
    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
    source§

    impl Flags for IOCondition

    source§

    const FLAGS: &'static [Flag<IOCondition>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> IOCondition

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where +

    Trait Implementations§

    source§

    impl Binary for IOCondition

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for IOCondition

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    type Output = IOCondition

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for IOCondition

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    impl BitOr for IOCondition

    source§

    fn bitor(self, other: IOCondition) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    type Output = IOCondition

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for IOCondition

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    impl BitXor for IOCondition

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    type Output = IOCondition

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for IOCondition

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    impl Clone for IOCondition

    source§

    fn clone(&self) -> IOCondition

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for IOCondition

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<IOCondition> for IOCondition

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    +
    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
    source§

    impl Flags for IOCondition

    source§

    const FLAGS: &'static [Flag<IOCondition>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> IOCondition

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> bool
    where Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)
    where Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)
    where Self: Sized,

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn toggle(&mut self, other: Self)
    where Self: Sized,

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn set(&mut self, other: Self, value: bool)
    where - Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl From<IOCondition> for Value

    source§

    fn from(v: IOCondition) -> Self

    Converts to this type from the input type.
    source§

    impl FromIterator<IOCondition> for IOCondition

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    impl<'a> FromValue<'a> for IOCondition

    source§

    type Checker = GenericValueTypeChecker<IOCondition>

    Value type checker.
    source§

    unsafe fn from_value(value: &'a Value) -> Self

    Get the contained value from a Value. Read more
    source§

    impl HasParamSpec for IOCondition

    source§

    type ParamSpec = ParamSpecFlags

    source§

    type SetValue = IOCondition

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecFlagsBuilder<'_, IOCondition>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for IOCondition

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl From<IOCondition> for Value

    source§

    fn from(v: IOCondition) -> Self

    Converts to this type from the input type.
    source§

    impl FromIterator<IOCondition> for IOCondition

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    +
    source§

    impl<'a> FromValue<'a> for IOCondition

    source§

    type Checker = GenericValueTypeChecker<IOCondition>

    Value type checker.
    source§

    unsafe fn from_value(value: &'a Value) -> Self

    Get the contained value from a Value. Read more
    source§

    impl HasParamSpec for IOCondition

    source§

    type ParamSpec = ParamSpecFlags

    source§

    type SetValue = IOCondition

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecFlagsBuilder<'_, IOCondition>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for IOCondition

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for IOCondition

    source§

    type Item = IOCondition

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<IOCondition>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for IOCondition

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for IOCondition

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    type Output = IOCondition

    The resulting type after applying the ! operator.
    source§

    impl Octal for IOCondition

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for IOCondition

    source§

    fn eq(&self, other: &IOCondition) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PublicFlags for IOCondition

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl StaticType for IOCondition

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Sub for IOCondition

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for IOCondition

    source§

    type Item = IOCondition

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<IOCondition>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for IOCondition

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for IOCondition

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    type Output = IOCondition

    The resulting type after applying the ! operator.
    source§

    impl Octal for IOCondition

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for IOCondition

    source§

    fn eq(&self, other: &IOCondition) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PublicFlags for IOCondition

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl StaticType for IOCondition

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Sub for IOCondition

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    type Output = IOCondition

    The resulting type after applying the - operator.
    source§

    impl SubAssign for IOCondition

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source§

    type Output = IOCondition

    The resulting type after applying the - operator.
    source§

    impl SubAssign for IOCondition

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    impl ToValue for IOCondition

    source§

    fn to_value(&self) -> Value

    Convert a value to a Value.
    source§

    fn value_type(&self) -> Type

    Returns the type identifier of self. Read more
    source§

    impl UpperHex for IOCondition

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl ValueType for IOCondition

    source§

    type Type = IOCondition

    Type to get the Type from. Read more
    source§

    impl Copy for IOCondition

    source§

    impl Eq for IOCondition

    source§

    impl StructuralPartialEq for IOCondition

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    source§

    impl ToValue for IOCondition

    source§

    fn to_value(&self) -> Value

    Convert a value to a Value.
    source§

    fn value_type(&self) -> Type

    Returns the type identifier of self. Read more
    source§

    impl UpperHex for IOCondition

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl ValueType for IOCondition

    source§

    type Type = IOCondition

    Type to get the Type from. Read more
    source§

    impl Copy for IOCondition

    source§

    impl Eq for IOCondition

    source§

    impl StructuralPartialEq for IOCondition

    Auto Trait Implementations§

    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
    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 @@ -153,8 +162,8 @@ T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T, U> TryFrom<U> 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    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.
    \ No newline at end of file diff --git a/git/docs/glib/struct.InterfaceInfo.html b/git/docs/glib/struct.InterfaceInfo.html index 62aa939452c0..bafb245cab17 100644 --- a/git/docs/glib/struct.InterfaceInfo.html +++ b/git/docs/glib/struct.InterfaceInfo.html @@ -1,4 +1,4 @@ -InterfaceInfo in glib - Rust +InterfaceInfo in glib - Rust -
    glib

    Struct InterfaceInfo

    source
    pub struct InterfaceInfo(/* private fields */);
    Expand description

    A structure that provides information to the type system which is -used specifically for managing interface types.

    -

    Trait Implementations§

    source§

    impl Clone for InterfaceInfo

    source§

    fn clone(&self) -> InterfaceInfo

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for InterfaceInfo

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for InterfaceInfo

    source§

    fn default() -> Self

    Creates a new InterfaceInfo with default value.

    -
    source§

    impl Copy for InterfaceInfo

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +
    glib

    Struct InterfaceInfo

    source
    pub struct InterfaceInfo(/* private fields */);

    Trait Implementations§

    source§

    impl Clone for InterfaceInfo

    source§

    fn clone(&self) -> InterfaceInfo

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for InterfaceInfo

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for InterfaceInfo

    source§

    fn default() -> Self

    Creates a new InterfaceInfo with default value.

    +
    source§

    impl Copy for InterfaceInfo

    Auto Trait Implementations§

    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
    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 diff --git a/git/docs/glib/struct.KeyFile.html b/git/docs/glib/struct.KeyFile.html index 7a7a27985df7..0d15d7632b6a 100644 --- a/git/docs/glib/struct.KeyFile.html +++ b/git/docs/glib/struct.KeyFile.html @@ -71,7 +71,129 @@ -
    glib

    Struct KeyFile

    source
    pub struct KeyFile { /* private fields */ }
    Expand description

    GKeyFile parses .ini-like config files.

    +
    glib

    Struct KeyFile

    source
    pub struct KeyFile { /* private fields */ }
    Expand description

    GKeyFile parses .ini-like config files.

    +

    GKeyFile lets you parse, edit or create files containing groups of +key-value pairs, which we call “key files” for lack of a better name. +Several freedesktop.org specifications use key files now, e.g the +Desktop Entry Specification +and the Icon Theme Specification.

    +

    The syntax of key files is described in detail in the +Desktop Entry Specification, +here is a quick summary: Key files consists of groups of key-value pairs, interspersed +with comments.

    +

    ⚠️ The following code is in txt ⚠️

    +
    # this is just an example
    +# there can be comments before the first group
    +
    +[First Group]
    +
    +Name=Key File Example\tthis value shows\nescaping
    +
    +# localized strings are stored in multiple key-value pairs
    +Welcome=Hello
    +Welcome[de]=Hallo
    +Welcome[fr_FR]=Bonjour
    +Welcome[it]=Ciao
    +
    +[Another Group]
    +
    +Numbers=2;20;-200;0
    +
    +Booleans=true;false;true;true
    +

    Lines beginning with a ‘#’ and blank lines are considered comments.

    +

    Groups are started by a header line containing the group name enclosed +in ‘[’ and ‘]’, and ended implicitly by the start of the next group or +the end of the file. Each key-value pair must be contained in a group.

    +

    Key-value pairs generally have the form key=value, with the exception +of localized strings, which have the form key[locale]=value, with a +locale identifier of the form lang_COUNTRY@MODIFIER where COUNTRY +and MODIFIER are optional. Space before and after the ‘=’ character +are ignored. Newline, tab, carriage return and backslash characters in +value are escaped as \n, \t, \r, and \\\\, respectively. To preserve +leading spaces in values, these can also be escaped as \s.

    +

    Key files can store strings (possibly with localized variants), integers, +booleans and lists of these. Lists are separated by a separator character, +typically ‘;’ or ‘,’. To use the list separator character in a value in +a list, it has to be escaped by prefixing it with a backslash.

    +

    This syntax is obviously inspired by the .ini files commonly met +on Windows, but there are some important differences:

    +
      +
    • +

      .ini files use the ‘;’ character to begin comments, +key files use the ‘#’ character.

      +
    • +
    • +

      Key files do not allow for ungrouped keys meaning only +comments can precede the first group.

      +
    • +
    • +

      Key files are always encoded in UTF-8.

      +
    • +
    • +

      Key and Group names are case-sensitive. For example, a group called +[GROUP] is a different from [group].

      +
    • +
    • +

      .ini files don’t have a strongly typed boolean entry type, +they only have GetProfileInt(). In key files, only +true and false (in lower case) are allowed.

      +
    • +
    +

    Note that in contrast to the +Desktop Entry Specification, +groups in key files may contain the same key multiple times; the last entry wins. +Key files may also contain multiple groups with the same name; they are merged +together. Another difference is that keys and group names in key files are not +restricted to ASCII characters.

    +

    Here is an example of loading a key file and reading a value:

    +

    ⚠️ The following code is in c ⚠️

    +
    g_autoptr(GError) error = NULL;
    +g_autoptr(GKeyFile) key_file = g_key_file_new ();
    +
    +if (!g_key_file_load_from_file (key_file, "key-file.ini", flags, &error))
    +  {
    +    if (!g_error_matches (error, G_FILE_ERROR, G_FILE_ERROR_NOENT))
    +      g_warning ("Error loading key file: %s", error->message);
    +    return;
    +  }
    +
    +g_autofree gchar *val = g_key_file_get_string (key_file, "Group Name", "SomeKey", &error);
    +if (val == NULL &&
    +    !g_error_matches (error, G_KEY_FILE_ERROR, G_KEY_FILE_ERROR_KEY_NOT_FOUND))
    +  {
    +    g_warning ("Error finding key in key file: %s", error->message);
    +    return;
    +  }
    +else if (val == NULL)
    +  {
    +    // Fall back to a default value.
    +    val = g_strdup ("default-value");
    +  }
    +

    Here is an example of creating and saving a key file:

    +

    ⚠️ The following code is in c ⚠️

    +
    g_autoptr(GKeyFile) key_file = g_key_file_new ();
    +const gchar *val = …;
    +g_autoptr(GError) error = NULL;
    +
    +g_key_file_set_string (key_file, "Group Name", "SomeKey", val);
    +
    +// Save as a file.
    +if (!g_key_file_save_to_file (key_file, "key-file.ini", &error))
    +  {
    +    g_warning ("Error saving key file: %s", error->message);
    +    return;
    +  }
    +
    +// Or store to a GBytes for use elsewhere.
    +gsize data_len;
    +g_autofree guint8 *data = (guint8 *) g_key_file_to_data (key_file, &data_len, &error);
    +if (data == NULL)
    +  {
    +    g_warning ("Error saving key file: %s", error->message);
    +    return;
    +  }
    +g_autoptr(GBytes) bytes = g_bytes_new_take (g_steal_pointer (&data), data_len);
    +

    GKeyFile parses .ini-like config files.

    GKeyFile lets you parse, edit or create files containing groups of key-value pairs, which we call “key files” for lack of a better name. Several freedesktop.org specifications use key files now, e.g the @@ -194,15 +316,21 @@ } g_autoptr(GBytes) bytes = g_bytes_new_take (g_steal_pointer (&data), data_len);

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl KeyFile

    source

    pub fn as_ptr(&self) -> *mut GKeyFile

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GKeyFile) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl KeyFile

    source

    pub fn new() -> KeyFile

    Creates a new empty #GKeyFile object. Use +

    Implementations§

    source§

    impl KeyFile

    source

    pub fn as_ptr(&self) -> *mut GKeyFile

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GKeyFile) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl KeyFile

    source

    pub fn new() -> KeyFile

    Creates a new empty #GKeyFile object. Use g_key_file_load_from_file(), g_key_file_load_from_data(), g_key_file_load_from_dirs() or g_key_file_load_from_data_dirs() to read an existing key file.

    §Returns
    +

    an empty #GKeyFile. +Creates a new empty #GKeyFile object. Use +g_key_file_load_from_file(), g_key_file_load_from_data(), +g_key_file_load_from_dirs() or g_key_file_load_from_data_dirs() to +read an existing key file.

    +
    §Returns

    an empty #GKeyFile.

    -
    source

    pub fn comment( +

    source

    pub fn comment( &self, group_name: Option<&str>, key: Option<&str>, @@ -217,22 +345,48 @@

    §group_n

    a group name, or None

    §key

    a key

    -
    §Returns
    +
    §Returns
    +

    a comment that should be freed with g_free() +Retrieves a comment above @key from @group_name. +If @key is None then @comment will be read from above +@group_name. If both @key and @group_name are None, then +@comment will be read from above the first group in the file.

    +

    Note that the returned string does not include the ‘#’ comment markers, +but does include any whitespace after them (on each line). It includes +the line breaks between lines, but does not include the final line break.

    +
    §group_name
    +

    a group name, or None

    +
    §key
    +

    a key

    +
    §Returns

    a comment that should be freed with g_free()

    -
    source

    pub fn double(&self, group_name: &str, key: &str) -> Result<f64, Error>

    Returns the value associated with @key under @group_name as a +

    source

    pub fn double(&self, group_name: &str, key: &str) -> Result<f64, Error>

    Returns the value associated with @key under @group_name as a double. If @group_name is None, the start_group is used.

    If @key cannot be found then 0.0 is returned and @error is set to KeyFileError::KeyNotFound. Likewise, if the value associated with @key cannot be interpreted as a double then 0.0 is returned and @error is set to KeyFileError::InvalidValue.

    -
    §group_name
    +
    §group_name

    a group name

    -
    §key
    +
    §key

    a key

    -
    §Returns
    +
    §Returns
    +

    the value associated with the key as a double, or +0.0 if the key was not found or could not be parsed. +Returns the value associated with @key under @group_name as a +double. If @group_name is None, the start_group is used.

    +

    If @key cannot be found then 0.0 is returned and @error is set to +KeyFileError::KeyNotFound. Likewise, if the value associated +with @key cannot be interpreted as a double then 0.0 is returned +and @error is set to KeyFileError::InvalidValue.

    +
    §group_name
    +

    a group name

    +
    §key
    +

    a key

    +
    §Returns

    the value associated with the key as a double, or 0.0 if the key was not found or could not be parsed.

    -
    source

    pub fn double_list( +

    source

    pub fn double_list( &self, group_name: &str, key: &str, @@ -242,39 +396,77 @@

    §Returns
    KeyFileError::KeyNotFound. Likewise, if the values associated with @key cannot be interpreted as doubles then None is returned and @error is set to KeyFileError::InvalidValue.

    -
    §group_name
    +
    §group_name

    a group name

    -
    §key
    +
    §key

    a key

    -
    §Returns
    +
    §Returns
    +
    the values associated with the key as a list of doubles, or [`None`] if the
    +key was not found or could not be parsed. The returned list of doubles
    +should be freed with g_free() when no longer needed.
    +

    Returns the values associated with @key under @group_name as +doubles.

    +

    If @key cannot be found then None is returned and @error is set to +KeyFileError::KeyNotFound. Likewise, if the values associated +with @key cannot be interpreted as doubles then None is returned +and @error is set to KeyFileError::InvalidValue.

    +
    §group_name
    +

    a group name

    +
    §key
    +

    a key

    +
    §Returns
    the values associated with the key as a list of doubles, or [`None`] if the
     key was not found or could not be parsed. The returned list of doubles
     should be freed with g_free() when no longer needed.
    -

    source

    pub fn int64(&self, group_name: &str, key: &str) -> Result<i64, Error>

    Returns the value associated with @key under @group_name as a signed +

    source

    pub fn int64(&self, group_name: &str, key: &str) -> Result<i64, Error>

    Returns the value associated with @key under @group_name as a signed 64-bit integer. This is similar to g_key_file_get_integer() but can return 64-bit results without truncation.

    -
    §group_name
    +
    §group_name

    a non-None group name

    -
    §key
    +
    §key

    a non-None key

    -
    §Returns
    +
    §Returns
    +

    the value associated with the key as a signed 64-bit integer, or +0 if the key was not found or could not be parsed. +Returns the value associated with @key under @group_name as a signed +64-bit integer. This is similar to g_key_file_get_integer() but can return +64-bit results without truncation.

    +
    §group_name
    +

    a non-None group name

    +
    §key
    +

    a non-None key

    +
    §Returns

    the value associated with the key as a signed 64-bit integer, or 0 if the key was not found or could not be parsed.

    -
    source

    pub fn integer(&self, group_name: &str, key: &str) -> Result<i32, Error>

    Returns the value associated with @key under @group_name as an +

    source

    pub fn integer(&self, group_name: &str, key: &str) -> Result<i32, Error>

    Returns the value associated with @key under @group_name as an integer.

    If @key cannot be found then 0 is returned and @error is set to KeyFileError::KeyNotFound. Likewise, if the value associated with @key cannot be interpreted as an integer, or is out of range for a #gint, then 0 is returned and @error is set to KeyFileError::InvalidValue.

    -
    §group_name
    +
    §group_name

    a group name

    -
    §key
    +
    §key

    a key

    -
    §Returns
    +
    §Returns
    +

    the value associated with the key as an integer, or +0 if the key was not found or could not be parsed. +Returns the value associated with @key under @group_name as an +integer.

    +

    If @key cannot be found then 0 is returned and @error is set to +KeyFileError::KeyNotFound. Likewise, if the value associated +with @key cannot be interpreted as an integer, or is out of range +for a #gint, then 0 is returned +and @error is set to KeyFileError::InvalidValue.

    +
    §group_name
    +

    a group name

    +
    §key
    +

    a key

    +
    §Returns

    the value associated with the key as an integer, or 0 if the key was not found or could not be parsed.

    -
    source

    pub fn integer_list( +

    source

    pub fn integer_list( &self, group_name: &str, key: &str, @@ -285,15 +477,30 @@

    §Returns
    with @key cannot be interpreted as integers, or are out of range for #gint, then None is returned and @error is set to KeyFileError::InvalidValue.

    -
    §group_name
    +
    §group_name

    a group name

    -
    §key
    +
    §key

    a key

    -
    §Returns
    +
    §Returns
    the values associated with the key as a list of integers, or [`None`] if
     the key was not found or could not be parsed. The returned list of
     integers should be freed with g_free() when no longer needed.
    -
    source

    pub fn locale_for_key( +

    Returns the values associated with @key under @group_name as +integers.

    +

    If @key cannot be found then None is returned and @error is set to +KeyFileError::KeyNotFound. Likewise, if the values associated +with @key cannot be interpreted as integers, or are out of range for +#gint, then None is returned +and @error is set to KeyFileError::InvalidValue.

    +

    §group_name
    +

    a group name

    +
    §key
    +

    a key

    +
    §Returns
    +
    the values associated with the key as a list of integers, or [`None`] if
    +the key was not found or could not be parsed. The returned list of
    +integers should be freed with g_free() when no longer needed.
    +
    source

    pub fn locale_for_key( &self, group_name: &str, key: &str, @@ -306,48 +513,97 @@

    §Returns
    @group_name, @key and @locale, the result of those functions will have originally been tagged with the locale that is the result of this function.

    -
    §group_name
    +
    §group_name

    a group name

    -
    §key
    +
    §key

    a key

    §locale

    a locale identifier or None

    -
    §Returns
    +
    §Returns
    +

    the locale from the file, or None if the key was not +found or the entry in the file was was untranslated +Returns the actual locale which the result of +g_key_file_get_locale_string() or g_key_file_get_locale_string_list() +came from.

    +

    If calling g_key_file_get_locale_string() or +g_key_file_get_locale_string_list() with exactly the same @self, +@group_name, @key and @locale, the result of those functions will +have originally been tagged with the locale that is the result of +this function.

    +
    §group_name
    +

    a group name

    +
    §key
    +

    a key

    +
    §locale
    +

    a locale identifier or None

    +
    §Returns

    the locale from the file, or None if the key was not found or the entry in the file was was untranslated

    -
    source

    pub fn start_group(&self) -> Option<GString>

    Returns the name of the start group of the file.

    -
    §Returns
    +
    source

    pub fn start_group(&self) -> Option<GString>

    Returns the name of the start group of the file.

    +
    §Returns
    +

    The start group of the key file. +Returns the name of the start group of the file.

    +
    §Returns

    The start group of the key file.

    -
    source

    pub fn uint64(&self, group_name: &str, key: &str) -> Result<u64, Error>

    Returns the value associated with @key under @group_name as an unsigned +

    source

    pub fn uint64(&self, group_name: &str, key: &str) -> Result<u64, Error>

    Returns the value associated with @key under @group_name as an unsigned 64-bit integer. This is similar to g_key_file_get_integer() but can return large positive results without truncation.

    -
    §group_name
    +
    §group_name

    a non-None group name

    -
    §key
    +
    §key

    a non-None key

    -
    §Returns
    +
    §Returns
    +

    the value associated with the key as an unsigned 64-bit integer, +or 0 if the key was not found or could not be parsed. +Returns the value associated with @key under @group_name as an unsigned +64-bit integer. This is similar to g_key_file_get_integer() but can return +large positive results without truncation.

    +
    §group_name
    +

    a non-None group name

    +
    §key
    +

    a non-None key

    +
    §Returns

    the value associated with the key as an unsigned 64-bit integer, or 0 if the key was not found or could not be parsed.

    -
    source

    pub fn value(&self, group_name: &str, key: &str) -> Result<GString, Error>

    Returns the raw value associated with @key under @group_name. +

    source

    pub fn value(&self, group_name: &str, key: &str) -> Result<GString, Error>

    Returns the raw value associated with @key under @group_name. Use g_key_file_get_string() to retrieve an unescaped UTF-8 string.

    In the event the key cannot be found, None is returned and @error is set to KeyFileError::KeyNotFound. In the event that the @group_name cannot be found, None is returned and @error is set to KeyFileError::GroupNotFound.

    -
    §group_name
    +
    §group_name

    a group name

    -
    §key
    +
    §key

    a key

    -
    §Returns
    +
    §Returns
    +

    a newly allocated string or None if the specified +key cannot be found. +Returns the raw value associated with @key under @group_name. +Use g_key_file_get_string() to retrieve an unescaped UTF-8 string.

    +

    In the event the key cannot be found, None is returned and +@error is set to KeyFileError::KeyNotFound. In the +event that the @group_name cannot be found, None is returned +and @error is set to KeyFileError::GroupNotFound.

    +
    §group_name
    +

    a group name

    +
    §key
    +

    a key

    +
    §Returns

    a newly allocated string or None if the specified key cannot be found.

    -
    source

    pub fn has_group(&self, group_name: &str) -> bool

    Looks whether the key file has the group @group_name.

    -
    §group_name
    +
    source

    pub fn has_group(&self, group_name: &str) -> bool

    Looks whether the key file has the group @group_name.

    +
    §group_name

    a group name

    -
    §Returns
    +
    §Returns
    +

    true if @group_name is a part of @self, false +otherwise. +Looks whether the key file has the group @group_name.

    +
    §group_name
    +

    a group name

    +
    §Returns

    true if @group_name is a part of @self, false otherwise.

    -
    source

    pub fn load_from_bytes( +

    source

    pub fn load_from_bytes( &self, bytes: &Bytes, flags: KeyFileFlags, @@ -357,9 +613,17 @@

    §bytes

    a #GBytes

    §flags

    flags from #GKeyFileFlags

    -
    §Returns
    +
    §Returns
    +

    true if a key file could be loaded, false otherwise +Loads a key file from the data in @bytes into an empty #GKeyFile structure. +If the object cannot be created then error is set to a #GKeyFileError.

    +
    §bytes
    +

    a #GBytes

    +
    §flags
    +

    flags from #GKeyFileFlags

    +
    §Returns

    true if a key file could be loaded, false otherwise

    -
    source

    pub fn load_from_data( +

    source

    pub fn load_from_data( &self, data: &str, flags: KeyFileFlags, @@ -369,11 +633,21 @@

    §data

    key file loaded in memory

    §length

    the length of @data in bytes (or (gsize)-1 if data is nul-terminated)

    -
    §flags
    +
    §flags

    flags from #GKeyFileFlags

    -
    §Returns
    +
    §Returns
    +

    true if a key file could be loaded, false otherwise +Loads a key file from memory into an empty #GKeyFile structure. +If the object cannot be created then error is set to a #GKeyFileError.

    +
    §data
    +

    key file loaded in memory

    +
    §length
    +

    the length of @data in bytes (or (gsize)-1 if data is nul-terminated)

    +
    §flags
    +

    flags from #GKeyFileFlags

    +
    §Returns

    true if a key file could be loaded, false otherwise

    -
    source

    pub fn load_from_file( +

    source

    pub fn load_from_file( &self, file: impl AsRef<Path>, flags: KeyFileFlags, @@ -385,11 +659,23 @@

    §Returns
    @file is not found, FileError::Noent is returned.

    §file

    the path of a filename to load, in the GLib filename encoding

    -
    §flags
    +
    §flags

    flags from #GKeyFileFlags

    -
    §Returns
    +
    §Returns
    +

    true if a key file could be loaded, false otherwise +Loads a key file into an empty #GKeyFile structure.

    +

    If the OS returns an error when opening or reading the file, a +G_FILE_ERROR is returned. If there is a problem parsing the file, a +G_KEY_FILE_ERROR is returned.

    +

    This function will never return a KeyFileError::NotFound error. If the +@file is not found, FileError::Noent is returned.

    +
    §file
    +

    the path of a filename to load, in the GLib filename encoding

    +
    §flags
    +

    flags from #GKeyFileFlags

    +
    §Returns

    true if a key file could be loaded, false otherwise

    -
    source

    pub fn remove_comment( +

    source

    pub fn remove_comment( &self, group_name: Option<&str>, key: Option<&str>, @@ -397,34 +683,65 @@

    §Returns
    If @key is None then @comment will be removed above @group_name. If both @key and @group_name are None, then @comment will be removed above the first group in the file.

    -
    §group_name
    +
    §group_name

    a group name, or None

    -
    §key
    +
    §key
    +

    a key

    +
    §Returns
    +

    true if the comment was removed, false otherwise +Removes a comment above @key from @group_name. +If @key is None then @comment will be removed above @group_name. +If both @key and @group_name are None, then @comment will +be removed above the first group in the file.

    +
    §group_name
    +

    a group name, or None

    +
    §key

    a key

    -
    §Returns
    +
    §Returns

    true if the comment was removed, false otherwise

    -
    source

    pub fn remove_group(&self, group_name: &str) -> Result<(), Error>

    Removes the specified group, @group_name, +

    source

    pub fn remove_group(&self, group_name: &str) -> Result<(), Error>

    Removes the specified group, @group_name, from the key file.

    -
    §group_name
    +
    §group_name

    a group name

    -
    §Returns
    +
    §Returns
    +

    true if the group was removed, false otherwise +Removes the specified group, @group_name, +from the key file.

    +
    §group_name
    +

    a group name

    +
    §Returns

    true if the group was removed, false otherwise

    -
    source

    pub fn remove_key(&self, group_name: &str, key: &str) -> Result<(), Error>

    Removes @key in @group_name from the key file.

    -
    §group_name
    +
    source

    pub fn remove_key(&self, group_name: &str, key: &str) -> Result<(), Error>

    Removes @key in @group_name from the key file.

    +
    §group_name

    a group name

    -
    §key
    +
    §key

    a key name to remove

    -
    §Returns
    +
    §Returns
    +

    true if the key was removed, false otherwise +Removes @key in @group_name from the key file.

    +
    §group_name
    +

    a group name

    +
    §key
    +

    a key name to remove

    +
    §Returns

    true if the key was removed, false otherwise

    -
    source

    pub fn set_boolean(&self, group_name: &str, key: &str, value: bool)

    Associates a new boolean value with @key under @group_name. +

    source

    pub fn set_boolean(&self, group_name: &str, key: &str, value: bool)

    Associates a new boolean value with @key under @group_name. If @key cannot be found then it is created.

    -
    §group_name
    +
    §group_name

    a group name

    -
    §key
    +
    §key

    a key

    §value
    +

    true or false +Associates a new boolean value with @key under @group_name. +If @key cannot be found then it is created.

    +
    §group_name
    +

    a group name

    +
    §key
    +

    a key

    +
    §value

    true or false

    -
    source

    pub fn set_comment( +

    source

    pub fn set_comment( &self, group_name: Option<&str>, key: Option<&str>, @@ -435,44 +752,87 @@

    §value
    written above the first group in the file.

    Note that this function prepends a ‘#’ comment marker to each line of @comment.

    -
    §group_name
    +
    §group_name

    a group name, or None

    -
    §key
    +
    §key

    a key

    §comment

    a comment

    -
    §Returns
    +
    §Returns
    +

    true if the comment was written, false otherwise +Places a comment above @key from @group_name.

    +

    If @key is None then @comment will be written above @group_name. +If both @key and @group_name are None, then @comment will be +written above the first group in the file.

    +

    Note that this function prepends a ‘#’ comment marker to +each line of @comment.

    +
    §group_name
    +

    a group name, or None

    +
    §key
    +

    a key

    +
    §comment
    +

    a comment

    +
    §Returns

    true if the comment was written, false otherwise

    -
    source

    pub fn set_double(&self, group_name: &str, key: &str, value: f64)

    Associates a new double value with @key under @group_name. +

    source

    pub fn set_double(&self, group_name: &str, key: &str, value: f64)

    Associates a new double value with @key under @group_name. If @key cannot be found then it is created.

    -
    §group_name
    +
    §group_name

    a group name

    -
    §key
    +
    §key

    a key

    -
    §value
    +
    §value
    +

    a double value +Associates a new double value with @key under @group_name. +If @key cannot be found then it is created.

    +
    §group_name
    +

    a group name

    +
    §key
    +

    a key

    +
    §value

    a double value

    -
    source

    pub fn set_int64(&self, group_name: &str, key: &str, value: i64)

    Associates a new integer value with @key under @group_name. +

    source

    pub fn set_int64(&self, group_name: &str, key: &str, value: i64)

    Associates a new integer value with @key under @group_name. If @key cannot be found then it is created.

    -
    §group_name
    +
    §group_name

    a group name

    -
    §key
    +
    §key

    a key

    -
    §value
    +
    §value
    +

    an integer value +Associates a new integer value with @key under @group_name. +If @key cannot be found then it is created.

    +
    §group_name
    +

    a group name

    +
    §key
    +

    a key

    +
    §value

    an integer value

    -
    source

    pub fn set_integer(&self, group_name: &str, key: &str, value: i32)

    Associates a new integer value with @key under @group_name. +

    source

    pub fn set_integer(&self, group_name: &str, key: &str, value: i32)

    Associates a new integer value with @key under @group_name. If @key cannot be found then it is created.

    -
    §group_name
    +
    §group_name

    a group name

    -
    §key
    +
    §key

    a key

    -
    §value
    +
    §value
    +

    an integer value +Associates a new integer value with @key under @group_name. +If @key cannot be found then it is created.

    +
    §group_name
    +

    a group name

    +
    §key
    +

    a key

    +
    §value

    an integer value

    -
    source

    pub fn set_list_separator(&self, separator: Char)

    Sets the character which is used to separate +

    source

    pub fn set_list_separator(&self, separator: Char)

    Sets the character which is used to separate values in lists. Typically ‘;’ or ‘,’ are used as separators. The default list separator is ‘;’.

    §separator
    +

    the separator +Sets the character which is used to separate +values in lists. Typically ‘;’ or ‘,’ are used +as separators. The default list separator is ‘;’.

    +
    §separator

    the separator

    -
    source

    pub fn set_locale_string( +

    source

    pub fn set_locale_string( &self, group_name: &str, key: &str, @@ -480,45 +840,85 @@

    §separator string: &str, )

    Associates a string value for @key and @locale under @group_name. If the translation for @key cannot be found then it is created.

    -
    §group_name
    +
    §group_name

    a group name

    -
    §key
    +
    §key

    a key

    -
    §locale
    +
    §locale

    a locale identifier

    §string
    +

    a string +Associates a string value for @key and @locale under @group_name. +If the translation for @key cannot be found then it is created.

    +
    §group_name
    +

    a group name

    +
    §key
    +

    a key

    +
    §locale
    +

    a locale identifier

    +
    §string

    a string

    -
    source

    pub fn set_string(&self, group_name: &str, key: &str, string: &str)

    Associates a new string value with @key under @group_name. +

    source

    pub fn set_string(&self, group_name: &str, key: &str, string: &str)

    Associates a new string value with @key under @group_name. If @key cannot be found then it is created. If @group_name cannot be found then it is created. Unlike g_key_file_set_value(), this function handles characters that need escaping, such as newlines.

    -
    §group_name
    +
    §group_name

    a group name

    -
    §key
    +
    §key

    a key

    -
    §string
    +
    §string
    +

    a string +Associates a new string value with @key under @group_name. +If @key cannot be found then it is created. +If @group_name cannot be found then it is created. +Unlike g_key_file_set_value(), this function handles characters +that need escaping, such as newlines.

    +
    §group_name
    +

    a group name

    +
    §key
    +

    a key

    +
    §string

    a string

    -
    source

    pub fn set_uint64(&self, group_name: &str, key: &str, value: u64)

    Associates a new integer value with @key under @group_name. +

    source

    pub fn set_uint64(&self, group_name: &str, key: &str, value: u64)

    Associates a new integer value with @key under @group_name. If @key cannot be found then it is created.

    -
    §group_name
    +
    §group_name

    a group name

    -
    §key
    +
    §key

    a key

    -
    §value
    +
    §value
    +

    an integer value +Associates a new integer value with @key under @group_name. +If @key cannot be found then it is created.

    +
    §group_name
    +

    a group name

    +
    §key
    +

    a key

    +
    §value

    an integer value

    -
    source

    pub fn set_value(&self, group_name: &str, key: &str, value: &str)

    Associates a new value with @key under @group_name.

    +
    source

    pub fn set_value(&self, group_name: &str, key: &str, value: &str)

    Associates a new value with @key under @group_name.

    If @key cannot be found then it is created. If @group_name cannot be found then it is created. To set an UTF-8 string which may contain characters that need escaping (such as newlines or spaces), use g_key_file_set_string().

    -
    §group_name
    +
    §group_name

    a group name

    -
    §key
    +
    §key

    a key

    -
    §value
    +
    §value
    +

    a string +Associates a new value with @key under @group_name.

    +

    If @key cannot be found then it is created. If @group_name cannot +be found then it is created. To set an UTF-8 string which may contain +characters that need escaping (such as newlines or spaces), use +g_key_file_set_string().

    +
    §group_name
    +

    a group name

    +
    §key
    +

    a key

    +
    §value

    a string

    -
    source§

    impl KeyFile

    source

    pub fn save_to_file<T: AsRef<Path>>(&self, filename: T) -> Result<(), Error>

    Writes the contents of @self to @filename using +

    source§

    impl KeyFile

    source

    pub fn save_to_file<T: AsRef<Path>>(&self, filename: T) -> Result<(), Error>

    Writes the contents of @self to @filename using g_file_set_contents(). If you need stricter guarantees about durability of the written file than are provided by g_file_set_contents(), use g_file_set_contents_full() with the return value of g_key_file_to_data().

    @@ -526,9 +926,19 @@
    §value< g_file_set_contents() may fail.

    §filename

    the name of the file to write to

    -
    §Returns
    +
    §Returns
    +

    true if successful, else false with @error set +Writes the contents of @self to @filename using +g_file_set_contents(). If you need stricter guarantees about durability of +the written file than are provided by g_file_set_contents(), use +g_file_set_contents_full() with the return value of g_key_file_to_data().

    +

    This function can fail for any of the reasons that +g_file_set_contents() may fail.

    +
    §filename
    +

    the name of the file to write to

    +
    §Returns

    true if successful, else false with @error set

    -
    source

    pub fn load_from_data_dirs<T: AsRef<Path>>( +

    source

    pub fn load_from_data_dirs<T: AsRef<Path>>( &self, file: T, flags: KeyFileFlags, @@ -537,16 +947,30 @@

    §Returns
    loads the file into @self and returns the file’s full path in @full_path. If the file could not be loaded then an error is set to either a #GFileError or #GKeyFileError.

    -
    §file
    +
    §file

    a relative path to a filename to open and parse

    -
    §flags
    +
    §flags

    flags from #GKeyFileFlags

    -
    §Returns
    +
    §Returns

    true if a key file could be loaded, false otherwise

    §full_path

    return location for a string containing the full path +of the file, or None +This function looks for a key file named @file in the paths +returned from g_get_user_data_dir() and g_get_system_data_dirs(), +loads the file into @self and returns the file’s full path in +@full_path. If the file could not be loaded then an error is +set to either a #GFileError or #GKeyFileError.

    +
    §file
    +

    a relative path to a filename to open and parse

    +
    §flags
    +

    flags from #GKeyFileFlags

    +
    §Returns
    +

    true if a key file could be loaded, false otherwise

    +
    §full_path
    +

    return location for a string containing the full path of the file, or None

    -
    source

    pub fn load_from_dirs<T: AsRef<Path>, U: AsRef<Path>>( +

    source

    pub fn load_from_dirs<T: AsRef<Path>, U: AsRef<Path>>( &self, file: T, search_dirs: &[U], @@ -559,60 +983,121 @@

    §full_path the file is found but the OS returns an error when opening or reading the file, a G_FILE_ERROR is returned. If there is a problem parsing the file, a G_KEY_FILE_ERROR is returned.

    -
    §file
    +
    §file

    a relative path to a filename to open and parse

    §search_dirs

    None-terminated array of directories to search

    -
    §flags
    +
    §flags

    flags from #GKeyFileFlags

    -
    §Returns
    +
    §Returns

    true if a key file could be loaded, false otherwise

    -
    §full_path
    +
    §full_path
    +

    return location for a string containing the full path +of the file, or None +This function looks for a key file named @file in the paths +specified in @search_dirs, loads the file into @self and +returns the file’s full path in @full_path.

    +

    If the file could not be found in any of the @search_dirs, +KeyFileError::NotFound is returned. If +the file is found but the OS returns an error when opening or reading the +file, a G_FILE_ERROR is returned. If there is a problem parsing the file, a +G_KEY_FILE_ERROR is returned.

    +
    §file
    +

    a relative path to a filename to open and parse

    +
    §search_dirs
    +

    None-terminated array of directories to search

    +
    §flags
    +

    flags from #GKeyFileFlags

    +
    §Returns
    +

    true if a key file could be loaded, false otherwise

    +
    §full_path

    return location for a string containing the full path of the file, or None

    -
    source

    pub fn to_data(&self) -> GString

    This function outputs @self as a string.

    +
    source

    pub fn to_data(&self) -> GString

    This function outputs @self as a string.

    Note that this function never reports an error, so it is safe to pass None as @error.

    -
    §Returns
    +
    §Returns

    a newly allocated string holding the contents of the #GKeyFile

    -
    §length
    +
    §length
    +

    return location for the length of the +returned string, or None +This function outputs @self as a string.

    +

    Note that this function never reports an error, +so it is safe to pass None as @error.

    +
    §Returns
    +

    a newly allocated string holding +the contents of the #GKeyFile

    +
    §length

    return location for the length of the returned string, or None

    -
    source

    pub fn groups(&self) -> PtrSlice<GStringPtr>

    Returns all groups in the key file loaded with @self. +

    source

    pub fn groups(&self) -> PtrSlice<GStringPtr>

    Returns all groups in the key file loaded with @self. The array of returned groups will be None-terminated, so @length may optionally be None.

    -
    §Returns
    +
    §Returns

    a newly-allocated None-terminated array of strings. Use g_strfreev() to free it.

    -
    §length
    +
    §length
    +

    return location for the number of returned groups, or None +Returns all groups in the key file loaded with @self. +The array of returned groups will be None-terminated, so +@length may optionally be None.

    +
    §Returns
    +

    a newly-allocated None-terminated array of strings. +Use g_strfreev() to free it.

    +
    §length

    return location for the number of returned groups, or None

    -
    source

    pub fn keys(&self, group_name: &str) -> Result<PtrSlice<GStringPtr>, Error>

    Returns all keys for the group name @group_name. The array of +

    source

    pub fn keys(&self, group_name: &str) -> Result<PtrSlice<GStringPtr>, Error>

    Returns all keys for the group name @group_name. The array of returned keys will be None-terminated, so @length may optionally be None. In the event that the @group_name cannot be found, None is returned and @error is set to KeyFileError::GroupNotFound.

    -
    §group_name
    +
    §group_name

    a group name

    -
    §Returns
    +
    §Returns

    a newly-allocated None-terminated array of strings. Use g_strfreev() to free it.

    -
    §length
    +
    §length
    +

    return location for the number of keys returned, or None +Returns all keys for the group name @group_name. The array of +returned keys will be None-terminated, so @length may +optionally be None. In the event that the @group_name cannot +be found, None is returned and @error is set to +KeyFileError::GroupNotFound.

    +
    §group_name
    +

    a group name

    +
    §Returns
    +

    a newly-allocated None-terminated array of strings. +Use g_strfreev() to free it.

    +
    §length

    return location for the number of keys returned, or None

    -
    source

    pub fn boolean(&self, group_name: &str, key: &str) -> Result<bool, Error>

    Returns the value associated with @key under @group_name as a +

    source

    pub fn boolean(&self, group_name: &str, key: &str) -> Result<bool, Error>

    Returns the value associated with @key under @group_name as a boolean.

    If @key cannot be found then false is returned and @error is set to KeyFileError::KeyNotFound. Likewise, if the value associated with @key cannot be interpreted as a boolean then false is returned and @error is set to KeyFileError::InvalidValue.

    -
    §group_name
    +
    §group_name

    a group name

    -
    §key
    +
    §key

    a key

    -
    §Returns
    +
    §Returns
    +

    the value associated with the key as a boolean, +or false if the key was not found or could not be parsed. +Returns the value associated with @key under @group_name as a +boolean.

    +

    If @key cannot be found then false is returned and @error is set +to KeyFileError::KeyNotFound. Likewise, if the value +associated with @key cannot be interpreted as a boolean then false +is returned and @error is set to KeyFileError::InvalidValue.

    +
    §group_name
    +

    a group name

    +
    §key
    +

    a key

    +
    §Returns

    the value associated with the key as a boolean, or false if the key was not found or could not be parsed.

    -
    source

    pub fn has_key(&self, group_name: &str, key: &str) -> Result<bool, Error>

    Looks whether the key file has the key @key in the group +

    source

    pub fn has_key(&self, group_name: &str, key: &str) -> Result<bool, Error>

    Looks whether the key file has the key @key in the group @group_name.

    Note that this function does not follow the rules for #GError strictly; the return value both carries meaning and signals an error. To use @@ -620,13 +1105,27 @@

    §Returns
    whether it is not None to see if an error occurred.

    Language bindings should use g_key_file_get_value() to test whether or not a key exists.

    -
    §group_name
    +
    §group_name

    a group name

    -
    §key
    +
    §key

    a key name

    -
    §Returns
    +
    §Returns
    +

    true if @key is a part of @group_name, false otherwise +Looks whether the key file has the key @key in the group +@group_name.

    +

    Note that this function does not follow the rules for #GError strictly; +the return value both carries meaning and signals an error. To use +this function, you must pass a #GError pointer in @error, and check +whether it is not None to see if an error occurred.

    +

    Language bindings should use g_key_file_get_value() to test whether +or not a key exists.

    +
    §group_name
    +

    a group name

    +
    §key
    +

    a key name

    +
    §Returns

    true if @key is a part of @group_name, false otherwise

    -
    source

    pub fn boolean_list( +

    source

    pub fn boolean_list( &self, group_name: &str, key: &str, @@ -636,29 +1135,57 @@

    §Returns
    KeyFileError::KeyNotFound. Likewise, if the values associated with @key cannot be interpreted as booleans then None is returned and @error is set to KeyFileError::InvalidValue.

    -
    §group_name
    +
    §group_name

    a group name

    -
    §key
    +
    §key

    a key

    -
    §Returns
    +
    §Returns
    +

    the values associated with the key as a list of booleans, or None if the +key was not found or could not be parsed. The returned list of booleans +should be freed with g_free() when no longer needed. +Returns the values associated with @key under @group_name as +booleans.

    +

    If @key cannot be found then None is returned and @error is set to +KeyFileError::KeyNotFound. Likewise, if the values associated +with @key cannot be interpreted as booleans then None is returned +and @error is set to KeyFileError::InvalidValue.

    +
    §group_name
    +

    a group name

    +
    §key
    +

    a key

    +
    §Returns

    the values associated with the key as a list of booleans, or None if the key was not found or could not be parsed. The returned list of booleans should be freed with g_free() when no longer needed.

    -
    source

    pub fn string(&self, group_name: &str, key: &str) -> Result<GString, Error>

    Returns the string value associated with @key under @group_name. +

    source

    pub fn string(&self, group_name: &str, key: &str) -> Result<GString, Error>

    Returns the string value associated with @key under @group_name. Unlike g_key_file_get_value(), this function handles escape sequences like \s.

    In the event the key cannot be found, None is returned and @error is set to KeyFileError::KeyNotFound. In the event that the @group_name cannot be found, None is returned and @error is set to KeyFileError::GroupNotFound.

    -
    §group_name
    +
    §group_name

    a group name

    -
    §key
    +
    §key

    a key

    -
    §Returns
    +
    §Returns
    +

    a newly allocated string or None if the specified +key cannot be found. +Returns the string value associated with @key under @group_name. +Unlike g_key_file_get_value(), this function handles escape sequences +like \s.

    +

    In the event the key cannot be found, None is returned and +@error is set to KeyFileError::KeyNotFound. In the +event that the @group_name cannot be found, None is returned +and @error is set to KeyFileError::GroupNotFound.

    +
    §group_name
    +

    a group name

    +
    §key
    +

    a key

    +
    §Returns

    a newly allocated string or None if the specified key cannot be found.

    -
    source

    pub fn string_list( +

    source

    pub fn string_list( &self, group_name: &str, key: &str, @@ -667,14 +1194,26 @@

    §Returns
    @error is set to KeyFileError::KeyNotFound. In the event that the @group_name cannot be found, None is returned and @error is set to KeyFileError::GroupNotFound.

    -
    §group_name
    +
    §group_name

    a group name

    -
    §key
    +
    §key

    a key

    -
    §Returns
    +
    §Returns
    +

    a None-terminated string array or None if the specified +key cannot be found. The array should be freed with g_strfreev(). +Returns the values associated with @key under @group_name.

    +

    In the event the key cannot be found, None is returned and +@error is set to KeyFileError::KeyNotFound. In the +event that the @group_name cannot be found, None is returned +and @error is set to KeyFileError::GroupNotFound.

    +
    §group_name
    +

    a group name

    +
    §key
    +

    a key

    +
    §Returns

    a None-terminated string array or None if the specified key cannot be found. The array should be freed with g_strfreev().

    -
    source

    pub fn locale_string( +

    source

    pub fn locale_string( &self, group_name: &str, key: &str, @@ -689,16 +1228,35 @@

    §Returns
    to KeyFileError::KeyNotFound. If the value associated with @key cannot be interpreted or no suitable translation can be found then the untranslated value is returned.

    -
    §group_name
    +
    §group_name

    a group name

    -
    §key
    +
    §key

    a key

    -
    §locale
    +
    §locale

    a locale identifier or None

    -
    §Returns
    +
    §Returns
    +

    a newly allocated string or None if the specified +key cannot be found. +Returns the value associated with @key under @group_name +translated in the given @locale if available. If @locale is +None then the current locale is assumed.

    +

    If @locale is to be non-None, or if the current locale will change over +the lifetime of the #GKeyFile, it must be loaded with +KeyFileFlags::KEEP_TRANSLATIONS in order to load strings for all locales.

    +

    If @key cannot be found then None is returned and @error is set +to KeyFileError::KeyNotFound. If the value associated +with @key cannot be interpreted or no suitable translation can +be found then the untranslated value is returned.

    +
    §group_name
    +

    a group name

    +
    §key
    +

    a key

    +
    §locale
    +

    a locale identifier or None

    +
    §Returns

    a newly allocated string or None if the specified key cannot be found.

    -
    source

    pub fn locale_string_list( +

    source

    pub fn locale_string_list( &self, group_name: &str, key: &str, @@ -715,28 +1273,50 @@

    §Returns
    can be found then the untranslated values are returned. The returned array is None-terminated, so @length may optionally be None.

    -
    §group_name
    +
    §group_name

    a group name

    -
    §key
    +
    §key

    a key

    -
    §locale
    +
    §locale

    a locale identifier or None

    -
    §Returns
    +
    §Returns
    +

    a newly allocated None-terminated string array +or None if the key isn’t found. The string array should be freed +with g_strfreev(). +Returns the values associated with @key under @group_name +translated in the given @locale if available. If @locale is +None then the current locale is assumed.

    +

    If @locale is to be non-None, or if the current locale will change over +the lifetime of the #GKeyFile, it must be loaded with +KeyFileFlags::KEEP_TRANSLATIONS in order to load strings for all locales.

    +

    If @key cannot be found then None is returned and @error is set +to KeyFileError::KeyNotFound. If the values associated +with @key cannot be interpreted or no suitable translations +can be found then the untranslated values are returned. The +returned array is None-terminated, so @length may optionally +be None.

    +
    §group_name
    +

    a group name

    +
    §key
    +

    a key

    +
    §locale
    +

    a locale identifier or None

    +
    §Returns

    a newly allocated None-terminated string array or None if the key isn’t found. The string array should be freed with g_strfreev().

    -

    Trait Implementations§

    source§

    impl Clone for KeyFile

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +

    Trait Implementations§

    source§

    impl Clone for KeyFile

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for KeyFile

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for KeyFile

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl From<KeyFile> for Value

    source§

    fn from(s: KeyFile) -> Self

    Converts to this type from the input type.
    source§

    impl HasParamSpec for KeyFile

    source§

    type ParamSpec = ParamSpecBoxed

    source§

    type SetValue = KeyFile

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, KeyFile>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for KeyFile

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for KeyFile

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for KeyFile

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl From<KeyFile> for Value

    source§

    fn from(s: KeyFile) -> Self

    Converts to this type from the input type.
    source§

    impl HasParamSpec for KeyFile

    source§

    type ParamSpec = ParamSpecBoxed

    source§

    type SetValue = KeyFile

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, KeyFile>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for KeyFile

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for KeyFile

    source§

    fn cmp(&self, other: &KeyFile) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for KeyFile

    source§

    fn cmp(&self, other: &KeyFile) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for KeyFile

    source§

    fn eq(&self, other: &KeyFile) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for KeyFile

    source§

    fn partial_cmp(&self, other: &KeyFile) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,
    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for KeyFile

    source§

    fn eq(&self, other: &KeyFile) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for KeyFile

    source§

    fn partial_cmp(&self, other: &KeyFile) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for KeyFile

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for KeyFile

    source§

    impl StructuralPartialEq for KeyFile

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for KeyFile

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for KeyFile

    source§

    impl StructuralPartialEq for KeyFile

    Auto Trait Implementations§

    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
    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 diff --git a/git/docs/glib/struct.KeyFileFlags.html b/git/docs/glib/struct.KeyFileFlags.html index 6c06a769983b..486f9298b048 100644 --- a/git/docs/glib/struct.KeyFileFlags.html +++ b/git/docs/glib/struct.KeyFileFlags.html @@ -1,4 +1,4 @@ -KeyFileFlags in glib - Rust +KeyFileFlags in glib - Rust -
    glib

    Struct KeyFileFlags

    source
    pub struct KeyFileFlags(/* private fields */);
    Expand description

    Flags which influence the parsing.

    -

    Implementations§

    source§

    impl KeyFileFlags

    source

    pub const NONE: Self = _

    No flags, default behaviour

    -
    source

    pub const KEEP_COMMENTS: Self = _

    Use this flag if you plan to write the +

    glib

    Struct KeyFileFlags

    source
    pub struct KeyFileFlags(/* private fields */);
    Expand description

    Flags which influence the parsing. +Flags which influence the parsing.

    +

    Implementations§

    source§

    impl KeyFileFlags

    source

    pub const NONE: Self = _

    No flags, default behaviour +No flags, default behaviour

    +
    source

    pub const KEEP_COMMENTS: Self = _

    Use this flag if you plan to write the +(possibly modified) contents of the key file back to a file; +otherwise all comments will be lost when the key file is +written back. +Use this flag if you plan to write the (possibly modified) contents of the key file back to a file; otherwise all comments will be lost when the key file is written back.

    -
    source

    pub const KEEP_TRANSLATIONS: Self = _

    Use this flag if you plan to write the +

    source

    pub const KEEP_TRANSLATIONS: Self = _

    Use this flag if you plan to write the +(possibly modified) contents of the key file back to a file; +otherwise only the translations for the current language will be +written back. +Use this flag if you plan to write the (possibly modified) contents of the key file back to a file; otherwise only the translations for the current language will be written back.

    -
    source§

    impl KeyFileFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    -
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    -
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    +
    source§

    impl KeyFileFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    +
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    +
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    The returned value is exactly the bits set in this flags value.

    -
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    +
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    This method will return None if any unknown bits are set.

    -
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    -
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    -
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    +
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    +
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    +
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    This method will return None if name is empty or doesn’t correspond to any named flag.

    -
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    -
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    -
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    -
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    -
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    +
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    +
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    +
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    +
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

    -
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    -
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    +
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    impl KeyFileFlags

    source

    pub const fn iter(&self) -> Iter<KeyFileFlags>

    Yield a set of contained flags values.

    +
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    impl KeyFileFlags

    source

    pub const fn iter(&self) -> Iter<KeyFileFlags>

    Yield a set of contained flags values.

    Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.

    -
    source

    pub const fn iter_names(&self) -> IterNames<KeyFileFlags>

    Yield a set of contained named flags values.

    +
    source

    pub const fn iter_names(&self) -> IterNames<KeyFileFlags>

    Yield a set of contained named flags values.

    This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

    -

    Trait Implementations§

    source§

    impl Binary for KeyFileFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for KeyFileFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    type Output = KeyFileFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for KeyFileFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    impl BitOr for KeyFileFlags

    source§

    fn bitor(self, other: KeyFileFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    type Output = KeyFileFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for KeyFileFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    impl BitXor for KeyFileFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    type Output = KeyFileFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for KeyFileFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    impl Clone for KeyFileFlags

    source§

    fn clone(&self) -> KeyFileFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for KeyFileFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<KeyFileFlags> for KeyFileFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    -
    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
    source§

    impl Flags for KeyFileFlags

    source§

    const FLAGS: &'static [Flag<KeyFileFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> KeyFileFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where +

    Trait Implementations§

    source§

    impl Binary for KeyFileFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for KeyFileFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    type Output = KeyFileFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for KeyFileFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    impl BitOr for KeyFileFlags

    source§

    fn bitor(self, other: KeyFileFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    type Output = KeyFileFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for KeyFileFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    impl BitXor for KeyFileFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    type Output = KeyFileFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for KeyFileFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    impl Clone for KeyFileFlags

    source§

    fn clone(&self) -> KeyFileFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for KeyFileFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<KeyFileFlags> for KeyFileFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    +
    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
    source§

    impl Flags for KeyFileFlags

    source§

    const FLAGS: &'static [Flag<KeyFileFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> KeyFileFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> bool
    where Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)
    where Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)
    where Self: Sized,

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn toggle(&mut self, other: Self)
    where Self: Sized,

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn set(&mut self, other: Self, value: bool)
    where - Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<KeyFileFlags> for KeyFileFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    impl Hash for KeyFileFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<KeyFileFlags> for KeyFileFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    +
    source§

    impl Hash for KeyFileFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for KeyFileFlags

    source§

    type Item = KeyFileFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<KeyFileFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for KeyFileFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for KeyFileFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    type Output = KeyFileFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for KeyFileFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for KeyFileFlags

    source§

    fn eq(&self, other: &KeyFileFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PublicFlags for KeyFileFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for KeyFileFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for KeyFileFlags

    source§

    type Item = KeyFileFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<KeyFileFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for KeyFileFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for KeyFileFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    type Output = KeyFileFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for KeyFileFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for KeyFileFlags

    source§

    fn eq(&self, other: &KeyFileFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PublicFlags for KeyFileFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for KeyFileFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    type Output = KeyFileFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for KeyFileFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source§

    type Output = KeyFileFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for KeyFileFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    impl UpperHex for KeyFileFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for KeyFileFlags

    source§

    impl Eq for KeyFileFlags

    source§

    impl StructuralPartialEq for KeyFileFlags

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    source§

    impl UpperHex for KeyFileFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for KeyFileFlags

    source§

    impl Eq for KeyFileFlags

    source§

    impl StructuralPartialEq for KeyFileFlags

    Auto Trait Implementations§

    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
    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 diff --git a/git/docs/glib/struct.LogLevelFlags.html b/git/docs/glib/struct.LogLevelFlags.html index 1a4da664b7eb..4c8b6bd62641 100644 --- a/git/docs/glib/struct.LogLevelFlags.html +++ b/git/docs/glib/struct.LogLevelFlags.html @@ -71,80 +71,95 @@ -
    glib

    Struct LogLevelFlags

    source
    pub struct LogLevelFlags(/* private fields */);
    Expand description

    Flags specifying the level of log messages.

    +
    glib

    Struct LogLevelFlags

    source
    pub struct LogLevelFlags(/* private fields */);
    Expand description

    Flags specifying the level of log messages.

    +

    It is possible to change how GLib treats messages of the various +levels using log_set_handler() and log_set_fatal_mask(). +Flags specifying the level of log messages.

    It is possible to change how GLib treats messages of the various levels using log_set_handler() and log_set_fatal_mask().

    -

    Implementations§

    source§

    impl LogLevelFlags

    source

    pub const FLAG_RECURSION: Self = _

    internal flag

    -
    source

    pub const FLAG_FATAL: Self = _

    internal flag

    -
    source

    pub const LEVEL_ERROR: Self = _

    log level for errors, see error(). +

    Implementations§

    source§

    impl LogLevelFlags

    source

    pub const FLAG_RECURSION: Self = _

    internal flag +internal flag

    +
    source

    pub const FLAG_FATAL: Self = _

    internal flag +internal flag

    +
    source

    pub const LEVEL_ERROR: Self = _

    log level for errors, see error(). +This level is also used for messages produced by assert(). +log level for errors, see error(). This level is also used for messages produced by assert().

    -
    source

    pub const LEVEL_CRITICAL: Self = _

    log level for critical warning messages, see +

    source

    pub const LEVEL_CRITICAL: Self = _

    log level for critical warning messages, see +critical(). This level is also used for messages produced by +return_if_fail() and return_val_if_fail(). +log level for critical warning messages, see critical(). This level is also used for messages produced by return_if_fail() and return_val_if_fail().

    -
    source

    pub const LEVEL_WARNING: Self = _

    log level for warnings, see warning()

    -
    source

    pub const LEVEL_MESSAGE: Self = _

    log level for messages, see message()

    -
    source

    pub const LEVEL_INFO: Self = _

    log level for informational messages, see info()

    -
    source

    pub const LEVEL_DEBUG: Self = _

    log level for debug messages, see debug()

    -
    source

    pub const LEVEL_MASK: Self = _

    a mask including all log levels

    -
    source§

    impl LogLevelFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    -
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    -
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    +
    source

    pub const LEVEL_WARNING: Self = _

    log level for warnings, see warning() +log level for warnings, see warning()

    +
    source

    pub const LEVEL_MESSAGE: Self = _

    log level for messages, see message() +log level for messages, see message()

    +
    source

    pub const LEVEL_INFO: Self = _

    log level for informational messages, see info() +log level for informational messages, see info()

    +
    source

    pub const LEVEL_DEBUG: Self = _

    log level for debug messages, see debug() +log level for debug messages, see debug()

    +
    source

    pub const LEVEL_MASK: Self = _

    a mask including all log levels +a mask including all log levels

    +
    source§

    impl LogLevelFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    +
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    +
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    The returned value is exactly the bits set in this flags value.

    -
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    +
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    This method will return None if any unknown bits are set.

    -
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    -
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    -
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    +
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    +
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    +
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    This method will return None if name is empty or doesn’t correspond to any named flag.

    -
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    -
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    -
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    -
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    -
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    +
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    +
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    +
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    +
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

    -
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    -
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    +
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    impl LogLevelFlags

    source

    pub const fn iter(&self) -> Iter<LogLevelFlags>

    Yield a set of contained flags values.

    +
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    impl LogLevelFlags

    source

    pub const fn iter(&self) -> Iter<LogLevelFlags>

    Yield a set of contained flags values.

    Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.

    -
    source

    pub const fn iter_names(&self) -> IterNames<LogLevelFlags>

    Yield a set of contained named flags values.

    +
    source

    pub const fn iter_names(&self) -> IterNames<LogLevelFlags>

    Yield a set of contained named flags values.

    This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

    -

    Trait Implementations§

    source§

    impl Binary for LogLevelFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for LogLevelFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    type Output = LogLevelFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for LogLevelFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    impl BitOr for LogLevelFlags

    source§

    fn bitor(self, other: LogLevelFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    type Output = LogLevelFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for LogLevelFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    impl BitXor for LogLevelFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    type Output = LogLevelFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for LogLevelFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    impl Clone for LogLevelFlags

    source§

    fn clone(&self) -> LogLevelFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LogLevelFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<LogLevelFlags> for LogLevelFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    -
    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
    source§

    impl Flags for LogLevelFlags

    source§

    const FLAGS: &'static [Flag<LogLevelFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> LogLevelFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where +

    Trait Implementations§

    source§

    impl Binary for LogLevelFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for LogLevelFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    type Output = LogLevelFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for LogLevelFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    impl BitOr for LogLevelFlags

    source§

    fn bitor(self, other: LogLevelFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    type Output = LogLevelFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for LogLevelFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    impl BitXor for LogLevelFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    type Output = LogLevelFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for LogLevelFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    impl Clone for LogLevelFlags

    source§

    fn clone(&self) -> LogLevelFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LogLevelFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<LogLevelFlags> for LogLevelFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    +
    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
    source§

    impl Flags for LogLevelFlags

    source§

    const FLAGS: &'static [Flag<LogLevelFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> LogLevelFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> bool
    where Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)
    where Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)
    where Self: Sized,

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn toggle(&mut self, other: Self)
    where Self: Sized,

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn set(&mut self, other: Self, value: bool)
    where - Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<LogLevelFlags> for LogLevelFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    impl Hash for LogLevelFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<LogLevelFlags> for LogLevelFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    +
    source§

    impl Hash for LogLevelFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for LogLevelFlags

    source§

    type Item = LogLevelFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<LogLevelFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for LogLevelFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for LogLevelFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    type Output = LogLevelFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for LogLevelFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for LogLevelFlags

    source§

    fn eq(&self, other: &LogLevelFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PublicFlags for LogLevelFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for LogLevelFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for LogLevelFlags

    source§

    type Item = LogLevelFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<LogLevelFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for LogLevelFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for LogLevelFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    type Output = LogLevelFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for LogLevelFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for LogLevelFlags

    source§

    fn eq(&self, other: &LogLevelFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PublicFlags for LogLevelFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for LogLevelFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    type Output = LogLevelFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for LogLevelFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source§

    type Output = LogLevelFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for LogLevelFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    impl UpperHex for LogLevelFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for LogLevelFlags

    source§

    impl Eq for LogLevelFlags

    source§

    impl StructuralPartialEq for LogLevelFlags

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    source§

    impl UpperHex for LogLevelFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for LogLevelFlags

    source§

    impl Eq for LogLevelFlags

    source§

    impl StructuralPartialEq for LogLevelFlags

    Auto Trait Implementations§

    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
    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 diff --git a/git/docs/glib/struct.MainContext.html b/git/docs/glib/struct.MainContext.html index dad2e8cf8c60..395977bb2b38 100644 --- a/git/docs/glib/struct.MainContext.html +++ b/git/docs/glib/struct.MainContext.html @@ -1,4 +1,4 @@ -MainContext in glib - Rust +MainContext in glib - Rust -
    glib

    Struct MainContext

    source
    pub struct MainContext { /* private fields */ }
    Expand description

    The GMainContext struct is an opaque data +

    glib

    Struct MainContext

    source
    pub struct MainContext { /* private fields */ }
    Expand description

    The GMainContext struct is an opaque data +type representing a set of sources to be handled in a main loop. +The GMainContext struct is an opaque data type representing a set of sources to be handled in a main loop.

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl MainContext

    source

    pub fn as_ptr(&self) -> *mut GMainContext

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GMainContext) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl MainContext

    source

    pub fn new() -> MainContext

    Creates a new MainContext structure.

    +

    Implementations§

    source§

    impl MainContext

    source

    pub fn as_ptr(&self) -> *mut GMainContext

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GMainContext) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl MainContext

    source

    pub fn new() -> MainContext

    Creates a new MainContext structure.

    §Returns
    +

    the new #GMainContext +Creates a new MainContext structure.

    +
    §Returns

    the new #GMainContext

    -
    source

    pub fn with_flags(flags: MainContextFlags) -> MainContext

    Available on crate feature v2_72 only.

    Creates a new MainContext structure.

    +
    source

    pub fn with_flags(flags: MainContextFlags) -> MainContext

    Available on crate feature v2_72 only.

    Creates a new MainContext structure.

    §flags

    a bitwise-OR combination of #GMainContextFlags flags that can only be set at creation time.

    -
    §Returns
    +
    §Returns
    +

    the new #GMainContext +Creates a new MainContext structure.

    +
    §flags
    +

    a bitwise-OR combination of #GMainContextFlags flags that can only be +set at creation time.

    +
    §Returns

    the new #GMainContext

    -
    source

    pub fn dispatch(&self)

    Dispatches all pending sources.

    +
    source

    pub fn dispatch(&self)

    Dispatches all pending sources.

    +

    You must have successfully acquired the context with +acquire() before you may call this function.

    +

    Since 2.76 @self can be None to use the global-default +main context. +Dispatches all pending sources.

    You must have successfully acquired the context with acquire() before you may call this function.

    Since 2.76 @self can be None to use the global-default main context.

    -
    source

    pub fn is_owner(&self) -> bool

    Determines whether this thread holds the (recursive) +

    source

    pub fn is_owner(&self) -> bool

    Determines whether this thread holds the (recursive) ownership of this MainContext. This is useful to know before waiting on another thread that may be blocking to get ownership of @self.

    -
    §Returns
    +
    §Returns
    +

    true if current thread is owner of @self. +Determines whether this thread holds the (recursive) +ownership of this MainContext. This is useful to +know before waiting on another thread that may be +blocking to get ownership of @self.

    +
    §Returns

    true if current thread is owner of @self.

    -
    source

    pub fn iteration(&self, may_block: bool) -> bool

    Runs a single iteration for the given main loop. This involves +

    source

    pub fn iteration(&self, may_block: bool) -> bool

    Runs a single iteration for the given main loop. This involves checking to see if any event sources are ready to be processed, then if no events sources are ready and @may_block is true, waiting for a source to become ready, then dispatching the highest priority @@ -109,12 +131,30 @@

    §Returns
    be interrupted for other reasons than an event source becoming ready.

    §may_block

    whether the call may block.

    -
    §Returns
    +
    §Returns
    +

    true if events were dispatched. +Runs a single iteration for the given main loop. This involves +checking to see if any event sources are ready to be processed, +then if no events sources are ready and @may_block is true, waiting +for a source to become ready, then dispatching the highest priority +events sources that are ready. Otherwise, if @may_block is false +sources are not waited to become ready, only those highest priority +events sources will be dispatched (if any), that are ready at this +given moment without further waiting.

    +

    Note that even when @may_block is true, it is still possible for +iteration() to return false, since the wait may +be interrupted for other reasons than an event source becoming ready.

    +
    §may_block
    +

    whether the call may block.

    +
    §Returns

    true if events were dispatched.

    -
    source

    pub fn pending(&self) -> bool

    Checks if any sources have pending events for the given context.

    -
    §Returns
    +
    source

    pub fn pending(&self) -> bool

    Checks if any sources have pending events for the given context.

    +
    §Returns
    +

    true if events are pending. +Checks if any sources have pending events for the given context.

    +
    §Returns

    true if events are pending.

    -
    source

    pub fn wakeup(&self)

    If @self is currently blocking in iteration() +

    source

    pub fn wakeup(&self)

    If @self is currently blocking in iteration() waiting for a source to become ready, cause it to stop blocking and return. Otherwise, cause the next invocation of iteration() to return without blocking.

    @@ -135,13 +175,41 @@
    §Returns
      perform_work();
     
       if (g_atomic_int_dec_and_test (&tasks_remaining))
    -    g_main_context_wakeup (NULL);
    source

    pub fn default() -> MainContext

    Returns the global-default main context. This is the main context + g_main_context_wakeup (NULL);

    +

    If @self is currently blocking in iteration() +waiting for a source to become ready, cause it to stop blocking +and return. Otherwise, cause the next invocation of +iteration() to return without blocking.

    +

    This API is useful for low-level control over MainContext; for +example, integrating it with main loop implementations such as +MainLoop.

    +

    Another related use for this function is when implementing a main +loop with a termination condition, computed from multiple threads:

    +

    ⚠️ The following code is in C ⚠️

    +
      #define NUM_TASKS 10
    +  static gint tasks_remaining = NUM_TASKS;  // (atomic)
    +  ...
    +
    +  while (g_atomic_int_get (&tasks_remaining) != 0)
    +    g_main_context_iteration (NULL, TRUE);
    +

    Then in a thread:

    +

    ⚠️ The following code is in C ⚠️

    +
      perform_work();
    +
    +  if (g_atomic_int_dec_and_test (&tasks_remaining))
    +    g_main_context_wakeup (NULL);
    source

    pub fn default() -> MainContext

    Returns the global-default main context. This is the main context used for main loop functions when a main loop is not explicitly specified, and corresponds to the “main” main loop. See also thread_default().

    -
    §Returns
    +
    §Returns
    +

    the global-default main context. +Returns the global-default main context. This is the main context +used for main loop functions when a main loop is not explicitly +specified, and corresponds to the “main” main loop. See also +thread_default().

    +
    §Returns

    the global-default main context.

    -
    source

    pub fn thread_default() -> Option<MainContext>

    Gets the thread-default #GMainContext for this thread. Asynchronous +

    source

    pub fn thread_default() -> Option<MainContext>

    Gets the thread-default #GMainContext for this thread. Asynchronous operations that want to be able to be run in contexts other than the default one should call this method or ref_thread_default() to get a @@ -151,30 +219,63 @@

    §Returns
    this will always return None if you are running in the default thread.)

    If you need to hold a reference on the context, use ref_thread_default() instead.

    -
    §Returns
    +
    §Returns
    +

    the thread-default #GMainContext, or +None if the thread-default context is the global-default main context. +Gets the thread-default #GMainContext for this thread. Asynchronous +operations that want to be able to be run in contexts other than +the default one should call this method or +ref_thread_default() to get a +MainContext to add their Sources to. (Note that +even in single-threaded programs applications may sometimes want to +temporarily push a non-default context, so it is not safe to assume that +this will always return None if you are running in the default thread.)

    +

    If you need to hold a reference on the context, use +ref_thread_default() instead.

    +
    §Returns

    the thread-default #GMainContext, or None if the thread-default context is the global-default main context.

    -
    source

    pub fn ref_thread_default() -> MainContext

    Gets the thread-default MainContext for this thread, as with +

    source

    pub fn ref_thread_default() -> MainContext

    Gets the thread-default MainContext for this thread, as with thread_default(), but also adds a reference to it with GLib::MainContext::ref(). In addition, unlike thread_default(), if the thread-default context is the global-default context, this will return that MainContext (with a ref added to it) rather than returning None.

    -
    §Returns
    +
    §Returns
    +

    the thread-default #GMainContext. Unref +with GLib::MainContext::unref() when you are done with it. +Gets the thread-default MainContext for this thread, as with +thread_default(), but also adds a reference to +it with GLib::MainContext::ref(). In addition, unlike +thread_default(), if the thread-default context +is the global-default context, this will return that +MainContext (with a ref added to it) rather than returning +None.

    +
    §Returns

    the thread-default #GMainContext. Unref with GLib::MainContext::unref() when you are done with it.

    -
    source§

    impl MainContext

    source

    pub fn prepare(&self) -> (bool, i32)

    Prepares to poll sources within a main loop. The resulting information +

    source§

    impl MainContext

    source

    pub fn prepare(&self) -> (bool, i32)

    Prepares to poll sources within a main loop. The resulting information for polling is determined by calling GLib::MainContext::query().

    You must have successfully acquired the context with acquire() before you may call this function.

    -
    §Returns
    +
    §Returns

    true if some source is ready to be dispatched prior to polling.

    §priority

    location to store priority of highest priority +source already ready. +Prepares to poll sources within a main loop. The resulting information +for polling is determined by calling GLib::MainContext::query().

    +

    You must have successfully acquired the context with +acquire() before you may call this function.

    +
    §Returns
    +

    true if some source is ready to be dispatched +prior to polling.

    +
    §priority
    +

    location to store priority of highest priority source already ready.

    -
    source

    pub fn find_source_by_id(&self, source_id: &SourceId) -> Option<Source>

    Finds a #GSource given a pair of context and ID.

    +
    source

    pub fn find_source_by_id(&self, source_id: &SourceId) -> Option<Source>

    Finds a #GSource given a pair of context and ID.

    It is a programmer error to attempt to look up a non-existent source.

    More specifically: source IDs can be reissued after a source has been destroyed and therefore it is never valid to use this function with a @@ -186,9 +287,23 @@

    §priority
    §source_id

    the source ID, as returned by GLib::Source::get_id().

    -
    §Returns
    +
    §Returns
    +

    the #GSource +Finds a #GSource given a pair of context and ID.

    +

    It is a programmer error to attempt to look up a non-existent source.

    +

    More specifically: source IDs can be reissued after a source has been +destroyed and therefore it is never valid to use this function with a +source ID which may have already been removed. An example is when +scheduling an idle to run in another thread with idle_add(): the +idle may already have run and been removed by the time this function +is called on its (now invalid) source ID. This source ID may have +been reissued, leading to the operation being performed against the +wrong source.

    +
    §source_id
    +

    the source ID, as returned by GLib::Source::get_id().

    +
    §Returns

    the #GSource

    -
    source

    pub fn invoke<F>(&self, func: F)
    where +

    source

    pub fn invoke<F>(&self, func: F)
    where F: FnOnce() + Send + 'static,

    Invokes func on the main context.

    If the current thread is the owner of the main context or the main context currently has no owner then func will be called directly from inside this function. If this behaviour is @@ -212,14 +327,33 @@

    §Returns
    return false. If it returns true, it will be continuously run in a loop (and may prevent this call from returning).

    §function
    +

    function to call +Invokes a function in such a way that @self is owned during the +invocation of @function.

    +

    If @self is None then the global-default main context — as +returned by default() — is used.

    +

    If @self is owned by the current thread, @function is called +directly. Otherwise, if @self is the thread-default main context +of the current thread and acquire() succeeds, then +@function is called and [release()][Self::release()] is called +afterwards.

    +

    In any other case, an idle source is created to call @function and +that source is attached to @self (presumably to be run in another +thread). The idle source is attached with GLib::PRIORITY_DEFAULT +priority. If you want a different priority, use +[invoke_full()][Self::invoke_full()].

    +

    Note that, as with normal idle functions, @function should probably +return false. If it returns true, it will be continuously run in a +loop (and may prevent this call from returning).

    +
    §function

    function to call

    -
    source

    pub fn invoke_with_priority<F>(&self, priority: Priority, func: F)
    where +

    source

    pub fn invoke_with_priority<F>(&self, priority: Priority, func: F)
    where F: FnOnce() + Send + 'static,

    Invokes func on the main context with the given priority.

    If the current thread is the owner of the main context or the main context currently has no owner then func will be called directly from inside this function. If this behaviour is not desired and func should always be called asynchronously then use MainContext::spawn glib::idle_add instead.

    -
    source

    pub fn invoke_local<F>(&self, func: F)
    where +

    source

    pub fn invoke_local<F>(&self, func: F)
    where F: FnOnce() + 'static,

    Invokes func on the main context.

    Different to invoke(), this does not require func to be Send but can only be called from the thread that owns the main context.

    @@ -229,7 +363,7 @@
    §functionfunc should always be called asynchronously then use MainContext::spawn_local glib::idle_add_local instead.

    -
    source

    pub fn invoke_local_with_priority<F>(&self, _priority: Priority, func: F)
    where +

    source

    pub fn invoke_local_with_priority<F>(&self, _priority: Priority, func: F)
    where F: FnOnce() + 'static,

    Invokes func on the main context with the given priority.

    Different to invoke_with_priority(), this does not require func to be Send but can only be called from the thread that owns the main context.

    @@ -239,14 +373,14 @@
    §functionfunc should always be called asynchronously then use MainContext::spawn_local glib::idle_add_local instead.

    -
    source

    pub fn with_thread_default<R, F: FnOnce() -> R + Sized>( +

    source

    pub fn with_thread_default<R, F: FnOnce() -> R + Sized>( &self, func: F, ) -> Result<R, BoolError>

    Call closure with the main context configured as the thread default one.

    The thread default main context is changed in a panic-safe manner before calling func and released again afterwards regardless of whether closure panicked or not.

    This will fail if the main context is owned already by another thread.

    -
    source

    pub fn acquire(&self) -> Result<MainContextAcquireGuard<'_>, BoolError>

    Acquire ownership of the main context.

    +
    source

    pub fn acquire(&self) -> Result<MainContextAcquireGuard<'_>, BoolError>

    Acquire ownership of the main context.

    Ownership will automatically be released again once the returned acquire guard is dropped.

    This will fail if the main context is owned already by another thread. Tries to become the owner of the specified context. @@ -261,7 +395,22 @@

    §functionrelease()][Self::release()].

    Since 2.76 @self can be None to use the global-default main context.

    -
    §Returns
    +
    §Returns
    +

    true if the operation succeeded, and +this thread is now the owner of @self. +Tries to become the owner of the specified context. +If some other thread is the owner of the context, +returns false immediately. Ownership is properly +recursive: the owner can require ownership again +and will release ownership when [release()][Self::release()] +is called as many times as acquire().

    +

    You must be the owner of a context before you +can call prepare(), GLib::MainContext::query(), +GLib::MainContext::check(), dispatch(), +[release()][Self::release()].

    +

    Since 2.76 @self can be None to use the global-default +main context.

    +
    §Returns

    true if the operation succeeded, and this thread is now the owner of @self.

    source§

    impl MainContext

    source

    pub fn spawn<R: Send + 'static, F: Future<Output = R> + Send + 'static>( @@ -312,21 +461,21 @@

    §Returns

    The given Future does not have to be Send or 'static.

    This must only be called if no MainLoop or anything else is running on this specific main context.

    -

    Trait Implementations§

    source§

    impl Clone for MainContext

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +

    Trait Implementations§

    source§

    impl Clone for MainContext

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MainContext

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for MainContext

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl From<MainContext> for Value

    source§

    fn from(s: MainContext) -> Self

    Converts to this type from the input type.
    source§

    impl HasParamSpec for MainContext

    source§

    type ParamSpec = ParamSpecBoxed

    source§

    type SetValue = MainContext

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, MainContext>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for MainContext

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MainContext

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for MainContext

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl From<MainContext> for Value

    source§

    fn from(s: MainContext) -> Self

    Converts to this type from the input type.
    source§

    impl HasParamSpec for MainContext

    source§

    type ParamSpec = ParamSpecBoxed

    source§

    type SetValue = MainContext

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, MainContext>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for MainContext

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl LocalSpawn for MainContext

    source§

    fn spawn_local_obj( &self, f: LocalFutureObj<'static, ()>, -) -> Result<(), SpawnError>

    Spawns a future that will be run to completion. Read more
    §

    fn status_local(&self) -> Result<(), SpawnError>

    Determines whether the executor is able to spawn new tasks. Read more
    source§

    impl Ord for MainContext

    source§

    fn cmp(&self, other: &MainContext) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where +) -> Result<(), SpawnError>

    Spawns a future that will be run to completion. Read more
    §

    fn status_local(&self) -> Result<(), SpawnError>

    Determines whether the executor is able to spawn new tasks. Read more
    source§

    impl Ord for MainContext

    source§

    fn cmp(&self, other: &MainContext) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for MainContext

    source§

    fn eq(&self, other: &MainContext) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for MainContext

    source§

    fn partial_cmp(&self, other: &MainContext) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,
    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for MainContext

    source§

    fn eq(&self, other: &MainContext) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for MainContext

    source§

    fn partial_cmp(&self, other: &MainContext) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl Spawn for MainContext

    source§

    fn spawn_obj(&self, f: FutureObj<'static, ()>) -> Result<(), SpawnError>

    Spawns a future that will be run to completion. Read more
    §

    fn status(&self) -> Result<(), SpawnError>

    Determines whether the executor is able to spawn new tasks. Read more
    source§

    impl StaticType for MainContext

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for MainContext

    source§

    impl Send for MainContext

    source§

    impl StructuralPartialEq for MainContext

    source§

    impl Sync for MainContext

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl Spawn for MainContext

    source§

    fn spawn_obj(&self, f: FutureObj<'static, ()>) -> Result<(), SpawnError>

    Spawns a future that will be run to completion. Read more
    §

    fn status(&self) -> Result<(), SpawnError>

    Determines whether the executor is able to spawn new tasks. Read more
    source§

    impl StaticType for MainContext

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for MainContext

    source§

    impl Send for MainContext

    source§

    impl StructuralPartialEq for MainContext

    source§

    impl Sync for MainContext

    Auto Trait Implementations§

    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
    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 @@ -365,8 +514,8 @@
    §Returns
    Fut: Future<Output = ()> + Send + 'static,

    Spawns a task that polls the given future with output () to completion. Read more
    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.MainContextAcquireGuard.html b/git/docs/glib/struct.MainContextAcquireGuard.html index 3fc9fea14a9e..bccaccaa967d 100644 --- a/git/docs/glib/struct.MainContextAcquireGuard.html +++ b/git/docs/glib/struct.MainContextAcquireGuard.html @@ -71,7 +71,7 @@ -
    glib

    Struct MainContextAcquireGuard

    source
    pub struct MainContextAcquireGuard<'a>(/* private fields */);

    Trait Implementations§

    source§

    impl<'a> Drop for MainContextAcquireGuard<'a>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +
    glib

    Struct MainContextAcquireGuard

    source
    pub struct MainContextAcquireGuard<'a>(/* private fields */);

    Trait Implementations§

    source§

    impl<'a> Drop for MainContextAcquireGuard<'a>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more

    Auto Trait Implementations§

    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
    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> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/git/docs/glib/struct.MainContextFlags.html b/git/docs/glib/struct.MainContextFlags.html index 89db06d24db5..eef76d2c90ff 100644 --- a/git/docs/glib/struct.MainContextFlags.html +++ b/git/docs/glib/struct.MainContextFlags.html @@ -1,4 +1,4 @@ -MainContextFlags in glib - Rust +MainContextFlags in glib - Rust -
    glib

    Struct MainContextFlags

    source
    pub struct MainContextFlags(/* private fields */);
    Available on crate feature v2_72 only.
    Expand description

    Flags to pass to GLib::MainContext::new_with_flags() which affect the +

    glib

    Struct MainContextFlags

    source
    pub struct MainContextFlags(/* private fields */);
    Available on crate feature v2_72 only.
    Expand description

    Flags to pass to GLib::MainContext::new_with_flags() which affect the +behaviour of a MainContext. +Flags to pass to GLib::MainContext::new_with_flags() which affect the behaviour of a MainContext.

    -

    Implementations§

    source§

    impl MainContextFlags

    source

    pub const NONE: Self = _

    Default behaviour.

    -
    source

    pub const OWNERLESS_POLLING: Self = _

    Assume that polling for events will +

    Implementations§

    source§

    impl MainContextFlags

    source

    pub const NONE: Self = _

    Default behaviour. +Default behaviour.

    +
    source

    pub const OWNERLESS_POLLING: Self = _

    Assume that polling for events will +free the thread to process other jobs. That’s useful if you’re using +g_main_context_{prepare,query,check,dispatch} to integrate GMainContext in +other event loops. +Assume that polling for events will free the thread to process other jobs. That’s useful if you’re using g_main_context_{prepare,query,check,dispatch} to integrate GMainContext in other event loops.

    -
    source§

    impl MainContextFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    -
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    -
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    +
    source§

    impl MainContextFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    +
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    +
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    The returned value is exactly the bits set in this flags value.

    -
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    +
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    This method will return None if any unknown bits are set.

    -
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    -
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    -
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    +
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    +
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    +
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    This method will return None if name is empty or doesn’t correspond to any named flag.

    -
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    -
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    -
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    -
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    -
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    +
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    +
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    +
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    +
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

    -
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    -
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    +
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    impl MainContextFlags

    source

    pub const fn iter(&self) -> Iter<MainContextFlags>

    Yield a set of contained flags values.

    +
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    impl MainContextFlags

    source

    pub const fn iter(&self) -> Iter<MainContextFlags>

    Yield a set of contained flags values.

    Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.

    -
    source

    pub const fn iter_names(&self) -> IterNames<MainContextFlags>

    Yield a set of contained named flags values.

    +
    source

    pub const fn iter_names(&self) -> IterNames<MainContextFlags>

    Yield a set of contained named flags values.

    This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

    -

    Trait Implementations§

    source§

    impl Binary for MainContextFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for MainContextFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    type Output = MainContextFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for MainContextFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    impl BitOr for MainContextFlags

    source§

    fn bitor(self, other: MainContextFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    type Output = MainContextFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for MainContextFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    impl BitXor for MainContextFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    type Output = MainContextFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for MainContextFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    impl Clone for MainContextFlags

    source§

    fn clone(&self) -> MainContextFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MainContextFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<MainContextFlags> for MainContextFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    -
    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
    source§

    impl Flags for MainContextFlags

    source§

    const FLAGS: &'static [Flag<MainContextFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> MainContextFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where +

    Trait Implementations§

    source§

    impl Binary for MainContextFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for MainContextFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    type Output = MainContextFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for MainContextFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    impl BitOr for MainContextFlags

    source§

    fn bitor(self, other: MainContextFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    type Output = MainContextFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for MainContextFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    impl BitXor for MainContextFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    type Output = MainContextFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for MainContextFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    impl Clone for MainContextFlags

    source§

    fn clone(&self) -> MainContextFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MainContextFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<MainContextFlags> for MainContextFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    +
    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
    source§

    impl Flags for MainContextFlags

    source§

    const FLAGS: &'static [Flag<MainContextFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> MainContextFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> bool
    where Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)
    where Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)
    where Self: Sized,

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn toggle(&mut self, other: Self)
    where Self: Sized,

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn set(&mut self, other: Self, value: bool)
    where - Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<MainContextFlags> for MainContextFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    impl Hash for MainContextFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<MainContextFlags> for MainContextFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    +
    source§

    impl Hash for MainContextFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for MainContextFlags

    source§

    type Item = MainContextFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<MainContextFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for MainContextFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for MainContextFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    type Output = MainContextFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for MainContextFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for MainContextFlags

    source§

    fn eq(&self, other: &MainContextFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PublicFlags for MainContextFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for MainContextFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more

    source§

    impl IntoIterator for MainContextFlags

    source§

    type Item = MainContextFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<MainContextFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for MainContextFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for MainContextFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    type Output = MainContextFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for MainContextFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for MainContextFlags

    source§

    fn eq(&self, other: &MainContextFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PublicFlags for MainContextFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for MainContextFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    type Output = MainContextFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for MainContextFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source§

    type Output = MainContextFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for MainContextFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    impl UpperHex for MainContextFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for MainContextFlags

    source§

    impl Eq for MainContextFlags

    source§

    impl StructuralPartialEq for MainContextFlags

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    source§

    impl UpperHex for MainContextFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for MainContextFlags

    source§

    impl Eq for MainContextFlags

    source§

    impl StructuralPartialEq for MainContextFlags

    Auto Trait Implementations§

    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
    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 diff --git a/git/docs/glib/struct.MainLoop.html b/git/docs/glib/struct.MainLoop.html index 1a464bb0f1f7..1153660d92b8 100644 --- a/git/docs/glib/struct.MainLoop.html +++ b/git/docs/glib/struct.MainLoop.html @@ -1,4 +1,4 @@ -MainLoop in glib - Rust +MainLoop in glib - Rust -
    glib

    Struct MainLoop

    source
    pub struct MainLoop { /* private fields */ }
    Expand description

    The GMainLoop struct is an opaque data type +

    glib

    Struct MainLoop

    source
    pub struct MainLoop { /* private fields */ }
    Expand description

    The GMainLoop struct is an opaque data type +representing the main event loop of a GLib or GTK application. +The GMainLoop struct is an opaque data type representing the main event loop of a GLib or GTK application.

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl MainLoop

    source

    pub fn as_ptr(&self) -> *mut GMainLoop

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GMainLoop) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl MainLoop

    source

    pub fn new(context: Option<&MainContext>, is_running: bool) -> MainLoop

    Creates a new MainLoop structure.

    +

    Implementations§

    source§

    impl MainLoop

    source

    pub fn as_ptr(&self) -> *mut GMainLoop

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GMainLoop) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl MainLoop

    source

    pub fn new(context: Option<&MainContext>, is_running: bool) -> MainLoop

    Creates a new MainLoop structure.

    §context

    a #GMainContext (if None, the global-default main context will be used).

    @@ -85,34 +87,59 @@
    §is_runn is not very important since calling run() will set this to true anyway.

    §Returns
    -

    a new #GMainLoop.

    -
    source

    pub fn context(&self) -> MainContext

    Returns the MainContext of @self.

    +

    a new #GMainLoop. +Creates a new MainLoop structure.

    +
    §context
    +

    a #GMainContext (if None, the global-default +main context will be used).

    +
    §is_running
    +

    set to true to indicate that the loop is running. This +is not very important since calling run() will set this +to true anyway.

    §Returns
    +

    a new #GMainLoop.

    +
    source

    pub fn context(&self) -> MainContext

    Returns the MainContext of @self.

    +
    §Returns
    +

    the MainContext of @self +Returns the MainContext of @self.

    +
    §Returns

    the MainContext of @self

    -
    source

    pub fn is_running(&self) -> bool

    Checks to see if the main loop is currently being run via +

    source

    pub fn is_running(&self) -> bool

    Checks to see if the main loop is currently being run via run().

    -
    §Returns
    +
    §Returns
    +

    true if the mainloop is currently being run. +Checks to see if the main loop is currently being run via +run().

    +
    §Returns

    true if the mainloop is currently being run.

    -
    source

    pub fn quit(&self)

    Stops a MainLoop from running. Any calls to +

    source

    pub fn quit(&self)

    Stops a MainLoop from running. Any calls to +run() for the loop will return.

    +

    Note that sources that have already been dispatched when +quit() is called will still be executed. +Stops a MainLoop from running. Any calls to run() for the loop will return.

    Note that sources that have already been dispatched when quit() is called will still be executed.

    -
    source

    pub fn run(&self)

    Runs a main loop until quit() is called on the loop. +

    source

    pub fn run(&self)

    Runs a main loop until quit() is called on the loop. +If this is called for the thread of the loop’s #GMainContext, +it will process events from the loop, otherwise it will +simply wait. +Runs a main loop until quit() is called on the loop. If this is called for the thread of the loop’s #GMainContext, it will process events from the loop, otherwise it will simply wait.

    -

    Trait Implementations§

    source§

    impl Clone for MainLoop

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +

    Trait Implementations§

    source§

    impl Clone for MainLoop

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MainLoop

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<MainLoop> for Value

    source§

    fn from(s: MainLoop) -> Self

    Converts to this type from the input type.
    source§

    impl HasParamSpec for MainLoop

    source§

    type ParamSpec = ParamSpecBoxed

    source§

    type SetValue = MainLoop

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, MainLoop>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for MainLoop

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MainLoop

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<MainLoop> for Value

    source§

    fn from(s: MainLoop) -> Self

    Converts to this type from the input type.
    source§

    impl HasParamSpec for MainLoop

    source§

    type ParamSpec = ParamSpecBoxed

    source§

    type SetValue = MainLoop

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, MainLoop>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for MainLoop

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for MainLoop

    source§

    fn cmp(&self, other: &MainLoop) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for MainLoop

    source§

    fn cmp(&self, other: &MainLoop) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for MainLoop

    source§

    fn eq(&self, other: &MainLoop) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for MainLoop

    source§

    fn partial_cmp(&self, other: &MainLoop) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for MainLoop

    source§

    fn eq(&self, other: &MainLoop) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for MainLoop

    source§

    fn partial_cmp(&self, other: &MainLoop) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for MainLoop

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for MainLoop

    source§

    impl Send for MainLoop

    source§

    impl StructuralPartialEq for MainLoop

    source§

    impl Sync for MainLoop

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for MainLoop

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for MainLoop

    source§

    impl Send for MainLoop

    source§

    impl StructuralPartialEq for MainLoop

    source§

    impl Sync for MainLoop

    Auto Trait Implementations§

    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
    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 @@ -145,8 +172,8 @@
    §Returns
    T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.MarkupParseContext.html b/git/docs/glib/struct.MarkupParseContext.html index 0d3565b4ec09..0462fec18625 100644 --- a/git/docs/glib/struct.MarkupParseContext.html +++ b/git/docs/glib/struct.MarkupParseContext.html @@ -71,26 +71,42 @@ -
    glib

    Struct MarkupParseContext

    source
    pub struct MarkupParseContext { /* private fields */ }
    Expand description

    A parse context is used to parse a stream of bytes that +

    glib

    Struct MarkupParseContext

    source
    pub struct MarkupParseContext { /* private fields */ }
    Expand description

    A parse context is used to parse a stream of bytes that +you expect to contain marked-up text.

    +

    See g_markup_parse_context_new(), #GMarkupParser, and so +on for more details. +A parse context is used to parse a stream of bytes that you expect to contain marked-up text.

    See g_markup_parse_context_new(), #GMarkupParser, and so on for more details.

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl MarkupParseContext

    source

    pub fn as_ptr(&self) -> *mut GMarkupParseContext

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GMarkupParseContext) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl MarkupParseContext

    source

    pub fn end_parse(&self) -> Result<(), Error>

    Signals to the #GMarkupParseContext that all data has been +

    Implementations§

    source§

    impl MarkupParseContext

    source

    pub fn as_ptr(&self) -> *mut GMarkupParseContext

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GMarkupParseContext) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl MarkupParseContext

    source

    pub fn end_parse(&self) -> Result<(), Error>

    Signals to the #GMarkupParseContext that all data has been fed into the parse context with g_markup_parse_context_parse().

    This function reports an error if the document isn’t complete, for example if elements are still open.

    §Returns
    +

    true on success, false if an error was set +Signals to the #GMarkupParseContext that all data has been +fed into the parse context with g_markup_parse_context_parse().

    +

    This function reports an error if the document isn’t complete, +for example if elements are still open.

    +
    §Returns

    true on success, false if an error was set

    -
    source

    pub fn element(&self) -> GString

    Retrieves the name of the currently open element.

    +
    source

    pub fn element(&self) -> GString

    Retrieves the name of the currently open element.

    If called from the start_element or end_element handlers this will give the element_name as passed to those functions. For the parent elements, see g_markup_parse_context_get_element_stack().

    -
    §Returns
    +
    §Returns
    +

    the name of the currently open element, or None +Retrieves the name of the currently open element.

    +

    If called from the start_element or end_element handlers this will +give the element_name as passed to those functions. For the parent +elements, see g_markup_parse_context_get_element_stack().

    +
    §Returns

    the name of the currently open element, or None

    -
    source

    pub fn element_stack(&self) -> Vec<GString>

    Retrieves the element stack from the internal state of the parser.

    +
    source

    pub fn element_stack(&self) -> Vec<GString>

    Retrieves the element stack from the internal state of the parser.

    The returned #GSList is a list of strings where the first item is the currently open tag (as would be returned by g_markup_parse_context_get_element()) and the next item is its @@ -99,17 +115,36 @@

    §Returns
    end_element handlers where g_markup_parse_context_get_element() would merely return the name of the element that is being processed.

    -
    §Returns
    +
    §Returns
    +

    the element stack, which must not be modified +Retrieves the element stack from the internal state of the parser.

    +

    The returned #GSList is a list of strings where the first item is +the currently open tag (as would be returned by +g_markup_parse_context_get_element()) and the next item is its +immediate parent.

    +

    This function is intended to be used in the start_element and +end_element handlers where g_markup_parse_context_get_element() +would merely return the name of the element that is being +processed.

    +
    §Returns

    the element stack, which must not be modified

    -
    source

    pub fn position(&self) -> (i32, i32)

    Retrieves the current line number and the number of the character on +

    source

    pub fn position(&self) -> (i32, i32)

    Retrieves the current line number and the number of the character on that line. Intended for use in error messages; there are no strict semantics for what constitutes the “current” line number other than “the best number we could come up with for error messages.”

    -
    §Returns
    §line_number
    +
    §Returns
    §line_number

    return location for a line number, or None

    §char_number
    +

    return location for a char-on-line number, or None +Retrieves the current line number and the number of the character on +that line. Intended for use in error messages; there are no strict +semantics for what constitutes the “current” line number other than +“the best number we could come up with for error messages.”

    +
    §Returns
    §line_number
    +

    return location for a line number, or None

    +
    §char_number

    return location for a char-on-line number, or None

    -
    source

    pub fn parse(&self, text: &str) -> Result<(), Error>

    Feed some data to the #GMarkupParseContext.

    +
    source

    pub fn parse(&self, text: &str) -> Result<(), Error>

    Feed some data to the #GMarkupParseContext.

    The data need not be valid UTF-8; an error will be signaled if it’s invalid. The data need not be an entire document; you can feed a document into the parser incrementally, via multiple calls @@ -122,20 +157,35 @@

    §text

    chunk of text to parse

    §text_len

    length of @text in bytes

    -
    §Returns
    +
    §Returns
    +

    false if an error occurred, true on success +Feed some data to the #GMarkupParseContext.

    +

    The data need not be valid UTF-8; an error will be signaled if +it’s invalid. The data need not be an entire document; you can +feed a document into the parser incrementally, via multiple calls +to this function. Typically, as you receive data from a network +connection or file, you feed each received chunk of data into this +function, aborting the process if an error occurs. Once an error +is reported, no further data may be fed to the #GMarkupParseContext; +all errors are fatal.

    +
    §text
    +

    chunk of text to parse

    +
    §text_len
    +

    length of @text in bytes

    +
    §Returns

    false if an error occurred, true on success

    -

    Trait Implementations§

    source§

    impl Clone for MarkupParseContext

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +

    Trait Implementations§

    source§

    impl Clone for MarkupParseContext

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MarkupParseContext

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<MarkupParseContext> for Value

    source§

    fn from(s: MarkupParseContext) -> Self

    Converts to this type from the input type.
    source§

    impl HasParamSpec for MarkupParseContext

    source§

    type ParamSpec = ParamSpecBoxed

    source§

    type SetValue = MarkupParseContext

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, MarkupParseContext>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for MarkupParseContext

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MarkupParseContext

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<MarkupParseContext> for Value

    source§

    fn from(s: MarkupParseContext) -> Self

    Converts to this type from the input type.
    source§

    impl HasParamSpec for MarkupParseContext

    source§

    type ParamSpec = ParamSpecBoxed

    source§

    type SetValue = MarkupParseContext

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, MarkupParseContext>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for MarkupParseContext

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for MarkupParseContext

    source§

    fn cmp(&self, other: &MarkupParseContext) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for MarkupParseContext

    source§

    fn cmp(&self, other: &MarkupParseContext) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for MarkupParseContext

    source§

    fn eq(&self, other: &MarkupParseContext) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for MarkupParseContext

    source§

    fn partial_cmp(&self, other: &MarkupParseContext) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for MarkupParseContext

    source§

    fn eq(&self, other: &MarkupParseContext) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for MarkupParseContext

    source§

    fn partial_cmp(&self, other: &MarkupParseContext) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for MarkupParseContext

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for MarkupParseContext

    source§

    impl StructuralPartialEq for MarkupParseContext

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for MarkupParseContext

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for MarkupParseContext

    source§

    impl StructuralPartialEq for MarkupParseContext

    Auto Trait Implementations§

    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
    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 diff --git a/git/docs/glib/struct.OptionFlags.html b/git/docs/glib/struct.OptionFlags.html index 80df06182c1f..6964081a4006 100644 --- a/git/docs/glib/struct.OptionFlags.html +++ b/git/docs/glib/struct.OptionFlags.html @@ -1,4 +1,4 @@ -OptionFlags in glib - Rust +OptionFlags in glib - Rust -
    glib

    Struct OptionFlags

    source
    pub struct OptionFlags(/* private fields */);
    Expand description

    Flags which modify individual options.

    -

    Implementations§

    source§

    impl OptionFlags

    source

    pub const NONE: Self = _

    No flags. Since: 2.42.

    -
    source

    pub const HIDDEN: Self = _

    The option doesn’t appear in --help output.

    -
    source

    pub const IN_MAIN: Self = _

    The option appears in the main section of the +

    glib

    Struct OptionFlags

    source
    pub struct OptionFlags(/* private fields */);
    Expand description

    Flags which modify individual options. +Flags which modify individual options.

    +

    Implementations§

    source§

    impl OptionFlags

    source

    pub const NONE: Self = _

    No flags. Since: 2.42. +No flags. Since: 2.42.

    +
    source

    pub const HIDDEN: Self = _

    The option doesn’t appear in --help output. +The option doesn’t appear in --help output.

    +
    source

    pub const IN_MAIN: Self = _

    The option appears in the main section of the +--help output, even if it is defined in a group. +The option appears in the main section of the --help output, even if it is defined in a group.

    -
    source

    pub const REVERSE: Self = _

    For options of the OptionArg::None kind, this +

    source

    pub const REVERSE: Self = _

    For options of the OptionArg::None kind, this +flag indicates that the sense of the option is reversed. i.e. false will +be stored into the argument rather than true. +For options of the OptionArg::None kind, this flag indicates that the sense of the option is reversed. i.e. false will be stored into the argument rather than true.

    -
    source

    pub const NO_ARG: Self = _

    For options of the OptionArg::Callback kind, +

    source

    pub const NO_ARG: Self = _

    For options of the OptionArg::Callback kind, +this flag indicates that the callback does not take any argument +(like a OptionArg::None option). Since 2.8 +For options of the OptionArg::Callback kind, this flag indicates that the callback does not take any argument (like a OptionArg::None option). Since 2.8

    -
    source

    pub const FILENAME: Self = _

    For options of the OptionArg::Callback +

    source

    pub const FILENAME: Self = _

    For options of the OptionArg::Callback +kind, this flag indicates that the argument should be passed to the +callback in the GLib filename encoding rather than UTF-8. Since 2.8 +For options of the OptionArg::Callback kind, this flag indicates that the argument should be passed to the callback in the GLib filename encoding rather than UTF-8. Since 2.8

    -
    source

    pub const OPTIONAL_ARG: Self = _

    For options of the OptionArg::Callback +

    source

    pub const OPTIONAL_ARG: Self = _

    For options of the OptionArg::Callback +kind, this flag indicates that the argument supply is optional. +If no argument is given then data of GOptionParseFunc will be +set to NULL. Since 2.8 +For options of the OptionArg::Callback kind, this flag indicates that the argument supply is optional. If no argument is given then data of GOptionParseFunc will be set to NULL. Since 2.8

    -
    source

    pub const NOALIAS: Self = _

    This flag turns off the automatic conflict +

    source

    pub const NOALIAS: Self = _

    This flag turns off the automatic conflict +resolution which prefixes long option names with groupname- if +there is a conflict. This option should only be used in situations +where aliasing is necessary to model some legacy commandline interface. +It is not safe to use this option, unless all option groups are under +your direct control. Since 2.8. +This flag turns off the automatic conflict resolution which prefixes long option names with groupname- if there is a conflict. This option should only be used in situations where aliasing is necessary to model some legacy commandline interface. It is not safe to use this option, unless all option groups are under your direct control. Since 2.8.

    -
    source§

    impl OptionFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    -
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    -
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    +
    source§

    impl OptionFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    +
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    +
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    The returned value is exactly the bits set in this flags value.

    -
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    +
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    This method will return None if any unknown bits are set.

    -
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    -
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    -
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    +
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    +
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    +
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    This method will return None if name is empty or doesn’t correspond to any named flag.

    -
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    -
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    -
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    -
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    -
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    +
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    +
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    +
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    +
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

    -
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    -
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    +
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    impl OptionFlags

    source

    pub const fn iter(&self) -> Iter<OptionFlags>

    Yield a set of contained flags values.

    +
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    impl OptionFlags

    source

    pub const fn iter(&self) -> Iter<OptionFlags>

    Yield a set of contained flags values.

    Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.

    -
    source

    pub const fn iter_names(&self) -> IterNames<OptionFlags>

    Yield a set of contained named flags values.

    +
    source

    pub const fn iter_names(&self) -> IterNames<OptionFlags>

    Yield a set of contained named flags values.

    This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

    -

    Trait Implementations§

    source§

    impl Binary for OptionFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for OptionFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    type Output = OptionFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for OptionFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    impl BitOr for OptionFlags

    source§

    fn bitor(self, other: OptionFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    type Output = OptionFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for OptionFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    impl BitXor for OptionFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    type Output = OptionFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for OptionFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    impl Clone for OptionFlags

    source§

    fn clone(&self) -> OptionFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OptionFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<OptionFlags> for OptionFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    -
    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
    source§

    impl Flags for OptionFlags

    source§

    const FLAGS: &'static [Flag<OptionFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> OptionFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where +

    Trait Implementations§

    source§

    impl Binary for OptionFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for OptionFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    type Output = OptionFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for OptionFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    impl BitOr for OptionFlags

    source§

    fn bitor(self, other: OptionFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    type Output = OptionFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for OptionFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    impl BitXor for OptionFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    type Output = OptionFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for OptionFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    impl Clone for OptionFlags

    source§

    fn clone(&self) -> OptionFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OptionFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<OptionFlags> for OptionFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    +
    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
    source§

    impl Flags for OptionFlags

    source§

    const FLAGS: &'static [Flag<OptionFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> OptionFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> bool
    where Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)
    where Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)
    where Self: Sized,

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn toggle(&mut self, other: Self)
    where Self: Sized,

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn set(&mut self, other: Self, value: bool)
    where - Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<OptionFlags> for OptionFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    impl Hash for OptionFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<OptionFlags> for OptionFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    +
    source§

    impl Hash for OptionFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for OptionFlags

    source§

    type Item = OptionFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<OptionFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for OptionFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for OptionFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    type Output = OptionFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for OptionFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for OptionFlags

    source§

    fn eq(&self, other: &OptionFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PublicFlags for OptionFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for OptionFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for OptionFlags

    source§

    type Item = OptionFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<OptionFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for OptionFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for OptionFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    type Output = OptionFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for OptionFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for OptionFlags

    source§

    fn eq(&self, other: &OptionFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PublicFlags for OptionFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for OptionFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    type Output = OptionFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for OptionFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source§

    type Output = OptionFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for OptionFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    impl UpperHex for OptionFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for OptionFlags

    source§

    impl Eq for OptionFlags

    source§

    impl StructuralPartialEq for OptionFlags

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    source§

    impl UpperHex for OptionFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for OptionFlags

    source§

    impl Eq for OptionFlags

    source§

    impl StructuralPartialEq for OptionFlags

    Auto Trait Implementations§

    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
    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 diff --git a/git/docs/glib/struct.ParamFlags.html b/git/docs/glib/struct.ParamFlags.html index f48dda6216b6..20ebe5caab53 100644 --- a/git/docs/glib/struct.ParamFlags.html +++ b/git/docs/glib/struct.ParamFlags.html @@ -71,83 +71,101 @@ -
    glib

    Struct ParamFlags

    source
    pub struct ParamFlags(/* private fields */);
    Expand description

    Through the ParamFlags flag values, certain aspects of parameters +

    glib

    Struct ParamFlags

    source
    pub struct ParamFlags(/* private fields */);
    Expand description

    Through the ParamFlags flag values, certain aspects of parameters +can be configured.

    +

    See also: G_PARAM_STATIC_STRINGS +Through the ParamFlags flag values, certain aspects of parameters can be configured.

    See also: G_PARAM_STATIC_STRINGS

    -

    Implementations§

    source§

    impl ParamFlags

    source

    pub const READABLE: Self = _

    the parameter is readable

    -
    source

    pub const WRITABLE: Self = _

    the parameter is writable

    -
    source

    pub const READWRITE: Self = _

    alias for READABLE | WRITABLE

    -
    source

    pub const CONSTRUCT: Self = _

    the parameter will be set upon object construction

    -
    source

    pub const CONSTRUCT_ONLY: Self = _

    the parameter can only be set upon object construction

    -
    source

    pub const LAX_VALIDATION: Self = _

    upon parameter conversion (see g_param_value_convert()) +

    Implementations§

    source§

    impl ParamFlags

    source

    pub const READABLE: Self = _

    the parameter is readable +the parameter is readable

    +
    source

    pub const WRITABLE: Self = _

    the parameter is writable +the parameter is writable

    +
    source

    pub const READWRITE: Self = _

    alias for READABLE | WRITABLE +alias for READABLE | WRITABLE

    +
    source

    pub const CONSTRUCT: Self = _

    the parameter will be set upon object construction +the parameter will be set upon object construction

    +
    source

    pub const CONSTRUCT_ONLY: Self = _

    the parameter can only be set upon object construction +the parameter can only be set upon object construction

    +
    source

    pub const LAX_VALIDATION: Self = _

    upon parameter conversion (see g_param_value_convert()) +strict validation is not required +upon parameter conversion (see g_param_value_convert()) strict validation is not required

    -
    source

    pub const USER_0: Self = _

    source

    pub const USER_1: Self = _

    source

    pub const USER_2: Self = _

    source

    pub const USER_3: Self = _

    source

    pub const USER_4: Self = _

    source

    pub const USER_5: Self = _

    source

    pub const USER_6: Self = _

    source

    pub const USER_7: Self = _

    source

    pub const USER_8: Self = _

    source

    pub const EXPLICIT_NOTIFY: Self = _

    calls to ObjectExt::set_property() for this +

    source

    pub const USER_0: Self = _

    source

    pub const USER_1: Self = _

    source

    pub const USER_2: Self = _

    source

    pub const USER_3: Self = _

    source

    pub const USER_4: Self = _

    source

    pub const USER_5: Self = _

    source

    pub const USER_6: Self = _

    source

    pub const USER_7: Self = _

    source

    pub const USER_8: Self = _

    source

    pub const EXPLICIT_NOTIFY: Self = _

    calls to ObjectExt::set_property() for this +property will not automatically result in a “notify” signal being +emitted: the implementation must call ObjectExt::notify() themselves +in case the property actually changes. Since: 2.42. +calls to ObjectExt::set_property() for this property will not automatically result in a “notify” signal being emitted: the implementation must call ObjectExt::notify() themselves in case the property actually changes. Since: 2.42.

    -
    source

    pub const DEPRECATED: Self = _

    the parameter is deprecated and will be removed +

    source

    pub const DEPRECATED: Self = _

    the parameter is deprecated and will be removed +in a future version. A warning will be generated if it is used +while running with G_ENABLE_DIAGNOSTIC=1. +Since 2.26 +the parameter is deprecated and will be removed in a future version. A warning will be generated if it is used while running with G_ENABLE_DIAGNOSTIC=1. Since 2.26

    -
    source§

    impl ParamFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    -
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    -
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    +
    source§

    impl ParamFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    +
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    +
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    The returned value is exactly the bits set in this flags value.

    -
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    +
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    This method will return None if any unknown bits are set.

    -
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    -
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    -
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    +
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    +
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    +
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    This method will return None if name is empty or doesn’t correspond to any named flag.

    -
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    -
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    -
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    -
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    -
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    +
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    +
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    +
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    +
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

    -
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    -
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    +
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    impl ParamFlags

    source

    pub const fn iter(&self) -> Iter<ParamFlags>

    Yield a set of contained flags values.

    +
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    impl ParamFlags

    source

    pub const fn iter(&self) -> Iter<ParamFlags>

    Yield a set of contained flags values.

    Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.

    -
    source

    pub const fn iter_names(&self) -> IterNames<ParamFlags>

    Yield a set of contained named flags values.

    +
    source

    pub const fn iter_names(&self) -> IterNames<ParamFlags>

    Yield a set of contained named flags values.

    This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

    -

    Trait Implementations§

    source§

    impl Binary for ParamFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for ParamFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    type Output = ParamFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for ParamFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    impl BitOr for ParamFlags

    source§

    fn bitor(self, other: ParamFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    type Output = ParamFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for ParamFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    impl BitXor for ParamFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    type Output = ParamFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for ParamFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    impl Clone for ParamFlags

    source§

    fn clone(&self) -> ParamFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for ParamFlags

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Extend<ParamFlags> for ParamFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    -
    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
    source§

    impl Flags for ParamFlags

    source§

    const FLAGS: &'static [Flag<ParamFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> ParamFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where +

    Trait Implementations§

    source§

    impl Binary for ParamFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for ParamFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    type Output = ParamFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for ParamFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    impl BitOr for ParamFlags

    source§

    fn bitor(self, other: ParamFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    type Output = ParamFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for ParamFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    impl BitXor for ParamFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    type Output = ParamFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for ParamFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    impl Clone for ParamFlags

    source§

    fn clone(&self) -> ParamFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for ParamFlags

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Extend<ParamFlags> for ParamFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    +
    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
    source§

    impl Flags for ParamFlags

    source§

    const FLAGS: &'static [Flag<ParamFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> ParamFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> bool
    where Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)
    where Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)
    where Self: Sized,

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn toggle(&mut self, other: Self)
    where Self: Sized,

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn set(&mut self, other: Self, value: bool)
    where - Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<ParamFlags> for ParamFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    impl Hash for ParamFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<ParamFlags> for ParamFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    +
    source§

    impl Hash for ParamFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for ParamFlags

    source§

    type Item = ParamFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<ParamFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for ParamFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for ParamFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    type Output = ParamFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for ParamFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for ParamFlags

    source§

    fn eq(&self, other: &ParamFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PublicFlags for ParamFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for ParamFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for ParamFlags

    source§

    type Item = ParamFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<ParamFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for ParamFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for ParamFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    type Output = ParamFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for ParamFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for ParamFlags

    source§

    fn eq(&self, other: &ParamFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PublicFlags for ParamFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for ParamFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    type Output = ParamFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for ParamFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source§

    type Output = ParamFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for ParamFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    impl UpperHex for ParamFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for ParamFlags

    source§

    impl Eq for ParamFlags

    source§

    impl StructuralPartialEq for ParamFlags

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    source§

    impl UpperHex for ParamFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for ParamFlags

    source§

    impl Eq for ParamFlags

    source§

    impl StructuralPartialEq for ParamFlags

    Auto Trait Implementations§

    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
    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 diff --git a/git/docs/glib/struct.ParamSpec.html b/git/docs/glib/struct.ParamSpec.html index 74fa919b46ea..e67eb9ea94da 100644 --- a/git/docs/glib/struct.ParamSpec.html +++ b/git/docs/glib/struct.ParamSpec.html @@ -1,4 +1,4 @@ -ParamSpec in glib - Rust +ParamSpec in glib - Rust -
    glib

    Struct ParamSpec

    source
    pub struct ParamSpec { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl ParamSpec

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpec) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl ParamSpec

    source

    pub fn downcast<T: ParamSpecType>(self) -> Result<T, ParamSpec>

    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    source

    pub fn default_value(&self) -> &Value

    source

    pub fn name<'a>(&self) -> &'a str

    source

    pub fn name_quark(&self) -> Quark

    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    +
    glib

    Struct ParamSpec

    source
    pub struct ParamSpec { /* private fields */ }
    Expand description

    GParamSpec encapsulates the metadata required to specify parameters, such as GObject properties.

    +

    §Parameter names

    +

    A property name consists of one or more segments consisting of ASCII letters +and digits, separated by either the - or _ character. The first +character of a property name must be a letter. These are the same rules as +for signal naming (see [funcObject]).

    +

    When creating and looking up a GParamSpec, either separator can be +used, but they cannot be mixed. Using - is considerably more +efficient, and is the ‘canonical form’. Using _ is discouraged.

    +

    This is an Abstract Base Class, you cannot instantiate it. +GParamSpec encapsulates the metadata required to specify parameters, such as GObject properties.

    +

    §Parameter names

    +

    A property name consists of one or more segments consisting of ASCII letters +and digits, separated by either the - or _ character. The first +character of a property name must be a letter. These are the same rules as +for signal naming (see [funcObject]).

    +

    When creating and looking up a GParamSpec, either separator can be +used, but they cannot be mixed. Using - is considerably more +efficient, and is the ‘canonical form’. Using _ is discouraged.

    +

    This is an Abstract Base Class, you cannot instantiate it.

    +

    GLib type: Shared boxed type with reference counted clone semantics.

    +

    Implementations§

    source§

    impl ParamSpec

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpec) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl ParamSpec

    source

    pub fn downcast<T: ParamSpecType>(self) -> Result<T, ParamSpec>

    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self. +Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self.

    +
    source

    pub fn default_value(&self) -> &Value

    Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified +Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified

    +
    source

    pub fn name<'a>(&self) -> &'a str

    Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self. +Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self.

    +
    source

    pub fn name_quark(&self) -> Quark

    Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name. +Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name.

    +
    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    If this ParamSpec does not have a nickname, the nickname of its redirect target is returned if it has one. -Otherwise, self.name() is returned.

    -
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    source

    pub fn is_valid_name(name: &str) -> bool

    Available on crate feature v2_66 only.

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpec

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecBoolean

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecBoxed

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecChar

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecDouble

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecEnum

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecFlags

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecFloat

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecGType

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecInt

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecInt64

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecLong

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecObject

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecOverride

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecParam

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecPointer

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecString

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecUChar

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecUInt

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecUInt64

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecULong

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecUnichar

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecValueArray

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecVariant

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpec

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +Otherwise, self.name() is returned. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self.

    +
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none. +If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none.

    +
    source

    pub fn is_valid_name(name: &str) -> bool

    Available on crate feature v2_66 only.

    Validate a property name for a ParamSpec. This can be useful for +dynamically-generated properties which need to be validated at run-time +before actually trying to create them.

    +

    See [canonical parameter names][classObjectparameter-names] +for details of the rules for valid names.

    +
    §name
    +

    the canonical name of the property

    +
    §Returns
    +

    true if name is a valid property name, false otherwise. +Validate a property name for a ParamSpec. This can be useful for +dynamically-generated properties which need to be validated at run-time +before actually trying to create them.

    +

    See [canonical parameter names][classObjectparameter-names] +for details of the rules for valid names.

    +
    §name
    +

    the canonical name of the property

    +
    §Returns
    +

    true if name is a valid property name, false otherwise.

    +

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpec

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecBoolean

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecBoxed

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecChar

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecDouble

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecEnum

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecFlags

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecFloat

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecGType

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecInt

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecInt64

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecLong

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecObject

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecOverride

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecParam

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecPointer

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecString

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecUChar

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecUInt

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecUInt64

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecULong

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecUnichar

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecValueArray

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl AsRef<ParamSpec> for ParamSpecVariant

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpec

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpec

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for ParamSpec

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpec

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for ParamSpec

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpec

    source§

    fn cmp(&self, other: &ParamSpec) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpec

    source§

    fn cmp(&self, other: &ParamSpec) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpec

    source§

    fn eq(&self, other: &ParamSpec) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpec

    source§

    fn partial_cmp(&self, other: &ParamSpec) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpec

    source§

    fn eq(&self, other: &ParamSpec) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpec

    source§

    fn partial_cmp(&self, other: &ParamSpec) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for ParamSpec

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpec

    source§

    impl Send for ParamSpec

    source§

    impl StructuralPartialEq for ParamSpec

    source§

    impl Sync for ParamSpec

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for ParamSpec

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpec

    source§

    impl Send for ParamSpec

    source§

    impl StructuralPartialEq for ParamSpec

    source§

    impl Sync for ParamSpec

    Auto Trait Implementations§

    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
    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 @@ -118,8 +212,8 @@

    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.ParamSpecBoolean.html b/git/docs/glib/struct.ParamSpecBoolean.html index 187a0e816e6e..dfdc4b1e0a95 100644 --- a/git/docs/glib/struct.ParamSpecBoolean.html +++ b/git/docs/glib/struct.ParamSpecBoolean.html @@ -71,25 +71,81 @@ -
    glib

    Struct ParamSpecBoolean

    source
    pub struct ParamSpecBoolean { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl ParamSpecBoolean

    source

    pub fn as_ptr(&self) -> *mut GParamSpecBoolean

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecBoolean) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl ParamSpecBoolean

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecBoolean

    source

    pub fn default_value(&self) -> bool

    source§

    impl ParamSpecBoolean

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    -
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    source

    pub fn default_value(&self) -> &Value

    source

    pub fn name<'a>(&self) -> &'a str

    source

    pub fn name_quark(&self) -> Quark

    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    +
    glib

    Struct ParamSpecBoolean

    source
    pub struct ParamSpecBoolean { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    +

    Implementations§

    source§

    impl ParamSpecBoolean

    source

    pub fn as_ptr(&self) -> *mut GParamSpecBoolean

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecBoolean) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl ParamSpecBoolean

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecBoolean

    source

    pub fn default_value(&self) -> bool

    source§

    impl ParamSpecBoolean

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    +
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self. +Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self.

    +
    source

    pub fn default_value(&self) -> &Value

    Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified +Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified

    +
    source

    pub fn name<'a>(&self) -> &'a str

    Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self. +Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self.

    +
    source

    pub fn name_quark(&self) -> Quark

    Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name. +Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name.

    +
    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    If this ParamSpec does not have a nickname, the nickname of its redirect target is returned if it has one. -Otherwise, self.name() is returned.

    -
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecBoolean

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecBoolean

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +Otherwise, self.name() is returned. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self.

    +
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none. +If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none.

    +

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecBoolean

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecBoolean

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecBoolean

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecBoolean

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecBoolean

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecBoolean

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecBoolean

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecBoolean

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecBoolean

    source§

    fn cmp(&self, other: &ParamSpecBoolean) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecBoolean

    source§

    fn cmp(&self, other: &ParamSpecBoolean) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecBoolean

    source§

    fn eq(&self, other: &ParamSpecBoolean) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecBoolean

    source§

    fn partial_cmp(&self, other: &ParamSpecBoolean) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecBoolean

    source§

    fn eq(&self, other: &ParamSpecBoolean) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecBoolean

    source§

    fn partial_cmp(&self, other: &ParamSpecBoolean) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for ParamSpecBoolean

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecBoolean

    source§

    impl ParamSpecType for ParamSpecBoolean

    source§

    impl Send for ParamSpecBoolean

    source§

    impl StructuralPartialEq for ParamSpecBoolean

    source§

    impl Sync for ParamSpecBoolean

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for ParamSpecBoolean

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecBoolean

    source§

    impl ParamSpecType for ParamSpecBoolean

    source§

    impl Send for ParamSpecBoolean

    source§

    impl StructuralPartialEq for ParamSpecBoolean

    source§

    impl Sync for ParamSpecBoolean

    Auto Trait Implementations§

    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
    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 @@ -119,8 +175,8 @@

    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.ParamSpecBooleanBuilder.html b/git/docs/glib/struct.ParamSpecBooleanBuilder.html index ebf12adac348..64086c1dc79f 100644 --- a/git/docs/glib/struct.ParamSpecBooleanBuilder.html +++ b/git/docs/glib/struct.ParamSpecBooleanBuilder.html @@ -71,9 +71,9 @@ -
    glib

    Struct ParamSpecBooleanBuilder

    source
    pub struct ParamSpecBooleanBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecBooleanBuilder<'a>

    source

    pub fn default_value(self, value: bool) -> Self

    Default: false

    -
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecBooleanBuilder<'a>

    source§

    fn default() -> ParamSpecBooleanBuilder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecBooleanBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. -Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +
    glib

    Struct ParamSpecBooleanBuilder

    source
    pub struct ParamSpecBooleanBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecBooleanBuilder<'a>

    source

    pub fn default_value(self, value: bool) -> Self

    Default: false

    +
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecBooleanBuilder<'a>

    source§

    fn default() -> ParamSpecBooleanBuilder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecBooleanBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. +Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    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
    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> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/git/docs/glib/struct.ParamSpecBoxed.html b/git/docs/glib/struct.ParamSpecBoxed.html index a3da353d9e97..b7889cf8c84b 100644 --- a/git/docs/glib/struct.ParamSpecBoxed.html +++ b/git/docs/glib/struct.ParamSpecBoxed.html @@ -1,4 +1,4 @@ -ParamSpecBoxed in glib - Rust +ParamSpecBoxed in glib - Rust -
    glib

    Struct ParamSpecBoxed

    source
    pub struct ParamSpecBoxed { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl ParamSpecBoxed

    source

    pub fn as_ptr(&self) -> *mut GParamSpecBoxed

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecBoxed) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl ParamSpecBoxed

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecBoxed

    source

    pub fn builder<T: StaticType>(name: &str) -> ParamSpecBoxedBuilder<'_, T>

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    -
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    source

    pub fn default_value(&self) -> &Value

    source

    pub fn name<'a>(&self) -> &'a str

    source

    pub fn name_quark(&self) -> Quark

    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    +
    glib

    Struct ParamSpecBoxed

    source
    pub struct ParamSpecBoxed { /* private fields */ }
    Expand description

    A ParamSpec derived structure that contains the meta data for boxed properties. +A ParamSpec derived structure that contains the meta data for boxed properties.

    +

    GLib type: Shared boxed type with reference counted clone semantics.

    +

    Implementations§

    source§

    impl ParamSpecBoxed

    source

    pub fn as_ptr(&self) -> *mut GParamSpecBoxed

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecBoxed) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl ParamSpecBoxed

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecBoxed

    source

    pub fn builder<T: StaticType>(name: &str) -> ParamSpecBoxedBuilder<'_, T>

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    +
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self. +Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self.

    +
    source

    pub fn default_value(&self) -> &Value

    Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified +Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified

    +
    source

    pub fn name<'a>(&self) -> &'a str

    Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self. +Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self.

    +
    source

    pub fn name_quark(&self) -> Quark

    Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name. +Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name.

    +
    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    If this ParamSpec does not have a nickname, the nickname of its redirect target is returned if it has one. -Otherwise, self.name() is returned.

    -
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecBoxed

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecBoxed

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +Otherwise, self.name() is returned. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self.

    +
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none. +If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none.

    +

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecBoxed

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecBoxed

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecBoxed

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecBoxed

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecBoxed

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecBoxed

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecBoxed

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecBoxed

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecBoxed

    source§

    fn cmp(&self, other: &ParamSpecBoxed) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecBoxed

    source§

    fn cmp(&self, other: &ParamSpecBoxed) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecBoxed

    source§

    fn eq(&self, other: &ParamSpecBoxed) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecBoxed

    source§

    fn partial_cmp(&self, other: &ParamSpecBoxed) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more

    source§

    impl PartialEq for ParamSpecBoxed

    source§

    fn eq(&self, other: &ParamSpecBoxed) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecBoxed

    source§

    fn partial_cmp(&self, other: &ParamSpecBoxed) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for ParamSpecBoxed

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecBoxed

    source§

    impl ParamSpecType for ParamSpecBoxed

    source§

    impl Send for ParamSpecBoxed

    source§

    impl StructuralPartialEq for ParamSpecBoxed

    source§

    impl Sync for ParamSpecBoxed

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for ParamSpecBoxed

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecBoxed

    source§

    impl ParamSpecType for ParamSpecBoxed

    source§

    impl Send for ParamSpecBoxed

    source§

    impl StructuralPartialEq for ParamSpecBoxed

    source§

    impl Sync for ParamSpecBoxed

    Auto Trait Implementations§

    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
    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 @@ -119,8 +177,8 @@

    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.ParamSpecBoxedBuilder.html b/git/docs/glib/struct.ParamSpecBoxedBuilder.html index 682403c3100b..c0996ffda635 100644 --- a/git/docs/glib/struct.ParamSpecBoxedBuilder.html +++ b/git/docs/glib/struct.ParamSpecBoxedBuilder.html @@ -71,8 +71,8 @@ -
    glib

    Struct ParamSpecBoxedBuilder

    source
    pub struct ParamSpecBoxedBuilder<'a, T: StaticType> { /* private fields */ }

    Implementations§

    Trait Implementations§

    source§

    impl<'a, T: StaticType> ParamSpecBuilderExt<'a> for ParamSpecBoxedBuilder<'a, T>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. -Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    §

    impl<'a, T> Freeze for ParamSpecBoxedBuilder<'a, T>

    §

    impl<'a, T> RefUnwindSafe for ParamSpecBoxedBuilder<'a, T>
    where +
    glib

    Struct ParamSpecBoxedBuilder

    source
    pub struct ParamSpecBoxedBuilder<'a, T: StaticType> { /* private fields */ }

    Implementations§

    Trait Implementations§

    source§

    impl<'a, T: StaticType> ParamSpecBuilderExt<'a> for ParamSpecBoxedBuilder<'a, T>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. +Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    §

    impl<'a, T> Freeze for ParamSpecBoxedBuilder<'a, T>

    §

    impl<'a, T> RefUnwindSafe for ParamSpecBoxedBuilder<'a, T>
    where T: RefUnwindSafe,

    §

    impl<'a, T> Send for ParamSpecBoxedBuilder<'a, T>
    where T: Send,

    §

    impl<'a, T> Sync for ParamSpecBoxedBuilder<'a, T>
    where T: Sync,

    §

    impl<'a, T> Unpin for ParamSpecBoxedBuilder<'a, T>
    where diff --git a/git/docs/glib/struct.ParamSpecChar.html b/git/docs/glib/struct.ParamSpecChar.html index 293200bff3a0..0cc0249b3e12 100644 --- a/git/docs/glib/struct.ParamSpecChar.html +++ b/git/docs/glib/struct.ParamSpecChar.html @@ -71,25 +71,81 @@ -
    glib

    Struct ParamSpecChar

    source
    pub struct ParamSpecChar { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl ParamSpecChar

    source

    pub fn as_ptr(&self) -> *mut GParamSpecChar

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecChar) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl ParamSpecChar

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecChar

    source

    pub fn default_value(&self) -> i8

    source§

    impl ParamSpecChar

    source

    pub fn minimum(&self) -> i8

    source

    pub fn maximum(&self) -> i8

    source§

    impl ParamSpecChar

    source

    pub fn builder(name: &str) -> ParamSpecCharBuilder<'_>

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    -
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    source

    pub fn default_value(&self) -> &Value

    source

    pub fn name<'a>(&self) -> &'a str

    source

    pub fn name_quark(&self) -> Quark

    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    +
    glib

    Struct ParamSpecChar

    source
    pub struct ParamSpecChar { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    +

    Implementations§

    source§

    impl ParamSpecChar

    source

    pub fn as_ptr(&self) -> *mut GParamSpecChar

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecChar) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl ParamSpecChar

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecChar

    source

    pub fn default_value(&self) -> i8

    source§

    impl ParamSpecChar

    source

    pub fn minimum(&self) -> i8

    source

    pub fn maximum(&self) -> i8

    source§

    impl ParamSpecChar

    source

    pub fn builder(name: &str) -> ParamSpecCharBuilder<'_>

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    +
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self. +Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self.

    +
    source

    pub fn default_value(&self) -> &Value

    Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified +Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified

    +
    source

    pub fn name<'a>(&self) -> &'a str

    Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self. +Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self.

    +
    source

    pub fn name_quark(&self) -> Quark

    Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name. +Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name.

    +
    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    If this ParamSpec does not have a nickname, the nickname of its redirect target is returned if it has one. -Otherwise, self.name() is returned.

    -
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecChar

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecChar

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +Otherwise, self.name() is returned. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self.

    +
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none. +If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none.

    +

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecChar

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecChar

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecChar

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecChar

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecChar

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecChar

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecChar

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecChar

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecChar

    source§

    fn cmp(&self, other: &ParamSpecChar) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecChar

    source§

    fn cmp(&self, other: &ParamSpecChar) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecChar

    source§

    fn eq(&self, other: &ParamSpecChar) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecChar

    source§

    fn partial_cmp(&self, other: &ParamSpecChar) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecChar

    source§

    fn eq(&self, other: &ParamSpecChar) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecChar

    source§

    fn partial_cmp(&self, other: &ParamSpecChar) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for ParamSpecChar

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecChar

    source§

    impl ParamSpecType for ParamSpecChar

    source§

    impl Send for ParamSpecChar

    source§

    impl StructuralPartialEq for ParamSpecChar

    source§

    impl Sync for ParamSpecChar

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for ParamSpecChar

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecChar

    source§

    impl ParamSpecType for ParamSpecChar

    source§

    impl Send for ParamSpecChar

    source§

    impl StructuralPartialEq for ParamSpecChar

    source§

    impl Sync for ParamSpecChar

    Auto Trait Implementations§

    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
    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 @@ -119,8 +175,8 @@

    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.ParamSpecCharBuilder.html b/git/docs/glib/struct.ParamSpecCharBuilder.html index f4810e2518c1..53510ee85714 100644 --- a/git/docs/glib/struct.ParamSpecCharBuilder.html +++ b/git/docs/glib/struct.ParamSpecCharBuilder.html @@ -71,11 +71,11 @@ -
    glib

    Struct ParamSpecCharBuilder

    source
    pub struct ParamSpecCharBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecCharBuilder<'a>

    source

    pub fn minimum(self, value: i8) -> Self

    Default: < i8 > :: MIN

    -
    source

    pub fn maximum(self, value: i8) -> Self

    Default: < i8 > :: MAX

    -
    source

    pub fn default_value(self, value: i8) -> Self

    Default: < i8 as Default > :: default()

    -
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecCharBuilder<'a>

    source§

    fn default() -> ParamSpecCharBuilder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecCharBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. -Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +
    glib

    Struct ParamSpecCharBuilder

    source
    pub struct ParamSpecCharBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecCharBuilder<'a>

    source

    pub fn minimum(self, value: i8) -> Self

    Default: < i8 > :: MIN

    +
    source

    pub fn maximum(self, value: i8) -> Self

    Default: < i8 > :: MAX

    +
    source

    pub fn default_value(self, value: i8) -> Self

    Default: < i8 as Default > :: default()

    +
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecCharBuilder<'a>

    source§

    fn default() -> ParamSpecCharBuilder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecCharBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. +Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    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
    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> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/git/docs/glib/struct.ParamSpecDouble.html b/git/docs/glib/struct.ParamSpecDouble.html index 605d7154666c..ca91b3e480ce 100644 --- a/git/docs/glib/struct.ParamSpecDouble.html +++ b/git/docs/glib/struct.ParamSpecDouble.html @@ -1,4 +1,4 @@ -ParamSpecDouble in glib - Rust +ParamSpecDouble in glib - Rust -
    glib

    Struct ParamSpecDouble

    source
    pub struct ParamSpecDouble { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl ParamSpecDouble

    source

    pub fn as_ptr(&self) -> *mut GParamSpecDouble

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecDouble) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl ParamSpecDouble

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecDouble

    source

    pub fn default_value(&self) -> f64

    source§

    impl ParamSpecDouble

    source

    pub fn minimum(&self) -> f64

    source

    pub fn maximum(&self) -> f64

    source§

    impl ParamSpecDouble

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    -
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    source

    pub fn default_value(&self) -> &Value

    source

    pub fn name<'a>(&self) -> &'a str

    source

    pub fn name_quark(&self) -> Quark

    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    +
    glib

    Struct ParamSpecDouble

    source
    pub struct ParamSpecDouble { /* private fields */ }
    Expand description

    A ParamSpec derived structure that contains the meta data for double properties. +A ParamSpec derived structure that contains the meta data for double properties.

    +

    GLib type: Shared boxed type with reference counted clone semantics.

    +

    Implementations§

    source§

    impl ParamSpecDouble

    source

    pub fn as_ptr(&self) -> *mut GParamSpecDouble

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecDouble) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl ParamSpecDouble

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecDouble

    source

    pub fn default_value(&self) -> f64

    source§

    impl ParamSpecDouble

    source

    pub fn minimum(&self) -> f64

    source

    pub fn maximum(&self) -> f64

    source§

    impl ParamSpecDouble

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    +
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self. +Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self.

    +
    source

    pub fn default_value(&self) -> &Value

    Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified +Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified

    +
    source

    pub fn name<'a>(&self) -> &'a str

    Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self. +Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self.

    +
    source

    pub fn name_quark(&self) -> Quark

    Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name. +Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name.

    +
    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    If this ParamSpec does not have a nickname, the nickname of its redirect target is returned if it has one. -Otherwise, self.name() is returned.

    -
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecDouble

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecDouble

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +Otherwise, self.name() is returned. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self.

    +
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none. +If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none.

    +

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecDouble

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecDouble

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecDouble

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecDouble

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecDouble

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecDouble

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecDouble

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecDouble

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecDouble

    source§

    fn cmp(&self, other: &ParamSpecDouble) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecDouble

    source§

    fn cmp(&self, other: &ParamSpecDouble) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecDouble

    source§

    fn eq(&self, other: &ParamSpecDouble) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecDouble

    source§

    fn partial_cmp(&self, other: &ParamSpecDouble) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more

    source§

    impl PartialEq for ParamSpecDouble

    source§

    fn eq(&self, other: &ParamSpecDouble) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecDouble

    source§

    fn partial_cmp(&self, other: &ParamSpecDouble) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for ParamSpecDouble

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecDouble

    source§

    impl ParamSpecType for ParamSpecDouble

    source§

    impl Send for ParamSpecDouble

    source§

    impl StructuralPartialEq for ParamSpecDouble

    source§

    impl Sync for ParamSpecDouble

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for ParamSpecDouble

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecDouble

    source§

    impl ParamSpecType for ParamSpecDouble

    source§

    impl Send for ParamSpecDouble

    source§

    impl StructuralPartialEq for ParamSpecDouble

    source§

    impl Sync for ParamSpecDouble

    Auto Trait Implementations§

    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
    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 @@ -119,8 +177,8 @@

    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.ParamSpecDoubleBuilder.html b/git/docs/glib/struct.ParamSpecDoubleBuilder.html index 051c5c3f7cf7..2781736318d6 100644 --- a/git/docs/glib/struct.ParamSpecDoubleBuilder.html +++ b/git/docs/glib/struct.ParamSpecDoubleBuilder.html @@ -71,11 +71,11 @@ -
    glib

    Struct ParamSpecDoubleBuilder

    source
    pub struct ParamSpecDoubleBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecDoubleBuilder<'a>

    source

    pub fn minimum(self, value: f64) -> Self

    Default: < f64 > :: MIN

    -
    source

    pub fn maximum(self, value: f64) -> Self

    Default: < f64 > :: MAX

    -
    source

    pub fn default_value(self, value: f64) -> Self

    Default: < f64 as Default > :: default()

    -
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecDoubleBuilder<'a>

    source§

    fn default() -> ParamSpecDoubleBuilder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecDoubleBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. -Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +
    glib

    Struct ParamSpecDoubleBuilder

    source
    pub struct ParamSpecDoubleBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecDoubleBuilder<'a>

    source

    pub fn minimum(self, value: f64) -> Self

    Default: < f64 > :: MIN

    +
    source

    pub fn maximum(self, value: f64) -> Self

    Default: < f64 > :: MAX

    +
    source

    pub fn default_value(self, value: f64) -> Self

    Default: < f64 as Default > :: default()

    +
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecDoubleBuilder<'a>

    source§

    fn default() -> ParamSpecDoubleBuilder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecDoubleBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. +Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    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
    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> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/git/docs/glib/struct.ParamSpecEnum.html b/git/docs/glib/struct.ParamSpecEnum.html index d47a6d12b1d7..42b88c1d9483 100644 --- a/git/docs/glib/struct.ParamSpecEnum.html +++ b/git/docs/glib/struct.ParamSpecEnum.html @@ -71,32 +71,88 @@ -
    glib

    Struct ParamSpecEnum

    source
    pub struct ParamSpecEnum { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl ParamSpecEnum

    source

    pub fn as_ptr(&self) -> *mut GParamSpecEnum

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecEnum) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl ParamSpecEnum

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecEnum

    source

    pub fn enum_class(&self) -> EnumClass

    source

    pub fn default_value<T: StaticType + FromGlib<i32>>( +
    glib

    Struct ParamSpecEnum

    source
    pub struct ParamSpecEnum { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    +

    Implementations§

    source§

    impl ParamSpecEnum

    source

    pub fn as_ptr(&self) -> *mut GParamSpecEnum

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecEnum) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl ParamSpecEnum

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecEnum

    source

    pub fn enum_class(&self) -> EnumClass

    source

    pub fn default_value<T: StaticType + FromGlib<i32>>( &self, -) -> Result<T, BoolError>

    source

    pub fn default_value_as_i32(&self) -> i32

    source

    pub fn builder_with_default<T: StaticType + FromGlib<i32> + IntoGlib<GlibType = i32>>( +) -> Result<T, BoolError>

    source

    pub fn default_value_as_i32(&self) -> i32

    source

    pub fn builder_with_default<T: StaticType + FromGlib<i32> + IntoGlib<GlibType = i32>>( name: &str, default_value: T, -) -> ParamSpecEnumBuilder<'_, T>

    source

    pub fn builder<T: StaticType + FromGlib<i32> + IntoGlib<GlibType = i32> + Default>( +) -> ParamSpecEnumBuilder<'_, T>

    source

    pub fn builder<T: StaticType + FromGlib<i32> + IntoGlib<GlibType = i32> + Default>( name: &str, -) -> ParamSpecEnumBuilder<'_, T>

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    -
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    source

    pub fn default_value(&self) -> &Value

    source

    pub fn name<'a>(&self) -> &'a str

    source

    pub fn name_quark(&self) -> Quark

    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    +) -> ParamSpecEnumBuilder<'_, T>

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    +
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self. +Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self.

    +
    source

    pub fn default_value(&self) -> &Value

    Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified +Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified

    +
    source

    pub fn name<'a>(&self) -> &'a str

    Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self. +Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self.

    +
    source

    pub fn name_quark(&self) -> Quark

    Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name. +Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name.

    +
    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    If this ParamSpec does not have a nickname, the nickname of its redirect target is returned if it has one. -Otherwise, self.name() is returned.

    -
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecEnum

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecEnum

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +Otherwise, self.name() is returned. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self.

    +
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none. +If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none.

    +

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecEnum

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecEnum

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecEnum

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecEnum

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecEnum

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecEnum

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecEnum

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecEnum

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecEnum

    source§

    fn cmp(&self, other: &ParamSpecEnum) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecEnum

    source§

    fn cmp(&self, other: &ParamSpecEnum) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecEnum

    source§

    fn eq(&self, other: &ParamSpecEnum) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecEnum

    source§

    fn partial_cmp(&self, other: &ParamSpecEnum) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more

    source§

    impl PartialEq for ParamSpecEnum

    source§

    fn eq(&self, other: &ParamSpecEnum) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecEnum

    source§

    fn partial_cmp(&self, other: &ParamSpecEnum) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for ParamSpecEnum

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecEnum

    source§

    impl ParamSpecType for ParamSpecEnum

    source§

    impl Send for ParamSpecEnum

    source§

    impl StructuralPartialEq for ParamSpecEnum

    source§

    impl Sync for ParamSpecEnum

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for ParamSpecEnum

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecEnum

    source§

    impl ParamSpecType for ParamSpecEnum

    source§

    impl Send for ParamSpecEnum

    source§

    impl StructuralPartialEq for ParamSpecEnum

    source§

    impl Sync for ParamSpecEnum

    Auto Trait Implementations§

    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
    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 @@ -126,8 +182,8 @@

    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.ParamSpecEnumBuilder.html b/git/docs/glib/struct.ParamSpecEnumBuilder.html index 9444547b03ef..c7ac3bf1c72a 100644 --- a/git/docs/glib/struct.ParamSpecEnumBuilder.html +++ b/git/docs/glib/struct.ParamSpecEnumBuilder.html @@ -71,8 +71,8 @@ -
    glib

    Struct ParamSpecEnumBuilder

    source
    pub struct ParamSpecEnumBuilder<'a, T: StaticType + FromGlib<i32> + IntoGlib<GlibType = i32>> { /* private fields */ }

    Implementations§

    source§

    impl<'a, T: StaticType + FromGlib<i32> + IntoGlib<GlibType = i32>> ParamSpecEnumBuilder<'a, T>

    source

    pub fn default_value(self, default: T) -> Self

    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a, T: StaticType + FromGlib<i32> + IntoGlib<GlibType = i32>> ParamSpecBuilderExt<'a> for ParamSpecEnumBuilder<'a, T>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. -Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    §

    impl<'a, T> Freeze for ParamSpecEnumBuilder<'a, T>
    where +
    glib

    Struct ParamSpecEnumBuilder

    source
    pub struct ParamSpecEnumBuilder<'a, T: StaticType + FromGlib<i32> + IntoGlib<GlibType = i32>> { /* private fields */ }

    Implementations§

    source§

    impl<'a, T: StaticType + FromGlib<i32> + IntoGlib<GlibType = i32>> ParamSpecEnumBuilder<'a, T>

    source

    pub fn default_value(self, default: T) -> Self

    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a, T: StaticType + FromGlib<i32> + IntoGlib<GlibType = i32>> ParamSpecBuilderExt<'a> for ParamSpecEnumBuilder<'a, T>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. +Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    §

    impl<'a, T> Freeze for ParamSpecEnumBuilder<'a, T>
    where T: Freeze,

    §

    impl<'a, T> RefUnwindSafe for ParamSpecEnumBuilder<'a, T>
    where T: RefUnwindSafe,

    §

    impl<'a, T> Send for ParamSpecEnumBuilder<'a, T>
    where T: Send,

    §

    impl<'a, T> Sync for ParamSpecEnumBuilder<'a, T>
    where diff --git a/git/docs/glib/struct.ParamSpecFlags.html b/git/docs/glib/struct.ParamSpecFlags.html index 542cabae35bf..49404054a7dc 100644 --- a/git/docs/glib/struct.ParamSpecFlags.html +++ b/git/docs/glib/struct.ParamSpecFlags.html @@ -71,29 +71,85 @@ -
    glib

    Struct ParamSpecFlags

    source
    pub struct ParamSpecFlags { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl ParamSpecFlags

    source

    pub fn as_ptr(&self) -> *mut GParamSpecFlags

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecFlags) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl ParamSpecFlags

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecFlags

    source

    pub fn flags_class(&self) -> FlagsClass

    source

    pub fn default_value<T: StaticType + FromGlib<u32>>( +
    glib

    Struct ParamSpecFlags

    source
    pub struct ParamSpecFlags { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    +

    Implementations§

    source§

    impl ParamSpecFlags

    source

    pub fn as_ptr(&self) -> *mut GParamSpecFlags

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecFlags) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl ParamSpecFlags

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecFlags

    source

    pub fn flags_class(&self) -> FlagsClass

    source

    pub fn default_value<T: StaticType + FromGlib<u32>>( &self, -) -> Result<T, BoolError>

    source

    pub fn default_value_as_u32(&self) -> u32

    source

    pub fn builder<T: StaticType + FromGlib<u32> + IntoGlib<GlibType = u32>>( +) -> Result<T, BoolError>

    source

    pub fn default_value_as_u32(&self) -> u32

    source

    pub fn builder<T: StaticType + FromGlib<u32> + IntoGlib<GlibType = u32>>( name: &str, -) -> ParamSpecFlagsBuilder<'_, T>

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    -
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    source

    pub fn default_value(&self) -> &Value

    source

    pub fn name<'a>(&self) -> &'a str

    source

    pub fn name_quark(&self) -> Quark

    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    +) -> ParamSpecFlagsBuilder<'_, T>

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    +
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self. +Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self.

    +
    source

    pub fn default_value(&self) -> &Value

    Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified +Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified

    +
    source

    pub fn name<'a>(&self) -> &'a str

    Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self. +Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self.

    +
    source

    pub fn name_quark(&self) -> Quark

    Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name. +Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name.

    +
    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    If this ParamSpec does not have a nickname, the nickname of its redirect target is returned if it has one. -Otherwise, self.name() is returned.

    -
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecFlags

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecFlags

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +Otherwise, self.name() is returned. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self.

    +
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none. +If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none.

    +

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecFlags

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecFlags

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecFlags

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecFlags

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecFlags

    source§

    fn cmp(&self, other: &ParamSpecFlags) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecFlags

    source§

    fn cmp(&self, other: &ParamSpecFlags) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecFlags

    source§

    fn eq(&self, other: &ParamSpecFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecFlags

    source§

    fn partial_cmp(&self, other: &ParamSpecFlags) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecFlags

    source§

    fn eq(&self, other: &ParamSpecFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecFlags

    source§

    fn partial_cmp(&self, other: &ParamSpecFlags) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for ParamSpecFlags

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecFlags

    source§

    impl ParamSpecType for ParamSpecFlags

    source§

    impl Send for ParamSpecFlags

    source§

    impl StructuralPartialEq for ParamSpecFlags

    source§

    impl Sync for ParamSpecFlags

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for ParamSpecFlags

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecFlags

    source§

    impl ParamSpecType for ParamSpecFlags

    source§

    impl Send for ParamSpecFlags

    source§

    impl StructuralPartialEq for ParamSpecFlags

    source§

    impl Sync for ParamSpecFlags

    Auto Trait Implementations§

    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
    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 @@ -123,8 +179,8 @@

    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.ParamSpecFlagsBuilder.html b/git/docs/glib/struct.ParamSpecFlagsBuilder.html index 1c348e6d0e96..004650435605 100644 --- a/git/docs/glib/struct.ParamSpecFlagsBuilder.html +++ b/git/docs/glib/struct.ParamSpecFlagsBuilder.html @@ -71,9 +71,9 @@ -
    glib

    Struct ParamSpecFlagsBuilder

    source
    pub struct ParamSpecFlagsBuilder<'a, T: StaticType + FromGlib<u32> + IntoGlib<GlibType = u32>> { /* private fields */ }

    Implementations§

    source§

    impl<'a, T: StaticType + FromGlib<u32> + IntoGlib<GlibType = u32>> ParamSpecFlagsBuilder<'a, T>

    source

    pub fn default_value(self, value: T) -> Self

    Default: 0`

    -
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a, T: StaticType + FromGlib<u32> + IntoGlib<GlibType = u32>> ParamSpecBuilderExt<'a> for ParamSpecFlagsBuilder<'a, T>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. -Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    §

    impl<'a, T> Freeze for ParamSpecFlagsBuilder<'a, T>
    where +
    glib

    Struct ParamSpecFlagsBuilder

    source
    pub struct ParamSpecFlagsBuilder<'a, T: StaticType + FromGlib<u32> + IntoGlib<GlibType = u32>> { /* private fields */ }

    Implementations§

    source§

    impl<'a, T: StaticType + FromGlib<u32> + IntoGlib<GlibType = u32>> ParamSpecFlagsBuilder<'a, T>

    source

    pub fn default_value(self, value: T) -> Self

    Default: 0`

    +
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a, T: StaticType + FromGlib<u32> + IntoGlib<GlibType = u32>> ParamSpecBuilderExt<'a> for ParamSpecFlagsBuilder<'a, T>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. +Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    §

    impl<'a, T> Freeze for ParamSpecFlagsBuilder<'a, T>
    where T: Freeze,

    §

    impl<'a, T> RefUnwindSafe for ParamSpecFlagsBuilder<'a, T>
    where T: RefUnwindSafe,

    §

    impl<'a, T> Send for ParamSpecFlagsBuilder<'a, T>
    where T: Send,

    §

    impl<'a, T> Sync for ParamSpecFlagsBuilder<'a, T>
    where diff --git a/git/docs/glib/struct.ParamSpecFloat.html b/git/docs/glib/struct.ParamSpecFloat.html index 3bc5339d545c..1ec3dc50d3fa 100644 --- a/git/docs/glib/struct.ParamSpecFloat.html +++ b/git/docs/glib/struct.ParamSpecFloat.html @@ -1,4 +1,4 @@ -ParamSpecFloat in glib - Rust +ParamSpecFloat in glib - Rust -
    glib

    Struct ParamSpecFloat

    source
    pub struct ParamSpecFloat { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl ParamSpecFloat

    source

    pub fn as_ptr(&self) -> *mut GParamSpecFloat

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecFloat) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl ParamSpecFloat

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecFloat

    source

    pub fn default_value(&self) -> f32

    source§

    impl ParamSpecFloat

    source

    pub fn minimum(&self) -> f32

    source

    pub fn maximum(&self) -> f32

    source§

    impl ParamSpecFloat

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    -
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    source

    pub fn default_value(&self) -> &Value

    source

    pub fn name<'a>(&self) -> &'a str

    source

    pub fn name_quark(&self) -> Quark

    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    +
    glib

    Struct ParamSpecFloat

    source
    pub struct ParamSpecFloat { /* private fields */ }
    Expand description

    A ParamSpec derived structure that contains the meta data for float properties. +A ParamSpec derived structure that contains the meta data for float properties.

    +

    GLib type: Shared boxed type with reference counted clone semantics.

    +

    Implementations§

    source§

    impl ParamSpecFloat

    source

    pub fn as_ptr(&self) -> *mut GParamSpecFloat

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecFloat) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl ParamSpecFloat

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecFloat

    source

    pub fn default_value(&self) -> f32

    source§

    impl ParamSpecFloat

    source

    pub fn minimum(&self) -> f32

    source

    pub fn maximum(&self) -> f32

    source§

    impl ParamSpecFloat

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    +
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self. +Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self.

    +
    source

    pub fn default_value(&self) -> &Value

    Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified +Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified

    +
    source

    pub fn name<'a>(&self) -> &'a str

    Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self. +Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self.

    +
    source

    pub fn name_quark(&self) -> Quark

    Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name. +Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name.

    +
    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    If this ParamSpec does not have a nickname, the nickname of its redirect target is returned if it has one. -Otherwise, self.name() is returned.

    -
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecFloat

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecFloat

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +Otherwise, self.name() is returned. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self.

    +
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none. +If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none.

    +

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecFloat

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecFloat

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecFloat

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecFloat

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecFloat

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecFloat

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecFloat

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecFloat

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecFloat

    source§

    fn cmp(&self, other: &ParamSpecFloat) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecFloat

    source§

    fn cmp(&self, other: &ParamSpecFloat) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecFloat

    source§

    fn eq(&self, other: &ParamSpecFloat) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecFloat

    source§

    fn partial_cmp(&self, other: &ParamSpecFloat) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecFloat

    source§

    fn eq(&self, other: &ParamSpecFloat) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecFloat

    source§

    fn partial_cmp(&self, other: &ParamSpecFloat) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for ParamSpecFloat

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecFloat

    source§

    impl ParamSpecType for ParamSpecFloat

    source§

    impl Send for ParamSpecFloat

    source§

    impl StructuralPartialEq for ParamSpecFloat

    source§

    impl Sync for ParamSpecFloat

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for ParamSpecFloat

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecFloat

    source§

    impl ParamSpecType for ParamSpecFloat

    source§

    impl Send for ParamSpecFloat

    source§

    impl StructuralPartialEq for ParamSpecFloat

    source§

    impl Sync for ParamSpecFloat

    Auto Trait Implementations§

    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
    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 @@ -119,8 +177,8 @@

    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.ParamSpecFloatBuilder.html b/git/docs/glib/struct.ParamSpecFloatBuilder.html index 27c4bc8dd707..1e6c9dc78125 100644 --- a/git/docs/glib/struct.ParamSpecFloatBuilder.html +++ b/git/docs/glib/struct.ParamSpecFloatBuilder.html @@ -71,11 +71,11 @@ -
    glib

    Struct ParamSpecFloatBuilder

    source
    pub struct ParamSpecFloatBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecFloatBuilder<'a>

    source

    pub fn minimum(self, value: f32) -> Self

    Default: < f32 > :: MIN

    -
    source

    pub fn maximum(self, value: f32) -> Self

    Default: < f32 > :: MAX

    -
    source

    pub fn default_value(self, value: f32) -> Self

    Default: < f32 as Default > :: default()

    -
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecFloatBuilder<'a>

    source§

    fn default() -> ParamSpecFloatBuilder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecFloatBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. -Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +
    glib

    Struct ParamSpecFloatBuilder

    source
    pub struct ParamSpecFloatBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecFloatBuilder<'a>

    source

    pub fn minimum(self, value: f32) -> Self

    Default: < f32 > :: MIN

    +
    source

    pub fn maximum(self, value: f32) -> Self

    Default: < f32 > :: MAX

    +
    source

    pub fn default_value(self, value: f32) -> Self

    Default: < f32 as Default > :: default()

    +
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecFloatBuilder<'a>

    source§

    fn default() -> ParamSpecFloatBuilder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecFloatBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. +Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    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
    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> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/git/docs/glib/struct.ParamSpecGType.html b/git/docs/glib/struct.ParamSpecGType.html index f99503a55a94..8eea8ff8012d 100644 --- a/git/docs/glib/struct.ParamSpecGType.html +++ b/git/docs/glib/struct.ParamSpecGType.html @@ -1,4 +1,4 @@ -ParamSpecGType in glib - Rust +ParamSpecGType in glib - Rust -
    glib

    Struct ParamSpecGType

    source
    pub struct ParamSpecGType { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl ParamSpecGType

    source

    pub fn as_ptr(&self) -> *mut GParamSpecGType

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecGType) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl ParamSpecGType

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecGType

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    -
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    source

    pub fn default_value(&self) -> &Value

    source

    pub fn name<'a>(&self) -> &'a str

    source

    pub fn name_quark(&self) -> Quark

    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    +
    glib

    Struct ParamSpecGType

    source
    pub struct ParamSpecGType { /* private fields */ }
    Expand description

    A ParamSpec derived structure that contains the meta data for GType properties. +A ParamSpec derived structure that contains the meta data for GType properties.

    +

    GLib type: Shared boxed type with reference counted clone semantics.

    +

    Implementations§

    source§

    impl ParamSpecGType

    source

    pub fn as_ptr(&self) -> *mut GParamSpecGType

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecGType) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl ParamSpecGType

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecGType

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    +
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self. +Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self.

    +
    source

    pub fn default_value(&self) -> &Value

    Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified +Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified

    +
    source

    pub fn name<'a>(&self) -> &'a str

    Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self. +Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self.

    +
    source

    pub fn name_quark(&self) -> Quark

    Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name. +Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name.

    +
    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    If this ParamSpec does not have a nickname, the nickname of its redirect target is returned if it has one. -Otherwise, self.name() is returned.

    -
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecGType

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecGType

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +Otherwise, self.name() is returned. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self.

    +
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none. +If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none.

    +

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecGType

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecGType

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecGType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecGType

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecGType

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecGType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecGType

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecGType

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecGType

    source§

    fn cmp(&self, other: &ParamSpecGType) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecGType

    source§

    fn cmp(&self, other: &ParamSpecGType) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecGType

    source§

    fn eq(&self, other: &ParamSpecGType) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecGType

    source§

    fn partial_cmp(&self, other: &ParamSpecGType) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more

    source§

    impl PartialEq for ParamSpecGType

    source§

    fn eq(&self, other: &ParamSpecGType) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecGType

    source§

    fn partial_cmp(&self, other: &ParamSpecGType) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for ParamSpecGType

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecGType

    source§

    impl ParamSpecType for ParamSpecGType

    source§

    impl Send for ParamSpecGType

    source§

    impl StructuralPartialEq for ParamSpecGType

    source§

    impl Sync for ParamSpecGType

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for ParamSpecGType

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecGType

    source§

    impl ParamSpecType for ParamSpecGType

    source§

    impl Send for ParamSpecGType

    source§

    impl StructuralPartialEq for ParamSpecGType

    source§

    impl Sync for ParamSpecGType

    Auto Trait Implementations§

    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
    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 @@ -119,8 +177,8 @@

    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.ParamSpecGTypeBuilder.html b/git/docs/glib/struct.ParamSpecGTypeBuilder.html index 7e5e794281e1..90c28e39c620 100644 --- a/git/docs/glib/struct.ParamSpecGTypeBuilder.html +++ b/git/docs/glib/struct.ParamSpecGTypeBuilder.html @@ -71,9 +71,9 @@ -
    glib

    Struct ParamSpecGTypeBuilder

    source
    pub struct ParamSpecGTypeBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecGTypeBuilder<'a>

    source

    pub fn is_a_type(self, value: Type) -> Self

    Default: crate::Type::UNIT

    -
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecGTypeBuilder<'a>

    source§

    fn default() -> ParamSpecGTypeBuilder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecGTypeBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. -Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +
    glib

    Struct ParamSpecGTypeBuilder

    source
    pub struct ParamSpecGTypeBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecGTypeBuilder<'a>

    source

    pub fn is_a_type(self, value: Type) -> Self

    Default: crate::Type::UNIT

    +
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecGTypeBuilder<'a>

    source§

    fn default() -> ParamSpecGTypeBuilder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecGTypeBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. +Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    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
    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> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/git/docs/glib/struct.ParamSpecInt.html b/git/docs/glib/struct.ParamSpecInt.html index dcabd6b4aa69..5b47eba8aa64 100644 --- a/git/docs/glib/struct.ParamSpecInt.html +++ b/git/docs/glib/struct.ParamSpecInt.html @@ -71,25 +71,81 @@ -
    glib

    Struct ParamSpecInt

    source
    pub struct ParamSpecInt { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl ParamSpecInt

    source

    pub fn as_ptr(&self) -> *mut GParamSpecInt

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecInt) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl ParamSpecInt

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecInt

    source

    pub fn default_value(&self) -> i32

    source§

    impl ParamSpecInt

    source

    pub fn minimum(&self) -> i32

    source

    pub fn maximum(&self) -> i32

    source§

    impl ParamSpecInt

    source

    pub fn builder(name: &str) -> ParamSpecIntBuilder<'_>

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    -
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    source

    pub fn default_value(&self) -> &Value

    source

    pub fn name<'a>(&self) -> &'a str

    source

    pub fn name_quark(&self) -> Quark

    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    +
    glib

    Struct ParamSpecInt

    source
    pub struct ParamSpecInt { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    +

    Implementations§

    source§

    impl ParamSpecInt

    source

    pub fn as_ptr(&self) -> *mut GParamSpecInt

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecInt) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl ParamSpecInt

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecInt

    source

    pub fn default_value(&self) -> i32

    source§

    impl ParamSpecInt

    source

    pub fn minimum(&self) -> i32

    source

    pub fn maximum(&self) -> i32

    source§

    impl ParamSpecInt

    source

    pub fn builder(name: &str) -> ParamSpecIntBuilder<'_>

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    +
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self. +Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self.

    +
    source

    pub fn default_value(&self) -> &Value

    Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified +Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified

    +
    source

    pub fn name<'a>(&self) -> &'a str

    Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self. +Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self.

    +
    source

    pub fn name_quark(&self) -> Quark

    Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name. +Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name.

    +
    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    If this ParamSpec does not have a nickname, the nickname of its redirect target is returned if it has one. -Otherwise, self.name() is returned.

    -
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecInt

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecInt

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +Otherwise, self.name() is returned. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self.

    +
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none. +If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none.

    +

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecInt

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecInt

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecInt

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecInt

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecInt

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecInt

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecInt

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecInt

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecInt

    source§

    fn cmp(&self, other: &ParamSpecInt) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecInt

    source§

    fn cmp(&self, other: &ParamSpecInt) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecInt

    source§

    fn eq(&self, other: &ParamSpecInt) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecInt

    source§

    fn partial_cmp(&self, other: &ParamSpecInt) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more

    source§

    impl PartialEq for ParamSpecInt

    source§

    fn eq(&self, other: &ParamSpecInt) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecInt

    source§

    fn partial_cmp(&self, other: &ParamSpecInt) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for ParamSpecInt

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecInt

    source§

    impl ParamSpecType for ParamSpecInt

    source§

    impl Send for ParamSpecInt

    source§

    impl StructuralPartialEq for ParamSpecInt

    source§

    impl Sync for ParamSpecInt

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for ParamSpecInt

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecInt

    source§

    impl ParamSpecType for ParamSpecInt

    source§

    impl Send for ParamSpecInt

    source§

    impl StructuralPartialEq for ParamSpecInt

    source§

    impl Sync for ParamSpecInt

    Auto Trait Implementations§

    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
    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 @@ -119,8 +175,8 @@

    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.ParamSpecInt64.html b/git/docs/glib/struct.ParamSpecInt64.html index 9407ce647486..81668f8e99b1 100644 --- a/git/docs/glib/struct.ParamSpecInt64.html +++ b/git/docs/glib/struct.ParamSpecInt64.html @@ -71,25 +71,81 @@ -
    glib

    Struct ParamSpecInt64

    source
    pub struct ParamSpecInt64 { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl ParamSpecInt64

    source

    pub fn as_ptr(&self) -> *mut GParamSpecInt64

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecInt64) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl ParamSpecInt64

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecInt64

    source

    pub fn default_value(&self) -> i64

    source§

    impl ParamSpecInt64

    source

    pub fn minimum(&self) -> i64

    source

    pub fn maximum(&self) -> i64

    source§

    impl ParamSpecInt64

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    -
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    source

    pub fn default_value(&self) -> &Value

    source

    pub fn name<'a>(&self) -> &'a str

    source

    pub fn name_quark(&self) -> Quark

    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    +
    glib

    Struct ParamSpecInt64

    source
    pub struct ParamSpecInt64 { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    +

    Implementations§

    source§

    impl ParamSpecInt64

    source

    pub fn as_ptr(&self) -> *mut GParamSpecInt64

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecInt64) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl ParamSpecInt64

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecInt64

    source

    pub fn default_value(&self) -> i64

    source§

    impl ParamSpecInt64

    source

    pub fn minimum(&self) -> i64

    source

    pub fn maximum(&self) -> i64

    source§

    impl ParamSpecInt64

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    +
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self. +Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self.

    +
    source

    pub fn default_value(&self) -> &Value

    Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified +Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified

    +
    source

    pub fn name<'a>(&self) -> &'a str

    Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self. +Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self.

    +
    source

    pub fn name_quark(&self) -> Quark

    Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name. +Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name.

    +
    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    If this ParamSpec does not have a nickname, the nickname of its redirect target is returned if it has one. -Otherwise, self.name() is returned.

    -
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecInt64

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecInt64

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +Otherwise, self.name() is returned. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self.

    +
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none. +If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none.

    +

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecInt64

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecInt64

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecInt64

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecInt64

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecInt64

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecInt64

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecInt64

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecInt64

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecInt64

    source§

    fn cmp(&self, other: &ParamSpecInt64) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecInt64

    source§

    fn cmp(&self, other: &ParamSpecInt64) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecInt64

    source§

    fn eq(&self, other: &ParamSpecInt64) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecInt64

    source§

    fn partial_cmp(&self, other: &ParamSpecInt64) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecInt64

    source§

    fn eq(&self, other: &ParamSpecInt64) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecInt64

    source§

    fn partial_cmp(&self, other: &ParamSpecInt64) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for ParamSpecInt64

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecInt64

    source§

    impl ParamSpecType for ParamSpecInt64

    source§

    impl Send for ParamSpecInt64

    source§

    impl StructuralPartialEq for ParamSpecInt64

    source§

    impl Sync for ParamSpecInt64

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for ParamSpecInt64

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecInt64

    source§

    impl ParamSpecType for ParamSpecInt64

    source§

    impl Send for ParamSpecInt64

    source§

    impl StructuralPartialEq for ParamSpecInt64

    source§

    impl Sync for ParamSpecInt64

    Auto Trait Implementations§

    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
    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 @@ -119,8 +175,8 @@

    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.ParamSpecInt64Builder.html b/git/docs/glib/struct.ParamSpecInt64Builder.html index c37d2c2e5b5f..0ed091a4bf6f 100644 --- a/git/docs/glib/struct.ParamSpecInt64Builder.html +++ b/git/docs/glib/struct.ParamSpecInt64Builder.html @@ -71,11 +71,11 @@ -
    glib

    Struct ParamSpecInt64Builder

    source
    pub struct ParamSpecInt64Builder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecInt64Builder<'a>

    source

    pub fn minimum(self, value: i64) -> Self

    Default: < i64 > :: MIN

    -
    source

    pub fn maximum(self, value: i64) -> Self

    Default: < i64 > :: MAX

    -
    source

    pub fn default_value(self, value: i64) -> Self

    Default: < i64 as Default > :: default()

    -
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecInt64Builder<'a>

    source§

    fn default() -> ParamSpecInt64Builder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecInt64Builder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. -Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +
    glib

    Struct ParamSpecInt64Builder

    source
    pub struct ParamSpecInt64Builder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecInt64Builder<'a>

    source

    pub fn minimum(self, value: i64) -> Self

    Default: < i64 > :: MIN

    +
    source

    pub fn maximum(self, value: i64) -> Self

    Default: < i64 > :: MAX

    +
    source

    pub fn default_value(self, value: i64) -> Self

    Default: < i64 as Default > :: default()

    +
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecInt64Builder<'a>

    source§

    fn default() -> ParamSpecInt64Builder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecInt64Builder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. +Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    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
    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> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/git/docs/glib/struct.ParamSpecIntBuilder.html b/git/docs/glib/struct.ParamSpecIntBuilder.html index 7518e54c6a59..2a189639b11b 100644 --- a/git/docs/glib/struct.ParamSpecIntBuilder.html +++ b/git/docs/glib/struct.ParamSpecIntBuilder.html @@ -71,11 +71,11 @@ -
    glib

    Struct ParamSpecIntBuilder

    source
    pub struct ParamSpecIntBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecIntBuilder<'a>

    source

    pub fn minimum(self, value: i32) -> Self

    Default: < i32 > :: MIN

    -
    source

    pub fn maximum(self, value: i32) -> Self

    Default: < i32 > :: MAX

    -
    source

    pub fn default_value(self, value: i32) -> Self

    Default: < i32 as Default > :: default()

    -
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecIntBuilder<'a>

    source§

    fn default() -> ParamSpecIntBuilder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecIntBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. -Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +
    glib

    Struct ParamSpecIntBuilder

    source
    pub struct ParamSpecIntBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecIntBuilder<'a>

    source

    pub fn minimum(self, value: i32) -> Self

    Default: < i32 > :: MIN

    +
    source

    pub fn maximum(self, value: i32) -> Self

    Default: < i32 > :: MAX

    +
    source

    pub fn default_value(self, value: i32) -> Self

    Default: < i32 as Default > :: default()

    +
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecIntBuilder<'a>

    source§

    fn default() -> ParamSpecIntBuilder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecIntBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. +Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    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
    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> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/git/docs/glib/struct.ParamSpecLong.html b/git/docs/glib/struct.ParamSpecLong.html index 2af4e70d6b30..1c87474e99c8 100644 --- a/git/docs/glib/struct.ParamSpecLong.html +++ b/git/docs/glib/struct.ParamSpecLong.html @@ -71,25 +71,81 @@ -
    glib

    Struct ParamSpecLong

    source
    pub struct ParamSpecLong { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl ParamSpecLong

    source

    pub fn as_ptr(&self) -> *mut GParamSpecLong

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecLong) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl ParamSpecLong

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecLong

    source

    pub fn default_value(&self) -> c_long

    source§

    impl ParamSpecLong

    source

    pub fn minimum(&self) -> c_long

    source

    pub fn maximum(&self) -> c_long

    source§

    impl ParamSpecLong

    source

    pub fn builder(name: &str) -> ParamSpecLongBuilder<'_>

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    -
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    source

    pub fn default_value(&self) -> &Value

    source

    pub fn name<'a>(&self) -> &'a str

    source

    pub fn name_quark(&self) -> Quark

    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    +
    glib

    Struct ParamSpecLong

    source
    pub struct ParamSpecLong { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    +

    Implementations§

    source§

    impl ParamSpecLong

    source

    pub fn as_ptr(&self) -> *mut GParamSpecLong

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecLong) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl ParamSpecLong

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecLong

    source

    pub fn default_value(&self) -> c_long

    source§

    impl ParamSpecLong

    source

    pub fn minimum(&self) -> c_long

    source

    pub fn maximum(&self) -> c_long

    source§

    impl ParamSpecLong

    source

    pub fn builder(name: &str) -> ParamSpecLongBuilder<'_>

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    +
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self. +Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self.

    +
    source

    pub fn default_value(&self) -> &Value

    Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified +Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified

    +
    source

    pub fn name<'a>(&self) -> &'a str

    Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self. +Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self.

    +
    source

    pub fn name_quark(&self) -> Quark

    Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name. +Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name.

    +
    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    If this ParamSpec does not have a nickname, the nickname of its redirect target is returned if it has one. -Otherwise, self.name() is returned.

    -
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecLong

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecLong

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +Otherwise, self.name() is returned. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self.

    +
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none. +If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none.

    +

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecLong

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecLong

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecLong

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecLong

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecLong

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecLong

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecLong

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecLong

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecLong

    source§

    fn cmp(&self, other: &ParamSpecLong) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecLong

    source§

    fn cmp(&self, other: &ParamSpecLong) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecLong

    source§

    fn eq(&self, other: &ParamSpecLong) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecLong

    source§

    fn partial_cmp(&self, other: &ParamSpecLong) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecLong

    source§

    fn eq(&self, other: &ParamSpecLong) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecLong

    source§

    fn partial_cmp(&self, other: &ParamSpecLong) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for ParamSpecLong

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecLong

    source§

    impl ParamSpecType for ParamSpecLong

    source§

    impl Send for ParamSpecLong

    source§

    impl StructuralPartialEq for ParamSpecLong

    source§

    impl Sync for ParamSpecLong

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for ParamSpecLong

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecLong

    source§

    impl ParamSpecType for ParamSpecLong

    source§

    impl Send for ParamSpecLong

    source§

    impl StructuralPartialEq for ParamSpecLong

    source§

    impl Sync for ParamSpecLong

    Auto Trait Implementations§

    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
    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 @@ -119,8 +175,8 @@

    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.ParamSpecLongBuilder.html b/git/docs/glib/struct.ParamSpecLongBuilder.html index 80bf3e66eedf..11ec904970e6 100644 --- a/git/docs/glib/struct.ParamSpecLongBuilder.html +++ b/git/docs/glib/struct.ParamSpecLongBuilder.html @@ -71,11 +71,11 @@ -
    glib

    Struct ParamSpecLongBuilder

    source
    pub struct ParamSpecLongBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecLongBuilder<'a>

    source

    pub fn minimum(self, value: c_long) -> Self

    Default: < libc::c_long > :: MIN

    -
    source

    pub fn maximum(self, value: c_long) -> Self

    Default: < libc::c_long > :: MAX

    -
    source

    pub fn default_value(self, value: c_long) -> Self

    Default: < libc::c_long as Default > :: default()

    -
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecLongBuilder<'a>

    source§

    fn default() -> ParamSpecLongBuilder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecLongBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. -Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +
    glib

    Struct ParamSpecLongBuilder

    source
    pub struct ParamSpecLongBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecLongBuilder<'a>

    source

    pub fn minimum(self, value: c_long) -> Self

    Default: < libc::c_long > :: MIN

    +
    source

    pub fn maximum(self, value: c_long) -> Self

    Default: < libc::c_long > :: MAX

    +
    source

    pub fn default_value(self, value: c_long) -> Self

    Default: < libc::c_long as Default > :: default()

    +
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecLongBuilder<'a>

    source§

    fn default() -> ParamSpecLongBuilder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecLongBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. +Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    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
    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> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/git/docs/glib/struct.ParamSpecObject.html b/git/docs/glib/struct.ParamSpecObject.html index 5aaaaf13649d..f6d0f6645671 100644 --- a/git/docs/glib/struct.ParamSpecObject.html +++ b/git/docs/glib/struct.ParamSpecObject.html @@ -1,4 +1,4 @@ -ParamSpecObject in glib - Rust +ParamSpecObject in glib - Rust -
    glib

    Struct ParamSpecObject

    source
    pub struct ParamSpecObject { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl ParamSpecObject

    source

    pub fn as_ptr(&self) -> *mut GParamSpecObject

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecObject) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl ParamSpecObject

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecObject

    source

    pub fn builder<T: StaticType + IsA<Object>>( +
    glib

    Struct ParamSpecObject

    source
    pub struct ParamSpecObject { /* private fields */ }
    Expand description

    A ParamSpec derived structure that contains the meta data for object properties. +A ParamSpec derived structure that contains the meta data for object properties.

    +

    GLib type: Shared boxed type with reference counted clone semantics.

    +

    Implementations§

    source§

    impl ParamSpecObject

    source

    pub fn as_ptr(&self) -> *mut GParamSpecObject

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecObject) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl ParamSpecObject

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecObject

    source

    pub fn builder<T: StaticType + IsA<Object>>( name: &str, -) -> ParamSpecObjectBuilder<'_, T>

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    -
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    source

    pub fn default_value(&self) -> &Value

    source

    pub fn name<'a>(&self) -> &'a str

    source

    pub fn name_quark(&self) -> Quark

    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    +) -> ParamSpecObjectBuilder<'_, T>

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    +
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self. +Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self.

    +
    source

    pub fn default_value(&self) -> &Value

    Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified +Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified

    +
    source

    pub fn name<'a>(&self) -> &'a str

    Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self. +Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self.

    +
    source

    pub fn name_quark(&self) -> Quark

    Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name. +Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name.

    +
    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    If this ParamSpec does not have a nickname, the nickname of its redirect target is returned if it has one. -Otherwise, self.name() is returned.

    -
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecObject

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecObject

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +Otherwise, self.name() is returned. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self.

    +
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none. +If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none.

    +

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecObject

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecObject

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecObject

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecObject

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecObject

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecObject

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecObject

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecObject

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecObject

    source§

    fn cmp(&self, other: &ParamSpecObject) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecObject

    source§

    fn cmp(&self, other: &ParamSpecObject) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecObject

    source§

    fn eq(&self, other: &ParamSpecObject) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecObject

    source§

    fn partial_cmp(&self, other: &ParamSpecObject) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more

    source§

    impl PartialEq for ParamSpecObject

    source§

    fn eq(&self, other: &ParamSpecObject) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecObject

    source§

    fn partial_cmp(&self, other: &ParamSpecObject) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for ParamSpecObject

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecObject

    source§

    impl ParamSpecType for ParamSpecObject

    source§

    impl Send for ParamSpecObject

    source§

    impl StructuralPartialEq for ParamSpecObject

    source§

    impl Sync for ParamSpecObject

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for ParamSpecObject

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecObject

    source§

    impl ParamSpecType for ParamSpecObject

    source§

    impl Send for ParamSpecObject

    source§

    impl StructuralPartialEq for ParamSpecObject

    source§

    impl Sync for ParamSpecObject

    Auto Trait Implementations§

    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
    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 @@ -121,8 +179,8 @@

    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.ParamSpecObjectBuilder.html b/git/docs/glib/struct.ParamSpecObjectBuilder.html index 82d55ae8a0f5..bdabafafba3e 100644 --- a/git/docs/glib/struct.ParamSpecObjectBuilder.html +++ b/git/docs/glib/struct.ParamSpecObjectBuilder.html @@ -71,8 +71,8 @@ -
    glib

    Struct ParamSpecObjectBuilder

    source
    pub struct ParamSpecObjectBuilder<'a, T: StaticType> { /* private fields */ }

    Implementations§

    Trait Implementations§

    source§

    impl<'a, T: StaticType> ParamSpecBuilderExt<'a> for ParamSpecObjectBuilder<'a, T>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. -Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    §

    impl<'a, T> Freeze for ParamSpecObjectBuilder<'a, T>

    §

    impl<'a, T> RefUnwindSafe for ParamSpecObjectBuilder<'a, T>
    where +
    glib

    Struct ParamSpecObjectBuilder

    source
    pub struct ParamSpecObjectBuilder<'a, T: StaticType> { /* private fields */ }

    Implementations§

    Trait Implementations§

    source§

    impl<'a, T: StaticType> ParamSpecBuilderExt<'a> for ParamSpecObjectBuilder<'a, T>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. +Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    §

    impl<'a, T> Freeze for ParamSpecObjectBuilder<'a, T>

    §

    impl<'a, T> RefUnwindSafe for ParamSpecObjectBuilder<'a, T>
    where T: RefUnwindSafe,

    §

    impl<'a, T> Send for ParamSpecObjectBuilder<'a, T>
    where T: Send,

    §

    impl<'a, T> Sync for ParamSpecObjectBuilder<'a, T>
    where T: Sync,

    §

    impl<'a, T> Unpin for ParamSpecObjectBuilder<'a, T>
    where diff --git a/git/docs/glib/struct.ParamSpecOverride.html b/git/docs/glib/struct.ParamSpecOverride.html index 0b7afce609e3..0bdcfe03c360 100644 --- a/git/docs/glib/struct.ParamSpecOverride.html +++ b/git/docs/glib/struct.ParamSpecOverride.html @@ -1,4 +1,4 @@ -ParamSpecOverride in glib - Rust +ParamSpecOverride in glib - Rust -
    glib

    Struct ParamSpecOverride

    source
    pub struct ParamSpecOverride { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl ParamSpecOverride

    source

    pub fn as_ptr(&self) -> *mut GParamSpecOverride

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecOverride) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl ParamSpecOverride

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecOverride

    source

    pub fn for_interface<T: IsA<Object> + IsInterface>(name: &str) -> ParamSpec

    Create a ParamSpecOverride to override an interface property.

    +
    glib

    Struct ParamSpecOverride

    source
    pub struct ParamSpecOverride { /* private fields */ }
    Expand description

    A ParamSpec derived structure that redirects operations to +other types of ParamSpec.

    +

    All operations other than getting or setting the value are redirected, +including accessing the nick and blurb, validating a value, and so +forth.

    +

    See ParamSpec::redirect_target() for retrieving the overridden +property. ParamSpecOverride is used in implementing +g_object_class_override_property(), and will not be directly useful +unless you are implementing a new base type similar to GObject. +A ParamSpec derived structure that redirects operations to +other types of ParamSpec.

    +

    All operations other than getting or setting the value are redirected, +including accessing the nick and blurb, validating a value, and so +forth.

    +

    See ParamSpec::redirect_target() for retrieving the overridden +property. ParamSpecOverride is used in implementing +g_object_class_override_property(), and will not be directly useful +unless you are implementing a new base type similar to GObject.

    +

    GLib type: Shared boxed type with reference counted clone semantics.

    +

    Implementations§

    source§

    impl ParamSpecOverride

    source

    pub fn as_ptr(&self) -> *mut GParamSpecOverride

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecOverride) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl ParamSpecOverride

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecOverride

    source

    pub fn for_interface<T: IsA<Object> + IsInterface>(name: &str) -> ParamSpec

    Create a ParamSpecOverride to override an interface property.

    §Examples
    let pspec = ParamSpecOverride::for_interface::<gtk::Scrollable>("vadjustment");
    §Panics

    If the property name doesn’t exist in the interface.

    -
    source

    pub fn for_class<T: IsA<Object> + IsClass>(name: &str) -> ParamSpec

    Create a ParamSpecOverride to override a class property.

    +
    source

    pub fn for_class<T: IsA<Object> + IsClass>(name: &str) -> ParamSpec

    Create a ParamSpecOverride to override a class property.

    §Examples
    let pspec = ParamSpecOverride::for_class::<gtk::Button>("label");
    §Panics

    If the property name doesn’t exist in the class.

    -
    source

    pub fn overridden(&self) -> ParamSpec

    source

    pub fn builder<'a>( +

    source

    pub fn overridden(&self) -> ParamSpec

    source

    pub fn builder<'a>( name: &'a str, overridden: &'a ParamSpec, -) -> ParamSpecOverrideBuilder<'a>

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    -
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    source

    pub fn default_value(&self) -> &Value

    source

    pub fn name<'a>(&self) -> &'a str

    source

    pub fn name_quark(&self) -> Quark

    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    +) -> ParamSpecOverrideBuilder<'a>

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    +
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self. +Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self.

    +
    source

    pub fn default_value(&self) -> &Value

    Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified +Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified

    +
    source

    pub fn name<'a>(&self) -> &'a str

    Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self. +Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self.

    +
    source

    pub fn name_quark(&self) -> Quark

    Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name. +Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name.

    +
    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    If this ParamSpec does not have a nickname, the nickname of its redirect target is returned if it has one. -Otherwise, self.name() is returned.

    -
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecOverride

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecOverride

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +Otherwise, self.name() is returned. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self.

    +
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none. +If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none.

    +

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecOverride

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecOverride

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecOverride

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecOverride

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecOverride

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecOverride

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecOverride

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecOverride

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecOverride

    source§

    fn cmp(&self, other: &ParamSpecOverride) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecOverride

    source§

    fn cmp(&self, other: &ParamSpecOverride) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecOverride

    source§

    fn eq(&self, other: &ParamSpecOverride) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecOverride

    source§

    fn partial_cmp(&self, other: &ParamSpecOverride) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,
    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecOverride

    source§

    fn eq(&self, other: &ParamSpecOverride) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecOverride

    source§

    fn partial_cmp(&self, other: &ParamSpecOverride) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for ParamSpecOverride

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecOverride

    source§

    impl ParamSpecType for ParamSpecOverride

    source§

    impl Send for ParamSpecOverride

    source§

    impl StructuralPartialEq for ParamSpecOverride

    source§

    impl Sync for ParamSpecOverride

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for ParamSpecOverride

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecOverride

    source§

    impl ParamSpecType for ParamSpecOverride

    source§

    impl Send for ParamSpecOverride

    source§

    impl StructuralPartialEq for ParamSpecOverride

    source§

    impl Sync for ParamSpecOverride

    Auto Trait Implementations§

    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
    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 @@ -132,8 +206,8 @@
    §Panics

    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.ParamSpecOverrideBuilder.html b/git/docs/glib/struct.ParamSpecOverrideBuilder.html index 726c2ce6630f..be9e374fa38e 100644 --- a/git/docs/glib/struct.ParamSpecOverrideBuilder.html +++ b/git/docs/glib/struct.ParamSpecOverrideBuilder.html @@ -71,7 +71,7 @@ -
    glib

    Struct ParamSpecOverrideBuilder

    source
    pub struct ParamSpecOverrideBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecOverrideBuilder<'a>

    source

    pub fn overridden(self, spec: &'a ParamSpec) -> Self

    source

    pub fn build(self) -> ParamSpec

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +
    glib

    Struct ParamSpecOverrideBuilder

    source
    pub struct ParamSpecOverrideBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecOverrideBuilder<'a>

    source

    pub fn overridden(self, spec: &'a ParamSpec) -> Self

    source

    pub fn build(self) -> ParamSpec

    Auto Trait Implementations§

    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
    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> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/git/docs/glib/struct.ParamSpecParam.html b/git/docs/glib/struct.ParamSpecParam.html index 8a57efa5ee0f..190da9c003c5 100644 --- a/git/docs/glib/struct.ParamSpecParam.html +++ b/git/docs/glib/struct.ParamSpecParam.html @@ -1,4 +1,4 @@ -ParamSpecParam in glib - Rust +ParamSpecParam in glib - Rust -
    glib

    Struct ParamSpecParam

    source
    pub struct ParamSpecParam { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl ParamSpecParam

    source

    pub fn as_ptr(&self) -> *mut GParamSpecParam

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecParam) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl ParamSpecParam

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecParam

    source

    pub fn builder(name: &str, param_type: Type) -> ParamSpecParamBuilder<'_>

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    -
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    source

    pub fn default_value(&self) -> &Value

    source

    pub fn name<'a>(&self) -> &'a str

    source

    pub fn name_quark(&self) -> Quark

    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    +
    glib

    Struct ParamSpecParam

    source
    pub struct ParamSpecParam { /* private fields */ }
    Expand description

    A ParamSpec derived structure that contains the meta data for G_TYPE_PARAM +properties. +A ParamSpec derived structure that contains the meta data for G_TYPE_PARAM +properties.

    +

    GLib type: Shared boxed type with reference counted clone semantics.

    +

    Implementations§

    source§

    impl ParamSpecParam

    source

    pub fn as_ptr(&self) -> *mut GParamSpecParam

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecParam) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl ParamSpecParam

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecParam

    source

    pub fn builder(name: &str, param_type: Type) -> ParamSpecParamBuilder<'_>

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    +
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self. +Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self.

    +
    source

    pub fn default_value(&self) -> &Value

    Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified +Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified

    +
    source

    pub fn name<'a>(&self) -> &'a str

    Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self. +Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self.

    +
    source

    pub fn name_quark(&self) -> Quark

    Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name. +Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name.

    +
    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    If this ParamSpec does not have a nickname, the nickname of its redirect target is returned if it has one. -Otherwise, self.name() is returned.

    -
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecParam

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecParam

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +Otherwise, self.name() is returned. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self.

    +
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none. +If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none.

    +

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecParam

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecParam

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecParam

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecParam

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecParam

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecParam

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecParam

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecParam

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecParam

    source§

    fn cmp(&self, other: &ParamSpecParam) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecParam

    source§

    fn cmp(&self, other: &ParamSpecParam) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecParam

    source§

    fn eq(&self, other: &ParamSpecParam) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecParam

    source§

    fn partial_cmp(&self, other: &ParamSpecParam) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more

    source§

    impl PartialEq for ParamSpecParam

    source§

    fn eq(&self, other: &ParamSpecParam) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecParam

    source§

    fn partial_cmp(&self, other: &ParamSpecParam) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for ParamSpecParam

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecParam

    source§

    impl ParamSpecType for ParamSpecParam

    source§

    impl Send for ParamSpecParam

    source§

    impl StructuralPartialEq for ParamSpecParam

    source§

    impl Sync for ParamSpecParam

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for ParamSpecParam

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecParam

    source§

    impl ParamSpecType for ParamSpecParam

    source§

    impl Send for ParamSpecParam

    source§

    impl StructuralPartialEq for ParamSpecParam

    source§

    impl Sync for ParamSpecParam

    Auto Trait Implementations§

    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
    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 @@ -119,8 +179,8 @@

    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.ParamSpecParamBuilder.html b/git/docs/glib/struct.ParamSpecParamBuilder.html index 71d9592305fe..ba473934cff3 100644 --- a/git/docs/glib/struct.ParamSpecParamBuilder.html +++ b/git/docs/glib/struct.ParamSpecParamBuilder.html @@ -71,8 +71,8 @@ -
    glib

    Struct ParamSpecParamBuilder

    source
    pub struct ParamSpecParamBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecParamBuilder<'a>

    source

    pub fn param_type(self, value: Type) -> Self

    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecParamBuilder<'a>

    source§

    fn default() -> ParamSpecParamBuilder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecParamBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. -Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +
    glib

    Struct ParamSpecParamBuilder

    source
    pub struct ParamSpecParamBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecParamBuilder<'a>

    source

    pub fn param_type(self, value: Type) -> Self

    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecParamBuilder<'a>

    source§

    fn default() -> ParamSpecParamBuilder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecParamBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. +Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    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
    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> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/git/docs/glib/struct.ParamSpecPointer.html b/git/docs/glib/struct.ParamSpecPointer.html index b9de92e05a23..6d966a046575 100644 --- a/git/docs/glib/struct.ParamSpecPointer.html +++ b/git/docs/glib/struct.ParamSpecPointer.html @@ -1,4 +1,4 @@ -ParamSpecPointer in glib - Rust +ParamSpecPointer in glib - Rust -
    glib

    Struct ParamSpecPointer

    source
    pub struct ParamSpecPointer { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl ParamSpecPointer

    source

    pub fn as_ptr(&self) -> *mut GParamSpecPointer

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecPointer) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl ParamSpecPointer

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecPointer

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    -
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    source

    pub fn default_value(&self) -> &Value

    source

    pub fn name<'a>(&self) -> &'a str

    source

    pub fn name_quark(&self) -> Quark

    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    +
    glib

    Struct ParamSpecPointer

    source
    pub struct ParamSpecPointer { /* private fields */ }
    Expand description

    A ParamSpec derived structure that contains the meta data for pointer properties. +A ParamSpec derived structure that contains the meta data for pointer properties.

    +

    GLib type: Shared boxed type with reference counted clone semantics.

    +

    Implementations§

    source§

    impl ParamSpecPointer

    source

    pub fn as_ptr(&self) -> *mut GParamSpecPointer

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecPointer) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl ParamSpecPointer

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecPointer

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    +
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self. +Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self.

    +
    source

    pub fn default_value(&self) -> &Value

    Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified +Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified

    +
    source

    pub fn name<'a>(&self) -> &'a str

    Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self. +Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self.

    +
    source

    pub fn name_quark(&self) -> Quark

    Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name. +Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name.

    +
    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    If this ParamSpec does not have a nickname, the nickname of its redirect target is returned if it has one. -Otherwise, self.name() is returned.

    -
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecPointer

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecPointer

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +Otherwise, self.name() is returned. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self.

    +
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none. +If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none.

    +

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecPointer

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecPointer

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecPointer

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecPointer

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecPointer

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecPointer

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecPointer

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecPointer

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecPointer

    source§

    fn cmp(&self, other: &ParamSpecPointer) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecPointer

    source§

    fn cmp(&self, other: &ParamSpecPointer) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecPointer

    source§

    fn eq(&self, other: &ParamSpecPointer) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecPointer

    source§

    fn partial_cmp(&self, other: &ParamSpecPointer) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more

    source§

    impl PartialEq for ParamSpecPointer

    source§

    fn eq(&self, other: &ParamSpecPointer) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecPointer

    source§

    fn partial_cmp(&self, other: &ParamSpecPointer) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for ParamSpecPointer

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecPointer

    source§

    impl ParamSpecType for ParamSpecPointer

    source§

    impl Send for ParamSpecPointer

    source§

    impl StructuralPartialEq for ParamSpecPointer

    source§

    impl Sync for ParamSpecPointer

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for ParamSpecPointer

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecPointer

    source§

    impl ParamSpecType for ParamSpecPointer

    source§

    impl Send for ParamSpecPointer

    source§

    impl StructuralPartialEq for ParamSpecPointer

    source§

    impl Sync for ParamSpecPointer

    Auto Trait Implementations§

    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
    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 @@ -119,8 +177,8 @@

    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.ParamSpecPointerBuilder.html b/git/docs/glib/struct.ParamSpecPointerBuilder.html index dcc54e0ff646..760d95cc7544 100644 --- a/git/docs/glib/struct.ParamSpecPointerBuilder.html +++ b/git/docs/glib/struct.ParamSpecPointerBuilder.html @@ -71,8 +71,8 @@ -
    glib

    Struct ParamSpecPointerBuilder

    source
    pub struct ParamSpecPointerBuilder<'a> { /* private fields */ }

    Implementations§

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecPointerBuilder<'a>

    source§

    fn default() -> ParamSpecPointerBuilder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecPointerBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. -Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +
    glib

    Struct ParamSpecPointerBuilder

    source
    pub struct ParamSpecPointerBuilder<'a> { /* private fields */ }

    Implementations§

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecPointerBuilder<'a>

    source§

    fn default() -> ParamSpecPointerBuilder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecPointerBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. +Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    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
    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> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/git/docs/glib/struct.ParamSpecString.html b/git/docs/glib/struct.ParamSpecString.html index 25aa797de15e..bb5adefda73c 100644 --- a/git/docs/glib/struct.ParamSpecString.html +++ b/git/docs/glib/struct.ParamSpecString.html @@ -1,4 +1,4 @@ -ParamSpecString in glib - Rust +ParamSpecString in glib - Rust -
    glib

    Struct ParamSpecString

    source
    pub struct ParamSpecString { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl ParamSpecString

    source

    pub fn as_ptr(&self) -> *mut GParamSpecString

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecString) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl ParamSpecString

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecString

    source

    pub fn default_value(&self) -> Option<&str>

    source§

    impl ParamSpecString

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    -
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    source

    pub fn default_value(&self) -> &Value

    source

    pub fn name<'a>(&self) -> &'a str

    source

    pub fn name_quark(&self) -> Quark

    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    +
    glib

    Struct ParamSpecString

    source
    pub struct ParamSpecString { /* private fields */ }
    Expand description

    A ParamSpec derived structure that contains the meta data for string +properties. +A ParamSpec derived structure that contains the meta data for string +properties.

    +

    GLib type: Shared boxed type with reference counted clone semantics.

    +

    Implementations§

    source§

    impl ParamSpecString

    source

    pub fn as_ptr(&self) -> *mut GParamSpecString

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecString) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl ParamSpecString

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecString

    source

    pub fn default_value(&self) -> Option<&str>

    source§

    impl ParamSpecString

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    +
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self. +Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self.

    +
    source

    pub fn default_value(&self) -> &Value

    Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified +Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified

    +
    source

    pub fn name<'a>(&self) -> &'a str

    Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self. +Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self.

    +
    source

    pub fn name_quark(&self) -> Quark

    Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name. +Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name.

    +
    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    If this ParamSpec does not have a nickname, the nickname of its redirect target is returned if it has one. -Otherwise, self.name() is returned.

    -
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecString

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecString

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +Otherwise, self.name() is returned. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self.

    +
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none. +If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none.

    +

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecString

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecString

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecString

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecString

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecString

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecString

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecString

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecString

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecString

    source§

    fn cmp(&self, other: &ParamSpecString) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecString

    source§

    fn cmp(&self, other: &ParamSpecString) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecString

    source§

    fn eq(&self, other: &ParamSpecString) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecString

    source§

    fn partial_cmp(&self, other: &ParamSpecString) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more

    source§

    impl PartialEq for ParamSpecString

    source§

    fn eq(&self, other: &ParamSpecString) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecString

    source§

    fn partial_cmp(&self, other: &ParamSpecString) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for ParamSpecString

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecString

    source§

    impl ParamSpecType for ParamSpecString

    source§

    impl Send for ParamSpecString

    source§

    impl StructuralPartialEq for ParamSpecString

    source§

    impl Sync for ParamSpecString

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for ParamSpecString

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecString

    source§

    impl ParamSpecType for ParamSpecString

    source§

    impl Send for ParamSpecString

    source§

    impl StructuralPartialEq for ParamSpecString

    source§

    impl Sync for ParamSpecString

    Auto Trait Implementations§

    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
    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 @@ -119,8 +179,8 @@

    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.ParamSpecStringBuilder.html b/git/docs/glib/struct.ParamSpecStringBuilder.html index 944111d98295..273618a89ea8 100644 --- a/git/docs/glib/struct.ParamSpecStringBuilder.html +++ b/git/docs/glib/struct.ParamSpecStringBuilder.html @@ -71,9 +71,9 @@ -
    glib

    Struct ParamSpecStringBuilder

    source
    pub struct ParamSpecStringBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecStringBuilder<'a>

    source

    pub fn default_value(self, value: impl Into<Option<&'a str>>) -> Self

    Default: None`

    -
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecStringBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. -Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +
    glib

    Struct ParamSpecStringBuilder

    source
    pub struct ParamSpecStringBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecStringBuilder<'a>

    source

    pub fn default_value(self, value: impl Into<Option<&'a str>>) -> Self

    Default: None`

    +
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecStringBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. +Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    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
    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> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/git/docs/glib/struct.ParamSpecUChar.html b/git/docs/glib/struct.ParamSpecUChar.html index 20bf07c26a35..bc87a5588f25 100644 --- a/git/docs/glib/struct.ParamSpecUChar.html +++ b/git/docs/glib/struct.ParamSpecUChar.html @@ -71,25 +71,81 @@ -
    glib

    Struct ParamSpecUChar

    source
    pub struct ParamSpecUChar { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl ParamSpecUChar

    source

    pub fn as_ptr(&self) -> *mut GParamSpecUChar

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecUChar) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl ParamSpecUChar

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecUChar

    source

    pub fn default_value(&self) -> u8

    source§

    impl ParamSpecUChar

    source

    pub fn minimum(&self) -> u8

    source

    pub fn maximum(&self) -> u8

    source§

    impl ParamSpecUChar

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    -
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    source

    pub fn default_value(&self) -> &Value

    source

    pub fn name<'a>(&self) -> &'a str

    source

    pub fn name_quark(&self) -> Quark

    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    +
    glib

    Struct ParamSpecUChar

    source
    pub struct ParamSpecUChar { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    +

    Implementations§

    source§

    impl ParamSpecUChar

    source

    pub fn as_ptr(&self) -> *mut GParamSpecUChar

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecUChar) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl ParamSpecUChar

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecUChar

    source

    pub fn default_value(&self) -> u8

    source§

    impl ParamSpecUChar

    source

    pub fn minimum(&self) -> u8

    source

    pub fn maximum(&self) -> u8

    source§

    impl ParamSpecUChar

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    +
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self. +Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self.

    +
    source

    pub fn default_value(&self) -> &Value

    Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified +Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified

    +
    source

    pub fn name<'a>(&self) -> &'a str

    Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self. +Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self.

    +
    source

    pub fn name_quark(&self) -> Quark

    Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name. +Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name.

    +
    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    If this ParamSpec does not have a nickname, the nickname of its redirect target is returned if it has one. -Otherwise, self.name() is returned.

    -
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecUChar

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecUChar

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +Otherwise, self.name() is returned. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self.

    +
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none. +If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none.

    +

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecUChar

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecUChar

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecUChar

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecUChar

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecUChar

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecUChar

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecUChar

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecUChar

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecUChar

    source§

    fn cmp(&self, other: &ParamSpecUChar) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecUChar

    source§

    fn cmp(&self, other: &ParamSpecUChar) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecUChar

    source§

    fn eq(&self, other: &ParamSpecUChar) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecUChar

    source§

    fn partial_cmp(&self, other: &ParamSpecUChar) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more

    source§

    impl PartialEq for ParamSpecUChar

    source§

    fn eq(&self, other: &ParamSpecUChar) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecUChar

    source§

    fn partial_cmp(&self, other: &ParamSpecUChar) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for ParamSpecUChar

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecUChar

    source§

    impl ParamSpecType for ParamSpecUChar

    source§

    impl Send for ParamSpecUChar

    source§

    impl StructuralPartialEq for ParamSpecUChar

    source§

    impl Sync for ParamSpecUChar

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for ParamSpecUChar

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecUChar

    source§

    impl ParamSpecType for ParamSpecUChar

    source§

    impl Send for ParamSpecUChar

    source§

    impl StructuralPartialEq for ParamSpecUChar

    source§

    impl Sync for ParamSpecUChar

    Auto Trait Implementations§

    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
    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 @@ -119,8 +175,8 @@

    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.ParamSpecUCharBuilder.html b/git/docs/glib/struct.ParamSpecUCharBuilder.html index bd1d84ba5bbb..bb64dc3851f2 100644 --- a/git/docs/glib/struct.ParamSpecUCharBuilder.html +++ b/git/docs/glib/struct.ParamSpecUCharBuilder.html @@ -71,11 +71,11 @@ -
    glib

    Struct ParamSpecUCharBuilder

    source
    pub struct ParamSpecUCharBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecUCharBuilder<'a>

    source

    pub fn minimum(self, value: u8) -> Self

    Default: < u8 > :: MIN

    -
    source

    pub fn maximum(self, value: u8) -> Self

    Default: < u8 > :: MAX

    -
    source

    pub fn default_value(self, value: u8) -> Self

    Default: < u8 as Default > :: default()

    -
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecUCharBuilder<'a>

    source§

    fn default() -> ParamSpecUCharBuilder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecUCharBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. -Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +
    glib

    Struct ParamSpecUCharBuilder

    source
    pub struct ParamSpecUCharBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecUCharBuilder<'a>

    source

    pub fn minimum(self, value: u8) -> Self

    Default: < u8 > :: MIN

    +
    source

    pub fn maximum(self, value: u8) -> Self

    Default: < u8 > :: MAX

    +
    source

    pub fn default_value(self, value: u8) -> Self

    Default: < u8 as Default > :: default()

    +
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecUCharBuilder<'a>

    source§

    fn default() -> ParamSpecUCharBuilder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecUCharBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. +Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    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
    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> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/git/docs/glib/struct.ParamSpecUInt.html b/git/docs/glib/struct.ParamSpecUInt.html index b3eb85160ebb..7298affd1de5 100644 --- a/git/docs/glib/struct.ParamSpecUInt.html +++ b/git/docs/glib/struct.ParamSpecUInt.html @@ -71,25 +71,81 @@ -
    glib

    Struct ParamSpecUInt

    source
    pub struct ParamSpecUInt { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl ParamSpecUInt

    source

    pub fn as_ptr(&self) -> *mut GParamSpecUInt

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecUInt) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl ParamSpecUInt

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecUInt

    source

    pub fn default_value(&self) -> u32

    source§

    impl ParamSpecUInt

    source

    pub fn minimum(&self) -> u32

    source

    pub fn maximum(&self) -> u32

    source§

    impl ParamSpecUInt

    source

    pub fn builder(name: &str) -> ParamSpecUIntBuilder<'_>

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    -
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    source

    pub fn default_value(&self) -> &Value

    source

    pub fn name<'a>(&self) -> &'a str

    source

    pub fn name_quark(&self) -> Quark

    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    +
    glib

    Struct ParamSpecUInt

    source
    pub struct ParamSpecUInt { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    +

    Implementations§

    source§

    impl ParamSpecUInt

    source

    pub fn as_ptr(&self) -> *mut GParamSpecUInt

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecUInt) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl ParamSpecUInt

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecUInt

    source

    pub fn default_value(&self) -> u32

    source§

    impl ParamSpecUInt

    source

    pub fn minimum(&self) -> u32

    source

    pub fn maximum(&self) -> u32

    source§

    impl ParamSpecUInt

    source

    pub fn builder(name: &str) -> ParamSpecUIntBuilder<'_>

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    +
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self. +Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self.

    +
    source

    pub fn default_value(&self) -> &Value

    Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified +Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified

    +
    source

    pub fn name<'a>(&self) -> &'a str

    Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self. +Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self.

    +
    source

    pub fn name_quark(&self) -> Quark

    Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name. +Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name.

    +
    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    If this ParamSpec does not have a nickname, the nickname of its redirect target is returned if it has one. -Otherwise, self.name() is returned.

    -
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecUInt

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecUInt

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +Otherwise, self.name() is returned. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self.

    +
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none. +If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none.

    +

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecUInt

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecUInt

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecUInt

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecUInt

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecUInt

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecUInt

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecUInt

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecUInt

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecUInt

    source§

    fn cmp(&self, other: &ParamSpecUInt) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecUInt

    source§

    fn cmp(&self, other: &ParamSpecUInt) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecUInt

    source§

    fn eq(&self, other: &ParamSpecUInt) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecUInt

    source§

    fn partial_cmp(&self, other: &ParamSpecUInt) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more

    source§

    impl PartialEq for ParamSpecUInt

    source§

    fn eq(&self, other: &ParamSpecUInt) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecUInt

    source§

    fn partial_cmp(&self, other: &ParamSpecUInt) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for ParamSpecUInt

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecUInt

    source§

    impl ParamSpecType for ParamSpecUInt

    source§

    impl Send for ParamSpecUInt

    source§

    impl StructuralPartialEq for ParamSpecUInt

    source§

    impl Sync for ParamSpecUInt

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for ParamSpecUInt

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecUInt

    source§

    impl ParamSpecType for ParamSpecUInt

    source§

    impl Send for ParamSpecUInt

    source§

    impl StructuralPartialEq for ParamSpecUInt

    source§

    impl Sync for ParamSpecUInt

    Auto Trait Implementations§

    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
    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 @@ -119,8 +175,8 @@

    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.ParamSpecUInt64.html b/git/docs/glib/struct.ParamSpecUInt64.html index 5f0c6900eaae..da7c4b3e73c4 100644 --- a/git/docs/glib/struct.ParamSpecUInt64.html +++ b/git/docs/glib/struct.ParamSpecUInt64.html @@ -71,25 +71,81 @@ -
    glib

    Struct ParamSpecUInt64

    source
    pub struct ParamSpecUInt64 { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl ParamSpecUInt64

    source

    pub fn as_ptr(&self) -> *mut GParamSpecUInt64

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecUInt64) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl ParamSpecUInt64

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecUInt64

    source

    pub fn default_value(&self) -> u64

    source§

    impl ParamSpecUInt64

    source

    pub fn minimum(&self) -> u64

    source

    pub fn maximum(&self) -> u64

    source§

    impl ParamSpecUInt64

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    -
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    source

    pub fn default_value(&self) -> &Value

    source

    pub fn name<'a>(&self) -> &'a str

    source

    pub fn name_quark(&self) -> Quark

    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    +
    glib

    Struct ParamSpecUInt64

    source
    pub struct ParamSpecUInt64 { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    +

    Implementations§

    source§

    impl ParamSpecUInt64

    source

    pub fn as_ptr(&self) -> *mut GParamSpecUInt64

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecUInt64) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl ParamSpecUInt64

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecUInt64

    source

    pub fn default_value(&self) -> u64

    source§

    impl ParamSpecUInt64

    source

    pub fn minimum(&self) -> u64

    source

    pub fn maximum(&self) -> u64

    source§

    impl ParamSpecUInt64

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    +
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self. +Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self.

    +
    source

    pub fn default_value(&self) -> &Value

    Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified +Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified

    +
    source

    pub fn name<'a>(&self) -> &'a str

    Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self. +Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self.

    +
    source

    pub fn name_quark(&self) -> Quark

    Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name. +Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name.

    +
    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    If this ParamSpec does not have a nickname, the nickname of its redirect target is returned if it has one. -Otherwise, self.name() is returned.

    -
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecUInt64

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecUInt64

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +Otherwise, self.name() is returned. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self.

    +
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none. +If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none.

    +

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecUInt64

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecUInt64

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecUInt64

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecUInt64

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecUInt64

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecUInt64

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecUInt64

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecUInt64

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecUInt64

    source§

    fn cmp(&self, other: &ParamSpecUInt64) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecUInt64

    source§

    fn cmp(&self, other: &ParamSpecUInt64) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecUInt64

    source§

    fn eq(&self, other: &ParamSpecUInt64) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecUInt64

    source§

    fn partial_cmp(&self, other: &ParamSpecUInt64) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecUInt64

    source§

    fn eq(&self, other: &ParamSpecUInt64) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecUInt64

    source§

    fn partial_cmp(&self, other: &ParamSpecUInt64) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for ParamSpecUInt64

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecUInt64

    source§

    impl ParamSpecType for ParamSpecUInt64

    source§

    impl Send for ParamSpecUInt64

    source§

    impl StructuralPartialEq for ParamSpecUInt64

    source§

    impl Sync for ParamSpecUInt64

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for ParamSpecUInt64

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecUInt64

    source§

    impl ParamSpecType for ParamSpecUInt64

    source§

    impl Send for ParamSpecUInt64

    source§

    impl StructuralPartialEq for ParamSpecUInt64

    source§

    impl Sync for ParamSpecUInt64

    Auto Trait Implementations§

    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
    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 @@ -119,8 +175,8 @@

    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.ParamSpecUInt64Builder.html b/git/docs/glib/struct.ParamSpecUInt64Builder.html index 242efa00fe49..42a217e54c22 100644 --- a/git/docs/glib/struct.ParamSpecUInt64Builder.html +++ b/git/docs/glib/struct.ParamSpecUInt64Builder.html @@ -71,11 +71,11 @@ -
    glib

    Struct ParamSpecUInt64Builder

    source
    pub struct ParamSpecUInt64Builder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecUInt64Builder<'a>

    source

    pub fn minimum(self, value: u64) -> Self

    Default: < u64 > :: MIN

    -
    source

    pub fn maximum(self, value: u64) -> Self

    Default: < u64 > :: MAX

    -
    source

    pub fn default_value(self, value: u64) -> Self

    Default: < u64 as Default > :: default()

    -
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecUInt64Builder<'a>

    source§

    fn default() -> ParamSpecUInt64Builder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecUInt64Builder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. -Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +
    glib

    Struct ParamSpecUInt64Builder

    source
    pub struct ParamSpecUInt64Builder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecUInt64Builder<'a>

    source

    pub fn minimum(self, value: u64) -> Self

    Default: < u64 > :: MIN

    +
    source

    pub fn maximum(self, value: u64) -> Self

    Default: < u64 > :: MAX

    +
    source

    pub fn default_value(self, value: u64) -> Self

    Default: < u64 as Default > :: default()

    +
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecUInt64Builder<'a>

    source§

    fn default() -> ParamSpecUInt64Builder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecUInt64Builder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. +Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    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
    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> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/git/docs/glib/struct.ParamSpecUIntBuilder.html b/git/docs/glib/struct.ParamSpecUIntBuilder.html index 870ef00b5854..dadc610fe7f3 100644 --- a/git/docs/glib/struct.ParamSpecUIntBuilder.html +++ b/git/docs/glib/struct.ParamSpecUIntBuilder.html @@ -71,11 +71,11 @@ -
    glib

    Struct ParamSpecUIntBuilder

    source
    pub struct ParamSpecUIntBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecUIntBuilder<'a>

    source

    pub fn minimum(self, value: u32) -> Self

    Default: < u32 > :: MIN

    -
    source

    pub fn maximum(self, value: u32) -> Self

    Default: < u32 > :: MAX

    -
    source

    pub fn default_value(self, value: u32) -> Self

    Default: < u32 as Default > :: default()

    -
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecUIntBuilder<'a>

    source§

    fn default() -> ParamSpecUIntBuilder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecUIntBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. -Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +
    glib

    Struct ParamSpecUIntBuilder

    source
    pub struct ParamSpecUIntBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecUIntBuilder<'a>

    source

    pub fn minimum(self, value: u32) -> Self

    Default: < u32 > :: MIN

    +
    source

    pub fn maximum(self, value: u32) -> Self

    Default: < u32 > :: MAX

    +
    source

    pub fn default_value(self, value: u32) -> Self

    Default: < u32 as Default > :: default()

    +
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecUIntBuilder<'a>

    source§

    fn default() -> ParamSpecUIntBuilder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecUIntBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. +Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    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
    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> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/git/docs/glib/struct.ParamSpecULong.html b/git/docs/glib/struct.ParamSpecULong.html index e5eff0954591..991347f4efdb 100644 --- a/git/docs/glib/struct.ParamSpecULong.html +++ b/git/docs/glib/struct.ParamSpecULong.html @@ -71,25 +71,81 @@ -
    glib

    Struct ParamSpecULong

    source
    pub struct ParamSpecULong { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl ParamSpecULong

    source

    pub fn as_ptr(&self) -> *mut GParamSpecULong

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecULong) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl ParamSpecULong

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecULong

    source

    pub fn default_value(&self) -> c_ulong

    source§

    impl ParamSpecULong

    source

    pub fn minimum(&self) -> c_ulong

    source

    pub fn maximum(&self) -> c_ulong

    source§

    impl ParamSpecULong

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    -
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    source

    pub fn default_value(&self) -> &Value

    source

    pub fn name<'a>(&self) -> &'a str

    source

    pub fn name_quark(&self) -> Quark

    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    +
    glib

    Struct ParamSpecULong

    source
    pub struct ParamSpecULong { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    +

    Implementations§

    source§

    impl ParamSpecULong

    source

    pub fn as_ptr(&self) -> *mut GParamSpecULong

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecULong) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl ParamSpecULong

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecULong

    source

    pub fn default_value(&self) -> c_ulong

    source§

    impl ParamSpecULong

    source

    pub fn minimum(&self) -> c_ulong

    source

    pub fn maximum(&self) -> c_ulong

    source§

    impl ParamSpecULong

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    +
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self. +Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self.

    +
    source

    pub fn default_value(&self) -> &Value

    Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified +Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified

    +
    source

    pub fn name<'a>(&self) -> &'a str

    Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self. +Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self.

    +
    source

    pub fn name_quark(&self) -> Quark

    Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name. +Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name.

    +
    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    If this ParamSpec does not have a nickname, the nickname of its redirect target is returned if it has one. -Otherwise, self.name() is returned.

    -
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecULong

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecULong

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +Otherwise, self.name() is returned. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self.

    +
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none. +If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none.

    +

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecULong

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecULong

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecULong

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecULong

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecULong

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecULong

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecULong

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecULong

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecULong

    source§

    fn cmp(&self, other: &ParamSpecULong) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecULong

    source§

    fn cmp(&self, other: &ParamSpecULong) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecULong

    source§

    fn eq(&self, other: &ParamSpecULong) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecULong

    source§

    fn partial_cmp(&self, other: &ParamSpecULong) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecULong

    source§

    fn eq(&self, other: &ParamSpecULong) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecULong

    source§

    fn partial_cmp(&self, other: &ParamSpecULong) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for ParamSpecULong

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecULong

    source§

    impl ParamSpecType for ParamSpecULong

    source§

    impl Send for ParamSpecULong

    source§

    impl StructuralPartialEq for ParamSpecULong

    source§

    impl Sync for ParamSpecULong

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for ParamSpecULong

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecULong

    source§

    impl ParamSpecType for ParamSpecULong

    source§

    impl Send for ParamSpecULong

    source§

    impl StructuralPartialEq for ParamSpecULong

    source§

    impl Sync for ParamSpecULong

    Auto Trait Implementations§

    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
    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 @@ -119,8 +175,8 @@

    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.ParamSpecULongBuilder.html b/git/docs/glib/struct.ParamSpecULongBuilder.html index 76f666f76513..65923f54a3d1 100644 --- a/git/docs/glib/struct.ParamSpecULongBuilder.html +++ b/git/docs/glib/struct.ParamSpecULongBuilder.html @@ -71,11 +71,11 @@ -
    glib

    Struct ParamSpecULongBuilder

    source
    pub struct ParamSpecULongBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecULongBuilder<'a>

    source

    pub fn minimum(self, value: c_ulong) -> Self

    Default: < libc::c_ulong > :: MIN

    -
    source

    pub fn maximum(self, value: c_ulong) -> Self

    Default: < libc::c_ulong > :: MAX

    -
    source

    pub fn default_value(self, value: c_ulong) -> Self

    Default: < libc::c_ulong as Default > :: default()

    -
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecULongBuilder<'a>

    source§

    fn default() -> ParamSpecULongBuilder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecULongBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. -Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +
    glib

    Struct ParamSpecULongBuilder

    source
    pub struct ParamSpecULongBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecULongBuilder<'a>

    source

    pub fn minimum(self, value: c_ulong) -> Self

    Default: < libc::c_ulong > :: MIN

    +
    source

    pub fn maximum(self, value: c_ulong) -> Self

    Default: < libc::c_ulong > :: MAX

    +
    source

    pub fn default_value(self, value: c_ulong) -> Self

    Default: < libc::c_ulong as Default > :: default()

    +
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecULongBuilder<'a>

    source§

    fn default() -> ParamSpecULongBuilder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecULongBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. +Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    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
    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> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/git/docs/glib/struct.ParamSpecUnichar.html b/git/docs/glib/struct.ParamSpecUnichar.html index 581c9b32371b..f3de178b2fbf 100644 --- a/git/docs/glib/struct.ParamSpecUnichar.html +++ b/git/docs/glib/struct.ParamSpecUnichar.html @@ -71,25 +71,81 @@ -
    glib

    Struct ParamSpecUnichar

    source
    pub struct ParamSpecUnichar { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl ParamSpecUnichar

    source

    pub fn as_ptr(&self) -> *mut GParamSpecUnichar

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecUnichar) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl ParamSpecUnichar

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecUnichar

    source§

    impl ParamSpecUnichar

    source

    pub fn builder(name: &str, default_value: char) -> ParamSpecUnicharBuilder<'_>

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    -
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    source

    pub fn default_value(&self) -> &Value

    source

    pub fn name<'a>(&self) -> &'a str

    source

    pub fn name_quark(&self) -> Quark

    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    +
    glib

    Struct ParamSpecUnichar

    source
    pub struct ParamSpecUnichar { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    +

    Implementations§

    source§

    impl ParamSpecUnichar

    source

    pub fn as_ptr(&self) -> *mut GParamSpecUnichar

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecUnichar) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl ParamSpecUnichar

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecUnichar

    source§

    impl ParamSpecUnichar

    source

    pub fn builder(name: &str, default_value: char) -> ParamSpecUnicharBuilder<'_>

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    +
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self. +Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self.

    +
    source

    pub fn default_value(&self) -> &Value

    Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified +Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified

    +
    source

    pub fn name<'a>(&self) -> &'a str

    Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self. +Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self.

    +
    source

    pub fn name_quark(&self) -> Quark

    Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name. +Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name.

    +
    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    If this ParamSpec does not have a nickname, the nickname of its redirect target is returned if it has one. -Otherwise, self.name() is returned.

    -
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecUnichar

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecUnichar

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +Otherwise, self.name() is returned. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self.

    +
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none. +If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none.

    +

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecUnichar

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecUnichar

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecUnichar

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecUnichar

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecUnichar

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecUnichar

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecUnichar

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecUnichar

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecUnichar

    source§

    fn cmp(&self, other: &ParamSpecUnichar) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecUnichar

    source§

    fn cmp(&self, other: &ParamSpecUnichar) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecUnichar

    source§

    fn eq(&self, other: &ParamSpecUnichar) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecUnichar

    source§

    fn partial_cmp(&self, other: &ParamSpecUnichar) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more

    source§

    impl PartialEq for ParamSpecUnichar

    source§

    fn eq(&self, other: &ParamSpecUnichar) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecUnichar

    source§

    fn partial_cmp(&self, other: &ParamSpecUnichar) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for ParamSpecUnichar

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecUnichar

    source§

    impl ParamSpecType for ParamSpecUnichar

    source§

    impl Send for ParamSpecUnichar

    source§

    impl StructuralPartialEq for ParamSpecUnichar

    source§

    impl Sync for ParamSpecUnichar

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for ParamSpecUnichar

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecUnichar

    source§

    impl ParamSpecType for ParamSpecUnichar

    source§

    impl Send for ParamSpecUnichar

    source§

    impl StructuralPartialEq for ParamSpecUnichar

    source§

    impl Sync for ParamSpecUnichar

    Auto Trait Implementations§

    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
    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 @@ -119,8 +175,8 @@

    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.ParamSpecUnicharBuilder.html b/git/docs/glib/struct.ParamSpecUnicharBuilder.html index 0aea9faebaa3..77ca858e1481 100644 --- a/git/docs/glib/struct.ParamSpecUnicharBuilder.html +++ b/git/docs/glib/struct.ParamSpecUnicharBuilder.html @@ -71,8 +71,8 @@ -
    glib

    Struct ParamSpecUnicharBuilder

    source
    pub struct ParamSpecUnicharBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecUnicharBuilder<'a>

    source

    pub fn default_value(self, value: char) -> Self

    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecUnicharBuilder<'a>

    source§

    fn default() -> ParamSpecUnicharBuilder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecUnicharBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. -Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +
    glib

    Struct ParamSpecUnicharBuilder

    source
    pub struct ParamSpecUnicharBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecUnicharBuilder<'a>

    source

    pub fn default_value(self, value: char) -> Self

    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> Default for ParamSpecUnicharBuilder<'a>

    source§

    fn default() -> ParamSpecUnicharBuilder<'a>

    Returns the “default value” for a type. Read more
    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecUnicharBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. +Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    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
    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> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/git/docs/glib/struct.ParamSpecValueArray.html b/git/docs/glib/struct.ParamSpecValueArray.html index f6aa50d65177..596f893f363e 100644 --- a/git/docs/glib/struct.ParamSpecValueArray.html +++ b/git/docs/glib/struct.ParamSpecValueArray.html @@ -1,4 +1,4 @@ -ParamSpecValueArray in glib - Rust +ParamSpecValueArray in glib - Rust -
    glib

    Struct ParamSpecValueArray

    source
    pub struct ParamSpecValueArray { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl ParamSpecValueArray

    source

    pub fn as_ptr(&self) -> *mut GParamSpecValueArray

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecValueArray) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl ParamSpecValueArray

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecValueArray

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    -
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    source

    pub fn default_value(&self) -> &Value

    source

    pub fn name<'a>(&self) -> &'a str

    source

    pub fn name_quark(&self) -> Quark

    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    +
    glib

    Struct ParamSpecValueArray

    source
    pub struct ParamSpecValueArray { /* private fields */ }
    Expand description

    A ParamSpec derived structure that contains the meta data for GValueArray properties. +A ParamSpec derived structure that contains the meta data for GValueArray properties.

    +

    GLib type: Shared boxed type with reference counted clone semantics.

    +

    Implementations§

    source§

    impl ParamSpecValueArray

    source

    pub fn as_ptr(&self) -> *mut GParamSpecValueArray

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecValueArray) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl ParamSpecValueArray

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecValueArray

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    +
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self. +Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self.

    +
    source

    pub fn default_value(&self) -> &Value

    Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified +Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified

    +
    source

    pub fn name<'a>(&self) -> &'a str

    Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self. +Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self.

    +
    source

    pub fn name_quark(&self) -> Quark

    Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name. +Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name.

    +
    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    If this ParamSpec does not have a nickname, the nickname of its redirect target is returned if it has one. -Otherwise, self.name() is returned.

    -
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecValueArray

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecValueArray

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +Otherwise, self.name() is returned. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self.

    +
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none. +If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none.

    +

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecValueArray

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecValueArray

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecValueArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecValueArray

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecValueArray

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecValueArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecValueArray

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecValueArray

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecValueArray

    source§

    fn cmp(&self, other: &ParamSpecValueArray) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecValueArray

    source§

    fn cmp(&self, other: &ParamSpecValueArray) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecValueArray

    source§

    fn eq(&self, other: &ParamSpecValueArray) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecValueArray

    source§

    fn partial_cmp(&self, other: &ParamSpecValueArray) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more

    source§

    impl PartialEq for ParamSpecValueArray

    source§

    fn eq(&self, other: &ParamSpecValueArray) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecValueArray

    source§

    fn partial_cmp(&self, other: &ParamSpecValueArray) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for ParamSpecValueArray

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecValueArray

    source§

    impl ParamSpecType for ParamSpecValueArray

    source§

    impl Send for ParamSpecValueArray

    source§

    impl StructuralPartialEq for ParamSpecValueArray

    source§

    impl Sync for ParamSpecValueArray

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for ParamSpecValueArray

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecValueArray

    source§

    impl ParamSpecType for ParamSpecValueArray

    source§

    impl Send for ParamSpecValueArray

    source§

    impl StructuralPartialEq for ParamSpecValueArray

    source§

    impl Sync for ParamSpecValueArray

    Auto Trait Implementations§

    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
    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 @@ -119,8 +177,8 @@

    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.ParamSpecValueArrayBuilder.html b/git/docs/glib/struct.ParamSpecValueArrayBuilder.html index b0bf47d4f680..e607af9a43f6 100644 --- a/git/docs/glib/struct.ParamSpecValueArrayBuilder.html +++ b/git/docs/glib/struct.ParamSpecValueArrayBuilder.html @@ -71,9 +71,9 @@ -
    glib

    Struct ParamSpecValueArrayBuilder

    source
    pub struct ParamSpecValueArrayBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecValueArrayBuilder<'a>

    source

    pub fn element_spec(self, value: impl Into<Option<&'a ParamSpec>>) -> Self

    Default: None`

    -
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecValueArrayBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. -Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +
    glib

    Struct ParamSpecValueArrayBuilder

    source
    pub struct ParamSpecValueArrayBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecValueArrayBuilder<'a>

    source

    pub fn element_spec(self, value: impl Into<Option<&'a ParamSpec>>) -> Self

    Default: None`

    +
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecValueArrayBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. +Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    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
    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> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/git/docs/glib/struct.ParamSpecVariant.html b/git/docs/glib/struct.ParamSpecVariant.html index 6588d219c5b5..1d351900ef35 100644 --- a/git/docs/glib/struct.ParamSpecVariant.html +++ b/git/docs/glib/struct.ParamSpecVariant.html @@ -1,4 +1,4 @@ -ParamSpecVariant in glib - Rust +ParamSpecVariant in glib - Rust -
    glib

    Struct ParamSpecVariant

    source
    pub struct ParamSpecVariant { /* private fields */ }
    Expand description

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl ParamSpecVariant

    source

    pub fn as_ptr(&self) -> *mut GParamSpecVariant

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecVariant) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl ParamSpecVariant

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecVariant

    source§

    impl ParamSpecVariant

    source

    pub fn type_(&self) -> Option<&VariantTy>

    source

    pub fn builder<'a>( +
    glib

    Struct ParamSpecVariant

    source
    pub struct ParamSpecVariant { /* private fields */ }
    Expand description

    A ParamSpec derived structure that contains the meta data for GVariant properties.

    +

    When comparing values with g_param_values_cmp(), scalar values with the same +type will be compared with g_variant_compare(). Other non-None variants will +be checked for equality with g_variant_equal(), and their sort order is +otherwise undefined. None is ordered before non-None variants. Two None +values compare equal. +A ParamSpec derived structure that contains the meta data for GVariant properties.

    +

    When comparing values with g_param_values_cmp(), scalar values with the same +type will be compared with g_variant_compare(). Other non-None variants will +be checked for equality with g_variant_equal(), and their sort order is +otherwise undefined. None is ordered before non-None variants. Two None +values compare equal.

    +

    GLib type: Shared boxed type with reference counted clone semantics.

    +

    Implementations§

    source§

    impl ParamSpecVariant

    source

    pub fn as_ptr(&self) -> *mut GParamSpecVariant

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GParamSpecVariant) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl ParamSpecVariant

    source

    pub fn upcast(self) -> ParamSpec

    source

    pub fn upcast_ref(&self) -> &ParamSpec

    source§

    impl ParamSpecVariant

    source§

    impl ParamSpecVariant

    source

    pub fn type_(&self) -> Option<&VariantTy>

    source

    pub fn builder<'a>( name: &'a str, type_: &'a VariantTy, -) -> ParamSpecVariantBuilder<'a>

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    -
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    source

    pub fn default_value(&self) -> &Value

    source

    pub fn name<'a>(&self) -> &'a str

    source

    pub fn name_quark(&self) -> Quark

    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    +) -> ParamSpecVariantBuilder<'a>

    Methods from Deref<Target = ParamSpec>§

    source

    pub fn as_ptr(&self) -> *mut GParamSpec

    Return the inner pointer to the underlying C value.

    +
    source

    pub fn downcast_ref<T: ParamSpecType>(&self) -> Option<&T>

    source

    pub fn type_(&self) -> Type

    source

    pub fn is<T: StaticType>(&self) -> bool

    source

    pub fn value_type(&self) -> Type

    source

    pub fn value_is_valid(&self, value: &Value) -> bool

    Available on crate feature v2_74 only.
    source

    pub fn owner_type(&self) -> Type

    source

    pub fn flags(&self) -> ParamFlags

    source

    pub fn blurb(&self) -> Option<&str>

    Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self. +Get the short description of a ParamSpec.

    +
    §Returns
    +

    the short description of self.

    +
    source

    pub fn default_value(&self) -> &Value

    Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified +Gets the default value of self as a pointer to a Value.

    +

    The Value will remain valid for the life of self.

    +
    §Returns
    +

    a pointer to a Value which must not be modified

    +
    source

    pub fn name<'a>(&self) -> &'a str

    Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self. +Get the name of a ParamSpec.

    +

    The name is always an “interned” string (as per g_intern_string()). +This allows for pointer-value comparisons.

    +
    §Returns
    +

    the name of self.

    +
    source

    pub fn name_quark(&self) -> Quark

    Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name. +Gets the GQuark for the name.

    +
    §Returns
    +

    the GQuark for self->name.

    +
    source

    pub fn nick(&self) -> &str

    Returns the nickname of this ParamSpec.

    If this ParamSpec does not have a nickname, the nickname of its redirect target is returned if it has one. -Otherwise, self.name() is returned.

    -
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecVariant

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecVariant

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +Otherwise, self.name() is returned. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self. +Get the nickname of a ParamSpec.

    +
    §Returns
    +

    the nickname of self.

    +
    source

    pub fn redirect_target(&self) -> Option<ParamSpec>

    If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none. +If the paramspec redirects operations to another paramspec, +returns that paramspec. Redirect is used typically for +providing a new implementation of a property in a derived +type while preserving all the properties from the parent +type. Redirection is established by creating a property +of type ParamSpecOverride. See g_object_class_override_property() +for an example of the use of this capability.

    +
    §Returns
    +

    paramspec to which requests on this +paramspec should be redirected, or None if none.

    +

    Trait Implementations§

    source§

    impl AsRef<ParamSpec> for ParamSpecVariant

    source§

    fn as_ref(&self) -> &ParamSpec

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ParamSpecVariant

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecVariant

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecVariant

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecVariant

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ParamSpecVariant

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ParamSpecVariant

    source§

    type Target = ParamSpec

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Hash for ParamSpecVariant

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecVariant

    source§

    fn cmp(&self, other: &ParamSpecVariant) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ParamSpecVariant

    source§

    fn cmp(&self, other: &ParamSpecVariant) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for ParamSpecVariant

    source§

    fn eq(&self, other: &ParamSpecVariant) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecVariant

    source§

    fn partial_cmp(&self, other: &ParamSpecVariant) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more

    source§

    impl PartialEq for ParamSpecVariant

    source§

    fn eq(&self, other: &ParamSpecVariant) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for ParamSpecVariant

    source§

    fn partial_cmp(&self, other: &ParamSpecVariant) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for ParamSpecVariant

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecVariant

    source§

    impl ParamSpecType for ParamSpecVariant

    source§

    impl Send for ParamSpecVariant

    source§

    impl StructuralPartialEq for ParamSpecVariant

    source§

    impl Sync for ParamSpecVariant

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for ParamSpecVariant

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for ParamSpecVariant

    source§

    impl ParamSpecType for ParamSpecVariant

    source§

    impl Send for ParamSpecVariant

    source§

    impl StructuralPartialEq for ParamSpecVariant

    source§

    impl Sync for ParamSpecVariant

    Auto Trait Implementations§

    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
    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 @@ -122,8 +190,8 @@

    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.ParamSpecVariantBuilder.html b/git/docs/glib/struct.ParamSpecVariantBuilder.html index 118a10fe511a..82f860d97f58 100644 --- a/git/docs/glib/struct.ParamSpecVariantBuilder.html +++ b/git/docs/glib/struct.ParamSpecVariantBuilder.html @@ -71,9 +71,9 @@ -
    glib

    Struct ParamSpecVariantBuilder

    source
    pub struct ParamSpecVariantBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecVariantBuilder<'a>

    source

    pub fn default_value(self, value: impl Into<Option<&'a Variant>>) -> Self

    Default: None`

    -
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecVariantBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. -Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +
    glib

    Struct ParamSpecVariantBuilder

    source
    pub struct ParamSpecVariantBuilder<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> ParamSpecVariantBuilder<'a>

    source

    pub fn default_value(self, value: impl Into<Option<&'a Variant>>) -> Self

    Default: None`

    +
    source

    pub fn build(self) -> ParamSpec

    Trait Implementations§

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecVariantBuilder<'a>

    source§

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.
    source§

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.
    source§

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.
    source§

    fn current_flags(&self) -> ParamFlags

    Implementation detail.
    source§

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. +Otherwise, self.name will be used.
    source§

    fn blurb(self, blurb: &'a str) -> Self

    Default: None
    source§

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE
    source§

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.
    source§

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.
    source§

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.
    source§

    fn construct(self) -> Self

    Mark the property as construct
    source§

    fn construct_only(self) -> Self

    Mark the property as construct only
    source§

    fn lax_validation(self) -> Self

    Mark the property as lax validation
    source§

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify
    source§

    fn deprecated(self) -> Self

    Mark the property as deprecated

    Auto Trait Implementations§

    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
    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> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/git/docs/glib/struct.Regex.html b/git/docs/glib/struct.Regex.html index 38b1f3eb4cfd..c34f4fd99bbe 100644 --- a/git/docs/glib/struct.Regex.html +++ b/git/docs/glib/struct.Regex.html @@ -71,7 +71,53 @@ -
    glib

    Struct Regex

    source
    pub struct Regex { /* private fields */ }
    Expand description

    A GRegex is the “compiled” form of a regular expression pattern.

    +
    glib

    Struct Regex

    source
    pub struct Regex { /* private fields */ }
    Expand description

    A GRegex is the “compiled” form of a regular expression pattern.

    +

    GRegex implements regular expression pattern matching using syntax and +semantics similar to Perl regular expression. See the +PCRE documentation for the syntax definition.

    +

    Some functions accept a @start_position argument, setting it differs +from just passing over a shortened string and setting RegexMatchFlags::NOTBOL +in the case of a pattern that begins with any kind of lookbehind assertion. +For example, consider the pattern “\Biss\B” which finds occurrences of “iss” +in the middle of words. (“\B” matches only if the current position in the +subject is not a word boundary.) When applied to the string “Mississipi” +from the fourth byte, namely “issipi”, it does not match, because “\B” is +always false at the start of the subject, which is deemed to be a word +boundary. However, if the entire string is passed , but with +@start_position set to 4, it finds the second occurrence of “iss” because +it is able to look behind the starting point to discover that it is +preceded by a letter.

    +

    Note that, unless you set the RegexCompileFlags::RAW flag, all the strings passed +to these functions must be encoded in UTF-8. The lengths and the positions +inside the strings are in bytes and not in characters, so, for instance, +“\xc3\xa0” (i.e. “à”) is two bytes long but it is treated as a +single character. If you set RegexCompileFlags::RAW the strings can be non-valid +UTF-8 strings and a byte is treated as a character, so “\xc3\xa0” is two +bytes and two characters long.

    +

    When matching a pattern, “\n” matches only against a “\n” character in +the string, and “\r” matches only a “\r” character. To match any newline +sequence use “\R”. This particular group matches either the two-character +sequence CR + LF (“\r\n”), or one of the single characters LF (linefeed, +U+000A, “\n”), VT vertical tab, U+000B, “\v”), FF (formfeed, U+000C, “\f”), +CR (carriage return, U+000D, “\r”), NEL (next line, U+0085), LS (line +separator, U+2028), or PS (paragraph separator, U+2029).

    +

    The behaviour of the dot, circumflex, and dollar metacharacters are +affected by newline characters, the default is to recognize any newline +character (the same characters recognized by “\R”). This can be changed +with G_REGEX_NEWLINE_CR, G_REGEX_NEWLINE_LF and G_REGEX_NEWLINE_CRLF +compile options, and with G_REGEX_MATCH_NEWLINE_ANY, +G_REGEX_MATCH_NEWLINE_CR, G_REGEX_MATCH_NEWLINE_LF and +G_REGEX_MATCH_NEWLINE_CRLF match options. These settings are also +relevant when compiling a pattern if G_REGEX_EXTENDED is set, and an +unescaped “#” outside a character class is encountered. This indicates +a comment that lasts until after the next newline.

    +

    Creating and manipulating the same GRegex structure from different +threads is not a problem as GRegex does not modify its internal +state between creation and destruction, on the other hand GMatchInfo +is not threadsafe.

    +

    The regular expressions low-level functionalities are obtained through +the excellent PCRE library written by Philip Hazel. +A GRegex is the “compiled” form of a regular expression pattern.

    GRegex implements regular expression pattern matching using syntax and semantics similar to Perl regular expression. See the PCRE documentation for the syntax definition.

    @@ -118,9 +164,9 @@

    The regular expressions low-level functionalities are obtained through the excellent PCRE library written by Philip Hazel.

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl Regex

    source

    pub fn as_ptr(&self) -> *mut GRegex

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GRegex) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl Regex

    source

    pub fn new( +

    Implementations§

    source§

    impl Regex

    source

    pub fn as_ptr(&self) -> *mut GRegex

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GRegex) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl Regex

    source

    pub fn new( pattern: &str, compile_options: RegexCompileFlags, match_options: RegexMatchFlags, @@ -134,43 +180,89 @@

    §m

    match options for the regular expression, or 0

    §Returns

    a #GRegex structure or None if an error occurred. Call -g_regex_unref() when you are done with it

    -
    source

    pub fn capture_count(&self) -> i32

    Returns the number of capturing subpatterns in the pattern.

    +g_regex_unref() when you are done with it +Compiles the regular expression to an internal form, and does +the initial setup of the #GRegex structure.

    +
    §pattern
    +

    the regular expression

    +
    §compile_options
    +

    compile options for the regular expression, or 0

    +
    §match_options
    +

    match options for the regular expression, or 0

    §Returns
    +

    a #GRegex structure or None if an error occurred. Call +g_regex_unref() when you are done with it

    +
    source

    pub fn capture_count(&self) -> i32

    Returns the number of capturing subpatterns in the pattern.

    +
    §Returns
    +

    the number of capturing subpatterns +Returns the number of capturing subpatterns in the pattern.

    +
    §Returns

    the number of capturing subpatterns

    -
    source

    pub fn compile_flags(&self) -> RegexCompileFlags

    Returns the compile options that @self was created with.

    +
    source

    pub fn compile_flags(&self) -> RegexCompileFlags

    Returns the compile options that @self was created with.

    Depending on the version of PCRE that is used, this may or may not include flags set by option expressions such as (?i) found at the top-level within the compiled pattern.

    -
    §Returns
    +
    §Returns
    +

    flags from #GRegexCompileFlags +Returns the compile options that @self was created with.

    +

    Depending on the version of PCRE that is used, this may or may not +include flags set by option expressions such as (?i) found at the +top-level within the compiled pattern.

    +
    §Returns

    flags from #GRegexCompileFlags

    -
    source

    pub fn has_cr_or_lf(&self) -> bool

    Checks whether the pattern contains explicit CR or LF references.

    -
    §Returns
    +
    source

    pub fn has_cr_or_lf(&self) -> bool

    Checks whether the pattern contains explicit CR or LF references.

    +
    §Returns
    +

    true if the pattern contains explicit CR or LF references +Checks whether the pattern contains explicit CR or LF references.

    +
    §Returns

    true if the pattern contains explicit CR or LF references

    -
    source

    pub fn match_flags(&self) -> RegexMatchFlags

    Returns the match options that @self was created with.

    -
    §Returns
    +
    source

    pub fn match_flags(&self) -> RegexMatchFlags

    Returns the match options that @self was created with.

    +
    §Returns
    +

    flags from #GRegexMatchFlags +Returns the match options that @self was created with.

    +
    §Returns

    flags from #GRegexMatchFlags

    -
    source

    pub fn max_backref(&self) -> i32

    Returns the number of the highest back reference +

    source

    pub fn max_backref(&self) -> i32

    Returns the number of the highest back reference in the pattern, or 0 if the pattern does not contain back references.

    -
    §Returns
    +
    §Returns
    +

    the number of the highest back reference +Returns the number of the highest back reference +in the pattern, or 0 if the pattern does not contain +back references.

    +
    §Returns

    the number of the highest back reference

    -
    source

    pub fn max_lookbehind(&self) -> i32

    Gets the number of characters in the longest lookbehind assertion in the +

    source

    pub fn max_lookbehind(&self) -> i32

    Gets the number of characters in the longest lookbehind assertion in the pattern. This information is useful when doing multi-segment matching using the partial matching facilities.

    -
    §Returns
    +
    §Returns
    +

    the number of characters in the longest lookbehind assertion. +Gets the number of characters in the longest lookbehind assertion in the +pattern. This information is useful when doing multi-segment matching using +the partial matching facilities.

    +
    §Returns

    the number of characters in the longest lookbehind assertion.

    -
    source

    pub fn pattern(&self) -> GString

    Gets the pattern string associated with @self, i.e. a copy of +

    source

    pub fn pattern(&self) -> GString

    Gets the pattern string associated with @self, i.e. a copy of the string passed to g_regex_new().

    -
    §Returns
    +
    §Returns
    +

    the pattern of @self +Gets the pattern string associated with @self, i.e. a copy of +the string passed to g_regex_new().

    +
    §Returns

    the pattern of @self

    -
    source§

    impl Regex

    source

    pub fn string_number(&self, name: impl IntoGStr) -> i32

    Retrieves the number of the subexpression named @name.

    +
    source§

    impl Regex

    source

    pub fn string_number(&self, name: impl IntoGStr) -> i32

    Retrieves the number of the subexpression named @name.

    §name

    name of the subexpression

    -
    §Returns
    +
    §Returns
    +

    The number of the subexpression or -1 if @name +does not exists +Retrieves the number of the subexpression named @name.

    +
    §name
    +

    name of the subexpression

    +
    §Returns

    The number of the subexpression or -1 if @name does not exists

    -
    source

    pub fn escape_nul(string: impl IntoGStr) -> GString

    Escapes the nul characters in @string to “\x00”. It can be used +

    source

    pub fn escape_nul(string: impl IntoGStr) -> GString

    Escapes the nul characters in @string to “\x00”. It can be used to compile a regex with embedded nul characters.

    For completeness, @length can be -1 for a nul-terminated string. In this case the output string will be of course equal to @string.

    @@ -178,21 +270,43 @@
    §stringthe string to escape

    §length

    the length of @string

    -
    §Returns
    +
    §Returns
    +

    a newly-allocated escaped string +Escapes the nul characters in @string to “\x00”. It can be used +to compile a regex with embedded nul characters.

    +

    For completeness, @length can be -1 for a nul-terminated string. +In this case the output string will be of course equal to @string.

    +
    §string
    +

    the string to escape

    +
    §length
    +

    the length of @string

    +
    §Returns

    a newly-allocated escaped string

    -
    source

    pub fn escape_string(string: impl IntoGStr) -> GString

    Escapes the special characters used for regular expressions +

    source

    pub fn escape_string(string: impl IntoGStr) -> GString

    Escapes the special characters used for regular expressions in @string, for instance “a.b*c” becomes “a.b*c”. This function is useful to dynamically generate regular expressions.

    @string can contain nul characters that are replaced with “\0”, in this case remember to specify the correct length of @string in @length.

    -
    §string
    +
    §string

    the string to escape

    -
    §length
    +
    §length

    the length of @string, in bytes, or -1 if @string is nul-terminated

    -
    §Returns
    +
    §Returns
    +

    a newly-allocated escaped string +Escapes the special characters used for regular expressions +in @string, for instance “a.b*c” becomes “a.b*c”. This +function is useful to dynamically generate regular expressions.

    +

    @string can contain nul characters that are replaced with “\0”, +in this case remember to specify the correct length of @string +in @length.

    +
    §string
    +

    the string to escape

    +
    §length
    +

    the length of @string, in bytes, or -1 if @string is nul-terminated

    +
    §Returns

    a newly-allocated escaped string

    -
    source

    pub fn check_replacement(replacement: impl IntoGStr) -> Result<bool, Error>

    Checks whether @replacement is a valid replacement string +

    source

    pub fn check_replacement(replacement: impl IntoGStr) -> Result<bool, Error>

    Checks whether @replacement is a valid replacement string (see g_regex_replace()), i.e. that all escape sequences in it are valid.

    If @has_references is not None then @replacement is checked @@ -202,12 +316,27 @@

    §Returns
    subpattern) requires valid #GMatchInfo object.

    §replacement

    the replacement string

    -
    §Returns
    +
    §Returns

    whether @replacement is a valid replacement string

    §has_references

    location to store information about +references in @replacement or None +Checks whether @replacement is a valid replacement string +(see g_regex_replace()), i.e. that all escape sequences in +it are valid.

    +

    If @has_references is not None then @replacement is checked +for pattern references. For instance, replacement text ‘foo\n’ +does not contain references and may be evaluated without information +about actual match, but ‘\0\1’ (whole match followed by first +subpattern) requires valid #GMatchInfo object.

    +
    §replacement
    +

    the replacement string

    +
    §Returns
    +

    whether @replacement is a valid replacement string

    +
    §has_references
    +

    location to store information about references in @replacement or None

    -
    source

    pub fn match_simple( +

    source

    pub fn match_simple( pattern: impl IntoGStr, string: impl IntoGStr, compile_options: RegexCompileFlags, @@ -220,17 +349,35 @@

    §If this function is to be called on the same @pattern more than once, it’s more efficient to compile the pattern once with g_regex_new() and then use g_regex_match().

    -
    §pattern
    +
    §pattern

    the regular expression

    -
    §string
    +
    §string

    the string to scan for matches

    -
    §compile_options
    +
    §compile_options

    compile options for the regular expression, or 0

    -
    §match_options
    +
    §match_options

    match options, or 0

    -
    §Returns
    +
    §Returns
    +

    true if the string matched, false otherwise +Scans for a match in @string for @pattern.

    +

    This function is equivalent to g_regex_match() but it does not +require to compile the pattern with g_regex_new(), avoiding some +lines of code when you need just to do a match without extracting +substrings, capture counts, and so on.

    +

    If this function is to be called on the same @pattern more than +once, it’s more efficient to compile the pattern once with +g_regex_new() and then use g_regex_match().

    +
    §pattern
    +

    the regular expression

    +
    §string
    +

    the string to scan for matches

    +
    §compile_options
    +

    compile options for the regular expression, or 0

    +
    §match_options
    +

    match options, or 0

    +
    §Returns

    true if the string matched, false otherwise

    -
    source

    pub fn replace( +

    source

    pub fn replace( &self, string: impl IntoGStr, start_position: i32, @@ -259,17 +406,50 @@

    §Returns

    Setting @start_position differs from just passing over a shortened string and setting RegexMatchFlags::NOTBOL in the case of a pattern that begins with any kind of lookbehind assertion, such as “\b”.

    -
    §string
    +
    §string

    the string to perform matches against

    §start_position

    starting index of the string to match, in bytes

    -
    §replacement
    +
    §replacement

    text to replace each match with

    -
    §match_options
    +
    §match_options

    options for the match

    -
    §Returns
    +
    §Returns
    +

    a newly allocated string containing the replacements +Replaces all occurrences of the pattern in @self with the +replacement text. Backreferences of the form \number or +\g<number> in the replacement text are interpolated by the +number-th captured subexpression of the match, \g<name> refers +to the captured subexpression with the given name. \0 refers +to the complete match, but \0 followed by a number is the octal +representation of a character. To include a literal \ in the +replacement, write \\\\.

    +

    There are also escapes that changes the case of the following text:

    +
      +
    • \l: Convert to lower case the next character
    • +
    • \u: Convert to upper case the next character
    • +
    • \L: Convert to lower case till \E
    • +
    • \U: Convert to upper case till \E
    • +
    • \E: End case modification
    • +
    +

    If you do not need to use backreferences use g_regex_replace_literal().

    +

    The @replacement string must be UTF-8 encoded even if RegexCompileFlags::RAW was +passed to g_regex_new(). If you want to use not UTF-8 encoded strings +you can use g_regex_replace_literal().

    +

    Setting @start_position differs from just passing over a shortened +string and setting RegexMatchFlags::NOTBOL in the case of a pattern that +begins with any kind of lookbehind assertion, such as “\b”.

    +
    §string
    +

    the string to perform matches against

    +
    §start_position
    +

    starting index of the string to match, in bytes

    +
    §replacement
    +

    text to replace each match with

    +
    §match_options
    +

    options for the match

    +
    §Returns

    a newly allocated string containing the replacements

    -

    source

    pub fn match_all<'input>( +

    source

    pub fn match_all<'input>( &self, string: &'input GStr, match_options: RegexMatchFlags, @@ -285,16 +465,37 @@

    §Returns

    @string is not copied and is used in #GMatchInfo internally. If you use any #GMatchInfo method (except g_match_info_free()) after freeing or modifying @string then the behaviour is undefined.

    -
    §string
    +
    §string

    the string to scan for matches

    -
    §match_options
    +
    §match_options

    match options

    -
    §Returns
    +
    §Returns

    true is the string matched, false otherwise

    §match_info

    pointer to location where to store +the #GMatchInfo, or None if you do not need it +Using the standard algorithm for regular expression matching only +the longest match in the string is retrieved. This function uses +a different algorithm so it can retrieve all the possible matches. +For more documentation see g_regex_match_all_full().

    +

    A #GMatchInfo structure, used to get information on the match, is +stored in @match_info if not None. Note that if @match_info is +not None then it is created even if the function returns false, +i.e. you must free it regardless if regular expression actually +matched.

    +

    @string is not copied and is used in #GMatchInfo internally. If +you use any #GMatchInfo method (except g_match_info_free()) after +freeing or modifying @string then the behaviour is undefined.

    +
    §string
    +

    the string to scan for matches

    +
    §match_options
    +

    match options

    +
    §Returns
    +

    true is the string matched, false otherwise

    +
    §match_info
    +

    pointer to location where to store the #GMatchInfo, or None if you do not need it

    -
    source

    pub fn match_all_full<'input>( +

    source

    pub fn match_all_full<'input>( &self, string: &'input GStr, start_position: i32, @@ -330,18 +531,60 @@

    §match_i

    @string is not copied and is used in #GMatchInfo internally. If you use any #GMatchInfo method (except g_match_info_free()) after freeing or modifying @string then the behaviour is undefined.

    -
    §string
    +
    §string

    the string to scan for matches

    -
    §start_position
    +
    §start_position

    starting index of the string to match, in bytes

    -
    §match_options
    +
    §match_options

    match options

    -
    §Returns
    +
    §Returns

    true is the string matched, false otherwise

    -
    §match_info
    +
    §match_info
    +

    pointer to location where to store +the #GMatchInfo, or None if you do not need it +Using the standard algorithm for regular expression matching only +the longest match in the @string is retrieved, it is not possible +to obtain all the available matches. For instance matching +"<a> <b> <c>" against the pattern "<.*>" +you get "<a> <b> <c>".

    +

    This function uses a different algorithm (called DFA, i.e. deterministic +finite automaton), so it can retrieve all the possible matches, all +starting at the same point in the string. For instance matching +"<a> <b> <c>" against the pattern "<.*>" +you would obtain three matches: "<a> <b> <c>", +"<a> <b>" and "<a>".

    +

    The number of matched strings is retrieved using +g_match_info_get_match_count(). To obtain the matched strings and +their position you can use, respectively, g_match_info_fetch() and +g_match_info_fetch_pos(). Note that the strings are returned in +reverse order of length; that is, the longest matching string is +given first.

    +

    Note that the DFA algorithm is slower than the standard one and it +is not able to capture substrings, so backreferences do not work.

    +

    Setting @start_position differs from just passing over a shortened +string and setting RegexMatchFlags::NOTBOL in the case of a pattern +that begins with any kind of lookbehind assertion, such as “\b”.

    +

    Unless RegexCompileFlags::RAW is specified in the options, @string must be valid UTF-8.

    +

    A #GMatchInfo structure, used to get information on the match, is +stored in @match_info if not None. Note that if @match_info is +not None then it is created even if the function returns false, +i.e. you must free it regardless if regular expression actually +matched.

    +

    @string is not copied and is used in #GMatchInfo internally. If +you use any #GMatchInfo method (except g_match_info_free()) after +freeing or modifying @string then the behaviour is undefined.

    +
    §string
    +

    the string to scan for matches

    +
    §start_position
    +

    starting index of the string to match, in bytes

    +
    §match_options
    +

    match options

    +
    §Returns
    +

    true is the string matched, false otherwise

    +
    §match_info

    pointer to location where to store the #GMatchInfo, or None if you do not need it

    -
    source

    pub fn match_<'input>( +

    source

    pub fn match_<'input>( &self, string: &'input GStr, match_options: RegexMatchFlags, @@ -379,16 +622,59 @@

    §mat

    @string is not copied and is used in #GMatchInfo internally. If you use any #GMatchInfo method (except g_match_info_free()) after freeing or modifying @string then the behaviour is undefined.

    -
    §string
    +
    §string

    the string to scan for matches

    -
    §match_options
    +
    §match_options

    match options

    -
    §Returns
    +
    §Returns

    true is the string matched, false otherwise

    -
    §match_info
    +
    §match_info
    +

    pointer to location where to store +the #GMatchInfo, or None if you do not need it +Scans for a match in @string for the pattern in @self. +The @match_options are combined with the match options specified +when the @self structure was created, letting you have more +flexibility in reusing #GRegex structures.

    +

    Unless RegexCompileFlags::RAW is specified in the options, @string must be valid UTF-8.

    +

    A #GMatchInfo structure, used to get information on the match, +is stored in @match_info if not None. Note that if @match_info +is not None then it is created even if the function returns false, +i.e. you must free it regardless if regular expression actually matched.

    +

    To retrieve all the non-overlapping matches of the pattern in +string you can use g_match_info_next().

    +

    ⚠️ The following code is in C ⚠️

    +
    static void
    +print_uppercase_words (const gchar *string)
    +{
    +  // Print all uppercase-only words.
    +  GRegex *regex;
    +  GMatchInfo *match_info;
    +
    +  regex = g_regex_new ("[A-Z]+", G_REGEX_DEFAULT, G_REGEX_MATCH_DEFAULT, NULL);
    +  g_regex_match (regex, string, 0, &match_info);
    +  while (g_match_info_matches (match_info))
    +    {
    +      gchar *word = g_match_info_fetch (match_info, 0);
    +      g_print ("Found: %s\n", word);
    +      g_free (word);
    +      g_match_info_next (match_info, NULL);
    +    }
    +  g_match_info_free (match_info);
    +  g_regex_unref (regex);
    +}
    +

    @string is not copied and is used in #GMatchInfo internally. If +you use any #GMatchInfo method (except g_match_info_free()) after +freeing or modifying @string then the behaviour is undefined.

    +
    §string
    +

    the string to scan for matches

    +
    §match_options
    +

    match options

    +
    §Returns
    +

    true is the string matched, false otherwise

    +
    §match_info

    pointer to location where to store the #GMatchInfo, or None if you do not need it

    -
    source

    pub fn match_full<'input>( +

    source

    pub fn match_full<'input>( &self, string: &'input GStr, start_position: i32, @@ -436,18 +722,72 @@

    §mat g_printerr ("Error while matching: %s\n", error->message); g_error_free (error); } -}
    §string
    +}
    §string

    the string to scan for matches

    -
    §start_position
    +
    §start_position

    starting index of the string to match, in bytes

    -
    §match_options
    +
    §match_options

    match options

    -
    §Returns
    +
    §Returns

    true is the string matched, false otherwise

    -
    §match_info
    +
    §match_info
    +

    pointer to location where to store +the #GMatchInfo, or None if you do not need it +Scans for a match in @string for the pattern in @self. +The @match_options are combined with the match options specified +when the @self structure was created, letting you have more +flexibility in reusing #GRegex structures.

    +

    Setting @start_position differs from just passing over a shortened +string and setting RegexMatchFlags::NOTBOL in the case of a pattern +that begins with any kind of lookbehind assertion, such as “\b”.

    +

    Unless RegexCompileFlags::RAW is specified in the options, @string must be valid UTF-8.

    +

    A #GMatchInfo structure, used to get information on the match, is +stored in @match_info if not None. Note that if @match_info is +not None then it is created even if the function returns false, +i.e. you must free it regardless if regular expression actually +matched.

    +

    @string is not copied and is used in #GMatchInfo internally. If +you use any #GMatchInfo method (except g_match_info_free()) after +freeing or modifying @string then the behaviour is undefined.

    +

    To retrieve all the non-overlapping matches of the pattern in +string you can use g_match_info_next().

    +

    ⚠️ The following code is in C ⚠️

    +
    static void
    +print_uppercase_words (const gchar *string)
    +{
    +  // Print all uppercase-only words.
    +  GRegex *regex;
    +  GMatchInfo *match_info;
    +  GError *error = NULL;
    +
    +  regex = g_regex_new ("[A-Z]+", G_REGEX_DEFAULT, G_REGEX_MATCH_DEFAULT, NULL);
    +  g_regex_match_full (regex, string, -1, 0, 0, &match_info, &error);
    +  while (g_match_info_matches (match_info))
    +    {
    +      gchar *word = g_match_info_fetch (match_info, 0);
    +      g_print ("Found: %s\n", word);
    +      g_free (word);
    +      g_match_info_next (match_info, &error);
    +    }
    +  g_match_info_free (match_info);
    +  g_regex_unref (regex);
    +  if (error != NULL)
    +    {
    +      g_printerr ("Error while matching: %s\n", error->message);
    +      g_error_free (error);
    +    }
    +}
    §string
    +

    the string to scan for matches

    +
    §start_position
    +

    starting index of the string to match, in bytes

    +
    §match_options
    +

    match options

    +
    §Returns
    +

    true is the string matched, false otherwise

    +
    §match_info

    pointer to location where to store the #GMatchInfo, or None if you do not need it

    -
    source

    pub fn replace_literal( +

    source

    pub fn replace_literal( &self, string: impl IntoGStr, start_position: i32, @@ -460,17 +800,34 @@

    §mat shortened string and setting RegexMatchFlags::NOTBOL in the case of a pattern that begins with any kind of lookbehind assertion, such as “\b”.

    -
    §string
    +
    §string

    the string to perform matches against

    -
    §start_position
    +
    §start_position

    starting index of the string to match, in bytes

    -
    §replacement
    +
    §replacement

    text to replace each match with

    -
    §match_options
    +
    §match_options

    options for the match

    -
    §Returns
    +
    §Returns
    +

    a newly allocated string containing the replacements +Replaces all occurrences of the pattern in @self with the +replacement text. @replacement is replaced literally, to +include backreferences use g_regex_replace().

    +

    Setting @start_position differs from just passing over a +shortened string and setting RegexMatchFlags::NOTBOL in the +case of a pattern that begins with any kind of lookbehind +assertion, such as “\b”.

    +
    §string
    +

    the string to perform matches against

    +
    §start_position
    +

    starting index of the string to match, in bytes

    +
    §replacement
    +

    text to replace each match with

    +
    §match_options
    +

    options for the match

    +
    §Returns

    a newly allocated string containing the replacements

    -
    source

    pub fn split( +

    source

    pub fn split( &self, string: impl IntoGStr, match_options: RegexMatchFlags, @@ -489,14 +846,36 @@

    §Returns
    characters wherever it matches the empty string between characters. For example splitting “ab c” using as a separator “\s*”, you will get “a”, “b” and “c”.

    -
    §string
    +
    §string

    the string to split with the pattern

    -
    §match_options
    +
    §match_options

    match time option flags

    -
    §Returns
    +
    §Returns
    +

    a None-terminated gchar ** array. Free +it using g_strfreev() +Breaks the string on the pattern, and returns an array of the tokens. +If the pattern contains capturing parentheses, then the text for each +of the substrings will also be returned. If the pattern does not match +anywhere in the string, then the whole string is returned as the first +token.

    +

    As a special case, the result of splitting the empty string “” is an +empty vector, not a vector containing a single string. The reason for +this special case is that being able to represent an empty vector is +typically more useful than consistent handling of empty elements. If +you do need to represent empty elements, you’ll need to check for the +empty string before calling this function.

    +

    A pattern that can match empty strings splits @string into separate +characters wherever it matches the empty string between characters. +For example splitting “ab c” using as a separator “\s*”, you will get +“a”, “b” and “c”.

    +
    §string
    +

    the string to split with the pattern

    +
    §match_options
    +

    match time option flags

    +
    §Returns

    a None-terminated gchar ** array. Free it using g_strfreev()

    -
    source

    pub fn split_full( +

    source

    pub fn split_full( &self, string: impl IntoGStr, start_position: i32, @@ -520,19 +899,49 @@

    §Returns

    Setting @start_position differs from just passing over a shortened string and setting RegexMatchFlags::NOTBOL in the case of a pattern that begins with any kind of lookbehind assertion, such as “\b”.

    -
    §string
    +
    §string

    the string to split with the pattern

    -
    §start_position
    +
    §start_position

    starting index of the string to match, in bytes

    -
    §match_options
    +
    §match_options

    match time option flags

    §max_tokens

    the maximum number of tokens to split @string into. If this is less than 1, the string is split completely

    -
    §Returns
    +
    §Returns
    +

    a None-terminated gchar ** array. Free +it using g_strfreev() +Breaks the string on the pattern, and returns an array of the tokens. +If the pattern contains capturing parentheses, then the text for each +of the substrings will also be returned. If the pattern does not match +anywhere in the string, then the whole string is returned as the first +token.

    +

    As a special case, the result of splitting the empty string “” is an +empty vector, not a vector containing a single string. The reason for +this special case is that being able to represent an empty vector is +typically more useful than consistent handling of empty elements. If +you do need to represent empty elements, you’ll need to check for the +empty string before calling this function.

    +

    A pattern that can match empty strings splits @string into separate +characters wherever it matches the empty string between characters. +For example splitting “ab c” using as a separator “\s*”, you will get +“a”, “b” and “c”.

    +

    Setting @start_position differs from just passing over a shortened +string and setting RegexMatchFlags::NOTBOL in the case of a pattern +that begins with any kind of lookbehind assertion, such as “\b”.

    +
    §string
    +

    the string to split with the pattern

    +
    §start_position
    +

    starting index of the string to match, in bytes

    +
    §match_options
    +

    match time option flags

    +
    §max_tokens
    +

    the maximum number of tokens to split @string into. +If this is less than 1, the string is split completely

    +
    §Returns

    a None-terminated gchar ** array. Free it using g_strfreev()

    -
    source

    pub fn split_simple( +

    source

    pub fn split_simple( pattern: impl IntoGStr, string: impl IntoGStr, compile_options: RegexCompileFlags, @@ -560,29 +969,63 @@

    §Returns
    separate characters wherever it matches the empty string between characters. For example splitting “ab c” using as a separator “\s*”, you will get “a”, “b” and “c”.

    -
    §pattern
    +
    §pattern

    the regular expression

    -
    §string
    +
    §string

    the string to scan for matches

    -
    §compile_options
    +
    §compile_options

    compile options for the regular expression, or 0

    -
    §match_options
    +
    §match_options

    match options, or 0

    -
    §Returns
    +
    §Returns
    +

    a None-terminated array of strings. Free +it using g_strfreev() +Breaks the string on the pattern, and returns an array of +the tokens. If the pattern contains capturing parentheses, +then the text for each of the substrings will also be returned. +If the pattern does not match anywhere in the string, then the +whole string is returned as the first token.

    +

    This function is equivalent to g_regex_split() but it does +not require to compile the pattern with g_regex_new(), avoiding +some lines of code when you need just to do a split without +extracting substrings, capture counts, and so on.

    +

    If this function is to be called on the same @pattern more than +once, it’s more efficient to compile the pattern once with +g_regex_new() and then use g_regex_split().

    +

    As a special case, the result of splitting the empty string “” +is an empty vector, not a vector containing a single string. +The reason for this special case is that being able to represent +an empty vector is typically more useful than consistent handling +of empty elements. If you do need to represent empty elements, +you’ll need to check for the empty string before calling this +function.

    +

    A pattern that can match empty strings splits @string into +separate characters wherever it matches the empty string between +characters. For example splitting “ab c” using as a separator +“\s*”, you will get “a”, “b” and “c”.

    +
    §pattern
    +

    the regular expression

    +
    §string
    +

    the string to scan for matches

    +
    §compile_options
    +

    compile options for the regular expression, or 0

    +
    §match_options
    +

    match options, or 0

    +
    §Returns

    a None-terminated array of strings. Free it using g_strfreev()

    -

    Trait Implementations§

    source§

    impl Clone for Regex

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +

    Trait Implementations§

    source§

    impl Clone for Regex

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Regex

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Regex> for Value

    source§

    fn from(s: Regex) -> Self

    Converts to this type from the input type.
    source§

    impl HasParamSpec for Regex

    source§

    type ParamSpec = ParamSpecBoxed

    source§

    type SetValue = Regex

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, Regex>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for Regex

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Regex

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Regex> for Value

    source§

    fn from(s: Regex) -> Self

    Converts to this type from the input type.
    source§

    impl HasParamSpec for Regex

    source§

    type ParamSpec = ParamSpecBoxed

    source§

    type SetValue = Regex

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, Regex>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for Regex

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Regex

    source§

    fn cmp(&self, other: &Regex) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Regex

    source§

    fn cmp(&self, other: &Regex) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Regex

    source§

    fn eq(&self, other: &Regex) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for Regex

    source§

    fn partial_cmp(&self, other: &Regex) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,
    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Regex

    source§

    fn eq(&self, other: &Regex) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for Regex

    source§

    fn partial_cmp(&self, other: &Regex) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for Regex

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for Regex

    source§

    impl StructuralPartialEq for Regex

    Auto Trait Implementations§

    §

    impl Freeze for Regex

    §

    impl RefUnwindSafe for Regex

    §

    impl !Send for Regex

    §

    impl !Sync for Regex

    §

    impl Unpin for Regex

    §

    impl UnwindSafe for Regex

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for Regex

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for Regex

    source§

    impl StructuralPartialEq for Regex

    Auto Trait Implementations§

    §

    impl Freeze for Regex

    §

    impl RefUnwindSafe for Regex

    §

    impl !Send for Regex

    §

    impl !Sync for Regex

    §

    impl Unpin for Regex

    §

    impl UnwindSafe for Regex

    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
    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 diff --git a/git/docs/glib/struct.RegexCompileFlags.html b/git/docs/glib/struct.RegexCompileFlags.html index 07d1b03cb07a..62bb002522bd 100644 --- a/git/docs/glib/struct.RegexCompileFlags.html +++ b/git/docs/glib/struct.RegexCompileFlags.html @@ -1,4 +1,4 @@ -RegexCompileFlags in glib - Rust +RegexCompileFlags in glib - Rust -
    glib

    Struct RegexCompileFlags

    source
    pub struct RegexCompileFlags(/* private fields */);
    Expand description

    Flags specifying compile-time options.

    -

    Implementations§

    source§

    impl RegexCompileFlags

    source

    pub const DEFAULT: Self = _

    No special options set. Since: 2.74

    -
    source

    pub const CASELESS: Self = _

    Letters in the pattern match both upper- and +

    glib

    Struct RegexCompileFlags

    source
    pub struct RegexCompileFlags(/* private fields */);
    Expand description

    Flags specifying compile-time options. +Flags specifying compile-time options.

    +

    Implementations§

    source§

    impl RegexCompileFlags

    source

    pub const DEFAULT: Self = _

    No special options set. Since: 2.74 +No special options set. Since: 2.74

    +
    source

    pub const CASELESS: Self = _

    Letters in the pattern match both upper- and +lowercase letters. This option can be changed within a pattern +by a “(?i)” option setting. +Letters in the pattern match both upper- and lowercase letters. This option can be changed within a pattern by a “(?i)” option setting.

    -
    source

    pub const MULTILINE: Self = _

    By default, GRegex treats the strings as consisting +

    source

    pub const MULTILINE: Self = _

    By default, GRegex treats the strings as consisting +of a single line of characters (even if it actually contains +newlines). The “start of line” metacharacter (“^”) matches only +at the start of the string, while the “end of line” metacharacter +(“$”) matches only at the end of the string, or before a terminating +newline (unless DOLLAR_ENDONLY is set). When +MULTILINE is set, the “start of line” and “end of line” +constructs match immediately following or immediately before any +newline in the string, respectively, as well as at the very start +and end. This can be changed within a pattern by a “(?m)” option +setting. +By default, GRegex treats the strings as consisting of a single line of characters (even if it actually contains newlines). The “start of line” metacharacter (“^”) matches only at the start of the string, while the “end of line” metacharacter @@ -87,125 +103,185 @@ newline in the string, respectively, as well as at the very start and end. This can be changed within a pattern by a “(?m)” option setting.

    -
    source

    pub const DOTALL: Self = _

    A dot metacharacter (“.”) in the pattern matches all +

    source

    pub const DOTALL: Self = _

    A dot metacharacter (“.”) in the pattern matches all +characters, including newlines. Without it, newlines are excluded. +This option can be changed within a pattern by a (“?s”) option setting. +A dot metacharacter (“.”) in the pattern matches all characters, including newlines. Without it, newlines are excluded. This option can be changed within a pattern by a (“?s”) option setting.

    -
    source

    pub const EXTENDED: Self = _

    Whitespace data characters in the pattern are +

    source

    pub const EXTENDED: Self = _

    Whitespace data characters in the pattern are +totally ignored except when escaped or inside a character class. +Whitespace does not include the VT character (code 11). In addition, +characters between an unescaped “#” outside a character class and +the next newline character, inclusive, are also ignored. This can +be changed within a pattern by a “(?x)” option setting. +Whitespace data characters in the pattern are totally ignored except when escaped or inside a character class. Whitespace does not include the VT character (code 11). In addition, characters between an unescaped “#” outside a character class and the next newline character, inclusive, are also ignored. This can be changed within a pattern by a “(?x)” option setting.

    -
    source

    pub const ANCHORED: Self = _

    The pattern is forced to be “anchored”, that is, +

    source

    pub const ANCHORED: Self = _

    The pattern is forced to be “anchored”, that is, +it is constrained to match only at the first matching point in the +string that is being searched. This effect can also be achieved by +appropriate constructs in the pattern itself such as the “^” +metacharacter. +The pattern is forced to be “anchored”, that is, it is constrained to match only at the first matching point in the string that is being searched. This effect can also be achieved by appropriate constructs in the pattern itself such as the “^” metacharacter.

    -
    source

    pub const DOLLAR_ENDONLY: Self = _

    A dollar metacharacter (“$”) in the pattern +

    source

    pub const DOLLAR_ENDONLY: Self = _

    A dollar metacharacter (“$”) in the pattern +matches only at the end of the string. Without this option, a +dollar also matches immediately before the final character if +it is a newline (but not before any other newlines). This option +is ignored if MULTILINE is set. +A dollar metacharacter (“$”) in the pattern matches only at the end of the string. Without this option, a dollar also matches immediately before the final character if it is a newline (but not before any other newlines). This option is ignored if MULTILINE is set.

    -
    source

    pub const UNGREEDY: Self = _

    Inverts the “greediness” of the quantifiers so that +

    source

    pub const UNGREEDY: Self = _

    Inverts the “greediness” of the quantifiers so that +they are not greedy by default, but become greedy if followed by “?”. +It can also be set by a “(?U)” option setting within the pattern. +Inverts the “greediness” of the quantifiers so that they are not greedy by default, but become greedy if followed by “?”. It can also be set by a “(?U)” option setting within the pattern.

    -
    source

    pub const RAW: Self = _

    Usually strings must be valid UTF-8 strings, using this +

    source

    pub const RAW: Self = _

    Usually strings must be valid UTF-8 strings, using this +flag they are considered as a raw sequence of bytes. +Usually strings must be valid UTF-8 strings, using this flag they are considered as a raw sequence of bytes.

    -
    source

    pub const NO_AUTO_CAPTURE: Self = _

    Disables the use of numbered capturing +

    source

    pub const NO_AUTO_CAPTURE: Self = _

    Disables the use of numbered capturing +parentheses in the pattern. Any opening parenthesis that is not +followed by “?” behaves as if it were followed by “?:” but named +parentheses can still be used for capturing (and they acquire numbers +in the usual way). +Disables the use of numbered capturing parentheses in the pattern. Any opening parenthesis that is not followed by “?” behaves as if it were followed by “?:” but named parentheses can still be used for capturing (and they acquire numbers in the usual way).

    -
    source

    pub const OPTIMIZE: Self = _

    Since 2.74 and the port to pcre2, requests JIT +

    source

    pub const OPTIMIZE: Self = _

    Since 2.74 and the port to pcre2, requests JIT +compilation, which, if the just-in-time compiler is available, further +processes a compiled pattern into machine code that executes much +faster. However, it comes at the cost of extra processing before the +match is performed, so it is most beneficial to use this when the same +compiled pattern is used for matching many times. Before 2.74 this +option used the built-in non-JIT optimizations in pcre1. +Since 2.74 and the port to pcre2, requests JIT compilation, which, if the just-in-time compiler is available, further processes a compiled pattern into machine code that executes much faster. However, it comes at the cost of extra processing before the match is performed, so it is most beneficial to use this when the same compiled pattern is used for matching many times. Before 2.74 this option used the built-in non-JIT optimizations in pcre1.

    -
    source

    pub const FIRSTLINE: Self = _

    Limits an unanchored pattern to match before (or at) the +

    source

    pub const FIRSTLINE: Self = _

    Limits an unanchored pattern to match before (or at) the +first newline. Since: 2.34 +Limits an unanchored pattern to match before (or at) the first newline. Since: 2.34

    -
    source

    pub const DUPNAMES: Self = _

    Names used to identify capturing subpatterns need not +

    source

    pub const DUPNAMES: Self = _

    Names used to identify capturing subpatterns need not +be unique. This can be helpful for certain types of pattern when it +is known that only one instance of the named subpattern can ever be +matched. +Names used to identify capturing subpatterns need not be unique. This can be helpful for certain types of pattern when it is known that only one instance of the named subpattern can ever be matched.

    -
    source

    pub const NEWLINE_CR: Self = _

    Usually any newline character or character sequence is +

    source

    pub const NEWLINE_CR: Self = _

    Usually any newline character or character sequence is +recognized. If this option is set, the only recognized newline character +is ‘\r’. +Usually any newline character or character sequence is recognized. If this option is set, the only recognized newline character is ‘\r’.

    -
    source

    pub const NEWLINE_LF: Self = _

    Usually any newline character or character sequence is +

    source

    pub const NEWLINE_LF: Self = _

    Usually any newline character or character sequence is +recognized. If this option is set, the only recognized newline character +is ‘\n’. +Usually any newline character or character sequence is recognized. If this option is set, the only recognized newline character is ‘\n’.

    -
    source

    pub const NEWLINE_CRLF: Self = _

    Usually any newline character or character sequence is +

    source

    pub const NEWLINE_CRLF: Self = _

    Usually any newline character or character sequence is +recognized. If this option is set, the only recognized newline character +sequence is ‘\r\n’. +Usually any newline character or character sequence is recognized. If this option is set, the only recognized newline character sequence is ‘\r\n’.

    -
    source

    pub const NEWLINE_ANYCRLF: Self = _

    Usually any newline character or character sequence +

    source

    pub const NEWLINE_ANYCRLF: Self = _

    Usually any newline character or character sequence +is recognized. If this option is set, the only recognized newline character +sequences are ‘\r’, ‘\n’, and ‘\r\n’. Since: 2.34 +Usually any newline character or character sequence is recognized. If this option is set, the only recognized newline character sequences are ‘\r’, ‘\n’, and ‘\r\n’. Since: 2.34

    -
    source

    pub const BSR_ANYCRLF: Self = _

    Usually any newline character or character sequence +

    source

    pub const BSR_ANYCRLF: Self = _

    Usually any newline character or character sequence +is recognised. If this option is set, then “\R” only recognizes the newline +characters ‘\r’, ‘\n’ and ‘\r\n’. Since: 2.34 +Usually any newline character or character sequence is recognised. If this option is set, then “\R” only recognizes the newline characters ‘\r’, ‘\n’ and ‘\r\n’. Since: 2.34

    -
    source

    pub const JAVASCRIPT_COMPAT: Self = _

    Changes behaviour so that it is compatible with +

    source

    pub const JAVASCRIPT_COMPAT: Self = _

    Changes behaviour so that it is compatible with +JavaScript rather than PCRE. Since GLib 2.74 this is no longer supported, +as libpcre2 does not support it. Since: 2.34 Deprecated: 2.74 +Changes behaviour so that it is compatible with JavaScript rather than PCRE. Since GLib 2.74 this is no longer supported, as libpcre2 does not support it. Since: 2.34 Deprecated: 2.74

    -
    source§

    impl RegexCompileFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    -
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    -
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    +
    source§

    impl RegexCompileFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    +
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    +
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    The returned value is exactly the bits set in this flags value.

    -
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    +
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    This method will return None if any unknown bits are set.

    -
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    -
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    -
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    +
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    +
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    +
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    This method will return None if name is empty or doesn’t correspond to any named flag.

    -
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    -
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    -
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    -
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    -
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    +
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    +
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    +
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    +
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

    -
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    -
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    +
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    impl RegexCompileFlags

    source

    pub const fn iter(&self) -> Iter<RegexCompileFlags>

    Yield a set of contained flags values.

    +
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    impl RegexCompileFlags

    source

    pub const fn iter(&self) -> Iter<RegexCompileFlags>

    Yield a set of contained flags values.

    Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.

    -
    source

    pub const fn iter_names(&self) -> IterNames<RegexCompileFlags>

    Yield a set of contained named flags values.

    +
    source

    pub const fn iter_names(&self) -> IterNames<RegexCompileFlags>

    Yield a set of contained named flags values.

    This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

    -

    Trait Implementations§

    source§

    impl Binary for RegexCompileFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for RegexCompileFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    type Output = RegexCompileFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for RegexCompileFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    impl BitOr for RegexCompileFlags

    source§

    fn bitor(self, other: RegexCompileFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    type Output = RegexCompileFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for RegexCompileFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    impl BitXor for RegexCompileFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    type Output = RegexCompileFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for RegexCompileFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    impl Clone for RegexCompileFlags

    source§

    fn clone(&self) -> RegexCompileFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RegexCompileFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<RegexCompileFlags> for RegexCompileFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    -
    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
    source§

    impl Flags for RegexCompileFlags

    source§

    const FLAGS: &'static [Flag<RegexCompileFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> RegexCompileFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where +

    Trait Implementations§

    source§

    impl Binary for RegexCompileFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for RegexCompileFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    type Output = RegexCompileFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for RegexCompileFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    impl BitOr for RegexCompileFlags

    source§

    fn bitor(self, other: RegexCompileFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    type Output = RegexCompileFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for RegexCompileFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    impl BitXor for RegexCompileFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    type Output = RegexCompileFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for RegexCompileFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    impl Clone for RegexCompileFlags

    source§

    fn clone(&self) -> RegexCompileFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RegexCompileFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<RegexCompileFlags> for RegexCompileFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    +
    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
    source§

    impl Flags for RegexCompileFlags

    source§

    const FLAGS: &'static [Flag<RegexCompileFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> RegexCompileFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> bool
    where Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)
    where Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)
    where Self: Sized,

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn toggle(&mut self, other: Self)
    where Self: Sized,

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn set(&mut self, other: Self, value: bool)
    where - Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<RegexCompileFlags> for RegexCompileFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    impl Hash for RegexCompileFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<RegexCompileFlags> for RegexCompileFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    +
    source§

    impl Hash for RegexCompileFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for RegexCompileFlags

    source§

    type Item = RegexCompileFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<RegexCompileFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for RegexCompileFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for RegexCompileFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    type Output = RegexCompileFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for RegexCompileFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for RegexCompileFlags

    source§

    fn eq(&self, other: &RegexCompileFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PublicFlags for RegexCompileFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for RegexCompileFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for RegexCompileFlags

    source§

    type Item = RegexCompileFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<RegexCompileFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for RegexCompileFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for RegexCompileFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    type Output = RegexCompileFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for RegexCompileFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for RegexCompileFlags

    source§

    fn eq(&self, other: &RegexCompileFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PublicFlags for RegexCompileFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for RegexCompileFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    type Output = RegexCompileFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for RegexCompileFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source§

    type Output = RegexCompileFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for RegexCompileFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    impl UpperHex for RegexCompileFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for RegexCompileFlags

    source§

    impl Eq for RegexCompileFlags

    source§

    impl StructuralPartialEq for RegexCompileFlags

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    source§

    impl UpperHex for RegexCompileFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for RegexCompileFlags

    source§

    impl Eq for RegexCompileFlags

    source§

    impl StructuralPartialEq for RegexCompileFlags

    Auto Trait Implementations§

    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
    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 diff --git a/git/docs/glib/struct.RegexMatchFlags.html b/git/docs/glib/struct.RegexMatchFlags.html index 7dac6090f66f..496c8a0f3a75 100644 --- a/git/docs/glib/struct.RegexMatchFlags.html +++ b/git/docs/glib/struct.RegexMatchFlags.html @@ -1,4 +1,4 @@ -RegexMatchFlags in glib - Rust +RegexMatchFlags in glib - Rust -
    glib

    Struct RegexMatchFlags

    source
    pub struct RegexMatchFlags(/* private fields */);
    Expand description

    Flags specifying match-time options.

    -

    Implementations§

    source§

    impl RegexMatchFlags

    source

    pub const DEFAULT: Self = _

    No special options set. Since: 2.74

    -
    source

    pub const ANCHORED: Self = _

    The pattern is forced to be “anchored”, that is, +

    glib

    Struct RegexMatchFlags

    source
    pub struct RegexMatchFlags(/* private fields */);
    Expand description

    Flags specifying match-time options. +Flags specifying match-time options.

    +

    Implementations§

    source§

    impl RegexMatchFlags

    source

    pub const DEFAULT: Self = _

    No special options set. Since: 2.74 +No special options set. Since: 2.74

    +
    source

    pub const ANCHORED: Self = _

    The pattern is forced to be “anchored”, that is, +it is constrained to match only at the first matching point in the +string that is being searched. This effect can also be achieved by +appropriate constructs in the pattern itself such as the “^” +metacharacter. +The pattern is forced to be “anchored”, that is, it is constrained to match only at the first matching point in the string that is being searched. This effect can also be achieved by appropriate constructs in the pattern itself such as the “^” metacharacter.

    -
    source

    pub const NOTBOL: Self = _

    Specifies that first character of the string is +

    source

    pub const NOTBOL: Self = _

    Specifies that first character of the string is +not the beginning of a line, so the circumflex metacharacter should +not match before it. Setting this without RegexCompileFlags::MULTILINE (at +compile time) causes circumflex never to match. This option affects +only the behaviour of the circumflex metacharacter, it does not +affect “\A”. +Specifies that first character of the string is not the beginning of a line, so the circumflex metacharacter should not match before it. Setting this without RegexCompileFlags::MULTILINE (at compile time) causes circumflex never to match. This option affects only the behaviour of the circumflex metacharacter, it does not affect “\A”.

    -
    source

    pub const NOTEOL: Self = _

    Specifies that the end of the subject string is +

    source

    pub const NOTEOL: Self = _

    Specifies that the end of the subject string is +not the end of a line, so the dollar metacharacter should not match +it nor (except in multiline mode) a newline immediately before it. +Setting this without RegexCompileFlags::MULTILINE (at compile time) causes +dollar never to match. This option affects only the behaviour of +the dollar metacharacter, it does not affect “\Z” or “\z”. +Specifies that the end of the subject string is not the end of a line, so the dollar metacharacter should not match it nor (except in multiline mode) a newline immediately before it. Setting this without RegexCompileFlags::MULTILINE (at compile time) causes dollar never to match. This option affects only the behaviour of the dollar metacharacter, it does not affect “\Z” or “\z”.

    -
    source

    pub const NOTEMPTY: Self = _

    An empty string is not considered to be a valid +

    source

    pub const NOTEMPTY: Self = _

    An empty string is not considered to be a valid +match if this option is set. If there are alternatives in the pattern, +they are tried. If all the alternatives match the empty string, the +entire match fails. For example, if the pattern “a?b?” is applied to +a string not beginning with “a” or “b”, it matches the empty string +at the start of the string. With this flag set, this match is not +valid, so GRegex searches further into the string for occurrences +of “a” or “b”. +An empty string is not considered to be a valid match if this option is set. If there are alternatives in the pattern, they are tried. If all the alternatives match the empty string, the entire match fails. For example, if the pattern “a?b?” is applied to @@ -98,99 +125,133 @@ at the start of the string. With this flag set, this match is not valid, so GRegex searches further into the string for occurrences of “a” or “b”.

    -
    source

    pub const PARTIAL: Self = _

    Turns on the partial matching feature, for more +

    source

    pub const PARTIAL: Self = _

    Turns on the partial matching feature, for more +documentation on partial matching see g_match_info_is_partial_match(). +Turns on the partial matching feature, for more documentation on partial matching see g_match_info_is_partial_match().

    -
    source

    pub const NEWLINE_CR: Self = _

    Overrides the newline definition set when +

    source

    pub const NEWLINE_CR: Self = _

    Overrides the newline definition set when +creating a new #GRegex, setting the ‘\r’ character as line terminator. +Overrides the newline definition set when creating a new #GRegex, setting the ‘\r’ character as line terminator.

    -
    source

    pub const NEWLINE_LF: Self = _

    Overrides the newline definition set when +

    source

    pub const NEWLINE_LF: Self = _

    Overrides the newline definition set when +creating a new #GRegex, setting the ‘\n’ character as line terminator. +Overrides the newline definition set when creating a new #GRegex, setting the ‘\n’ character as line terminator.

    -
    source

    pub const NEWLINE_CRLF: Self = _

    Overrides the newline definition set when +

    source

    pub const NEWLINE_CRLF: Self = _

    Overrides the newline definition set when +creating a new #GRegex, setting the ‘\r\n’ characters sequence as line terminator. +Overrides the newline definition set when creating a new #GRegex, setting the ‘\r\n’ characters sequence as line terminator.

    -
    source

    pub const NEWLINE_ANY: Self = _

    Overrides the newline definition set when +

    source

    pub const NEWLINE_ANY: Self = _

    Overrides the newline definition set when +creating a new #GRegex, any Unicode newline sequence +is recognised as a newline. These are ‘\r’, ‘\n’ and ‘\rn’, and the +single characters U+000B LINE TABULATION, U+000C FORM FEED (FF), +U+0085 NEXT LINE (NEL), U+2028 LINE SEPARATOR and +U+2029 PARAGRAPH SEPARATOR. +Overrides the newline definition set when creating a new #GRegex, any Unicode newline sequence is recognised as a newline. These are ‘\r’, ‘\n’ and ‘\rn’, and the single characters U+000B LINE TABULATION, U+000C FORM FEED (FF), U+0085 NEXT LINE (NEL), U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR.

    -
    source

    pub const NEWLINE_ANYCRLF: Self = _

    Overrides the newline definition set when +

    source

    pub const NEWLINE_ANYCRLF: Self = _

    Overrides the newline definition set when +creating a new #GRegex; any ‘\r’, ‘\n’, or ‘\r\n’ character sequence +is recognized as a newline. Since: 2.34 +Overrides the newline definition set when creating a new #GRegex; any ‘\r’, ‘\n’, or ‘\r\n’ character sequence is recognized as a newline. Since: 2.34

    -
    source

    pub const BSR_ANYCRLF: Self = _

    Overrides the newline definition for “\R” set when +

    source

    pub const BSR_ANYCRLF: Self = _

    Overrides the newline definition for “\R” set when +creating a new #GRegex; only ‘\r’, ‘\n’, or ‘\r\n’ character sequences +are recognized as a newline by “\R”. Since: 2.34 +Overrides the newline definition for “\R” set when creating a new #GRegex; only ‘\r’, ‘\n’, or ‘\r\n’ character sequences are recognized as a newline by “\R”. Since: 2.34

    -
    source

    pub const BSR_ANY: Self = _

    Overrides the newline definition for “\R” set when +

    source

    pub const BSR_ANY: Self = _

    Overrides the newline definition for “\R” set when +creating a new #GRegex; any Unicode newline character or character sequence +are recognized as a newline by “\R”. These are ‘\r’, ‘\n’ and ‘\rn’, and the +single characters U+000B LINE TABULATION, U+000C FORM FEED (FF), +U+0085 NEXT LINE (NEL), U+2028 LINE SEPARATOR and +U+2029 PARAGRAPH SEPARATOR. Since: 2.34 +Overrides the newline definition for “\R” set when creating a new #GRegex; any Unicode newline character or character sequence are recognized as a newline by “\R”. These are ‘\r’, ‘\n’ and ‘\rn’, and the single characters U+000B LINE TABULATION, U+000C FORM FEED (FF), U+0085 NEXT LINE (NEL), U+2028 LINE SEPARATOR and U+2029 PARAGRAPH SEPARATOR. Since: 2.34

    -
    source

    pub const PARTIAL_SOFT: Self = _

    An alias for PARTIAL. Since: 2.34

    -
    source

    pub const PARTIAL_HARD: Self = _

    Turns on the partial matching feature. In contrast to +

    source

    pub const PARTIAL_SOFT: Self = _

    An alias for PARTIAL. Since: 2.34 +An alias for PARTIAL. Since: 2.34

    +
    source

    pub const PARTIAL_HARD: Self = _

    Turns on the partial matching feature. In contrast to +to PARTIAL_SOFT, this stops matching as soon as a partial match +is found, without continuing to search for a possible complete match. See +g_match_info_is_partial_match() for more information. Since: 2.34 +Turns on the partial matching feature. In contrast to to PARTIAL_SOFT, this stops matching as soon as a partial match is found, without continuing to search for a possible complete match. See g_match_info_is_partial_match() for more information. Since: 2.34

    -
    source

    pub const NOTEMPTY_ATSTART: Self = _

    Like NOTEMPTY, but only applied to +

    source

    pub const NOTEMPTY_ATSTART: Self = _

    Like NOTEMPTY, but only applied to +the start of the matched string. For anchored +patterns this can only happen for pattern containing “\K”. Since: 2.34 +Like NOTEMPTY, but only applied to the start of the matched string. For anchored patterns this can only happen for pattern containing “\K”. Since: 2.34

    -
    source§

    impl RegexMatchFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    -
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    -
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    +
    source§

    impl RegexMatchFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    +
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    +
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    The returned value is exactly the bits set in this flags value.

    -
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    +
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    This method will return None if any unknown bits are set.

    -
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    -
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    -
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    +
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    +
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    +
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    This method will return None if name is empty or doesn’t correspond to any named flag.

    -
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    -
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    -
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    -
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    -
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    +
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    +
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    +
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    +
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

    -
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    -
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    +
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    impl RegexMatchFlags

    source

    pub const fn iter(&self) -> Iter<RegexMatchFlags>

    Yield a set of contained flags values.

    +
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    impl RegexMatchFlags

    source

    pub const fn iter(&self) -> Iter<RegexMatchFlags>

    Yield a set of contained flags values.

    Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.

    -
    source

    pub const fn iter_names(&self) -> IterNames<RegexMatchFlags>

    Yield a set of contained named flags values.

    +
    source

    pub const fn iter_names(&self) -> IterNames<RegexMatchFlags>

    Yield a set of contained named flags values.

    This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

    -

    Trait Implementations§

    source§

    impl Binary for RegexMatchFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for RegexMatchFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    type Output = RegexMatchFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for RegexMatchFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    impl BitOr for RegexMatchFlags

    source§

    fn bitor(self, other: RegexMatchFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    type Output = RegexMatchFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for RegexMatchFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    impl BitXor for RegexMatchFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    type Output = RegexMatchFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for RegexMatchFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    impl Clone for RegexMatchFlags

    source§

    fn clone(&self) -> RegexMatchFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RegexMatchFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<RegexMatchFlags> for RegexMatchFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    -
    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
    source§

    impl Flags for RegexMatchFlags

    source§

    const FLAGS: &'static [Flag<RegexMatchFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> RegexMatchFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where +

    Trait Implementations§

    source§

    impl Binary for RegexMatchFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for RegexMatchFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    type Output = RegexMatchFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for RegexMatchFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    impl BitOr for RegexMatchFlags

    source§

    fn bitor(self, other: RegexMatchFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    type Output = RegexMatchFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for RegexMatchFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    impl BitXor for RegexMatchFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    type Output = RegexMatchFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for RegexMatchFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    impl Clone for RegexMatchFlags

    source§

    fn clone(&self) -> RegexMatchFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RegexMatchFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<RegexMatchFlags> for RegexMatchFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    +
    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
    source§

    impl Flags for RegexMatchFlags

    source§

    const FLAGS: &'static [Flag<RegexMatchFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> RegexMatchFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> bool
    where Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)
    where Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)
    where Self: Sized,

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn toggle(&mut self, other: Self)
    where Self: Sized,

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn set(&mut self, other: Self, value: bool)
    where - Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<RegexMatchFlags> for RegexMatchFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    impl Hash for RegexMatchFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<RegexMatchFlags> for RegexMatchFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    +
    source§

    impl Hash for RegexMatchFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for RegexMatchFlags

    source§

    type Item = RegexMatchFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<RegexMatchFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for RegexMatchFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for RegexMatchFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    type Output = RegexMatchFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for RegexMatchFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for RegexMatchFlags

    source§

    fn eq(&self, other: &RegexMatchFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PublicFlags for RegexMatchFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for RegexMatchFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for RegexMatchFlags

    source§

    type Item = RegexMatchFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<RegexMatchFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for RegexMatchFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for RegexMatchFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    type Output = RegexMatchFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for RegexMatchFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for RegexMatchFlags

    source§

    fn eq(&self, other: &RegexMatchFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PublicFlags for RegexMatchFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for RegexMatchFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    type Output = RegexMatchFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for RegexMatchFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source§

    type Output = RegexMatchFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for RegexMatchFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    impl UpperHex for RegexMatchFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for RegexMatchFlags

    source§

    impl Eq for RegexMatchFlags

    source§

    impl StructuralPartialEq for RegexMatchFlags

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    source§

    impl UpperHex for RegexMatchFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for RegexMatchFlags

    source§

    impl Eq for RegexMatchFlags

    source§

    impl StructuralPartialEq for RegexMatchFlags

    Auto Trait Implementations§

    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
    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 diff --git a/git/docs/glib/struct.SignalFlags.html b/git/docs/glib/struct.SignalFlags.html index 8d05e9f722a1..7a4f8c0166ce 100644 --- a/git/docs/glib/struct.SignalFlags.html +++ b/git/docs/glib/struct.SignalFlags.html @@ -1,4 +1,4 @@ -SignalFlags in glib - Rust +SignalFlags in glib - Rust -
    glib

    Struct SignalFlags

    source
    pub struct SignalFlags(/* private fields */);
    Expand description

    The signal flags are used to specify a signal’s behaviour.

    -

    Implementations§

    source§

    impl SignalFlags

    source

    pub const RUN_FIRST: Self = _

    Invoke the object method handler in the first emission stage.

    -
    source

    pub const RUN_LAST: Self = _

    Invoke the object method handler in the third emission stage.

    -
    source

    pub const RUN_CLEANUP: Self = _

    Invoke the object method handler in the last emission stage.

    -
    source

    pub const NO_RECURSE: Self = _

    Signals being emitted for an object while currently being in +

    glib

    Struct SignalFlags

    source
    pub struct SignalFlags(/* private fields */);
    Expand description

    The signal flags are used to specify a signal’s behaviour. +The signal flags are used to specify a signal’s behaviour.

    +

    Implementations§

    source§

    impl SignalFlags

    source

    pub const RUN_FIRST: Self = _

    Invoke the object method handler in the first emission stage. +Invoke the object method handler in the first emission stage.

    +
    source

    pub const RUN_LAST: Self = _

    Invoke the object method handler in the third emission stage. +Invoke the object method handler in the third emission stage.

    +
    source

    pub const RUN_CLEANUP: Self = _

    Invoke the object method handler in the last emission stage. +Invoke the object method handler in the last emission stage.

    +
    source

    pub const NO_RECURSE: Self = _

    Signals being emitted for an object while currently being in +emission for this very object will not be emitted recursively, +but instead cause the first emission to be restarted. +Signals being emitted for an object while currently being in emission for this very object will not be emitted recursively, but instead cause the first emission to be restarted.

    -
    source

    pub const DETAILED: Self = _

    This signal supports “::detail” appendices to the signal name +

    source

    pub const DETAILED: Self = _

    This signal supports “::detail” appendices to the signal name +upon handler connections and emissions. +This signal supports “::detail” appendices to the signal name upon handler connections and emissions.

    -
    source

    pub const ACTION: Self = _

    Action signals are signals that may freely be emitted on alive +

    source

    pub const ACTION: Self = _

    Action signals are signals that may freely be emitted on alive +objects from user code via g_signal_emit() and friends, without +the need of being embedded into extra code that performs pre or +post emission adjustments on the object. They can also be thought +of as object methods which can be called generically by +third-party code. +Action signals are signals that may freely be emitted on alive objects from user code via g_signal_emit() and friends, without the need of being embedded into extra code that performs pre or post emission adjustments on the object. They can also be thought of as object methods which can be called generically by third-party code.

    -
    source

    pub const NO_HOOKS: Self = _

    No emissions hooks are supported for this signal.

    -
    source

    pub const MUST_COLLECT: Self = _

    Varargs signal emission will always collect the +

    source

    pub const NO_HOOKS: Self = _

    No emissions hooks are supported for this signal. +No emissions hooks are supported for this signal.

    +
    source

    pub const MUST_COLLECT: Self = _

    Varargs signal emission will always collect the +arguments, even if there are no signal handlers connected. Since 2.30. +Varargs signal emission will always collect the arguments, even if there are no signal handlers connected. Since 2.30.

    -
    source

    pub const DEPRECATED: Self = _

    The signal is deprecated and will be removed +

    source

    pub const DEPRECATED: Self = _

    The signal is deprecated and will be removed +in a future version. A warning will be generated if it is connected while +running with G_ENABLE_DIAGNOSTIC=1. Since 2.32. +The signal is deprecated and will be removed in a future version. A warning will be generated if it is connected while running with G_ENABLE_DIAGNOSTIC=1. Since 2.32.

    -
    source

    pub const ACCUMULATOR_FIRST_RUN: Self = _

    Only used in GSignalAccumulator accumulator +

    source

    pub const ACCUMULATOR_FIRST_RUN: Self = _

    Only used in GSignalAccumulator accumulator +functions for the GSignalInvocationHint::run_type field to mark the first +call to the accumulator function for a signal emission. Since 2.68. +Only used in GSignalAccumulator accumulator functions for the GSignalInvocationHint::run_type field to mark the first call to the accumulator function for a signal emission. Since 2.68.

    -
    source§

    impl SignalFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    -
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    -
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    +
    source§

    impl SignalFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    +
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    +
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    The returned value is exactly the bits set in this flags value.

    -
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    +
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    This method will return None if any unknown bits are set.

    -
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    -
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    -
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    +
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    +
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    +
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    This method will return None if name is empty or doesn’t correspond to any named flag.

    -
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    -
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    -
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    -
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    -
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    +
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    +
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    +
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    +
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

    -
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    -
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    +
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    impl SignalFlags

    source

    pub const fn iter(&self) -> Iter<SignalFlags>

    Yield a set of contained flags values.

    +
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    impl SignalFlags

    source

    pub const fn iter(&self) -> Iter<SignalFlags>

    Yield a set of contained flags values.

    Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.

    -
    source

    pub const fn iter_names(&self) -> IterNames<SignalFlags>

    Yield a set of contained named flags values.

    +
    source

    pub const fn iter_names(&self) -> IterNames<SignalFlags>

    Yield a set of contained named flags values.

    This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

    -

    Trait Implementations§

    source§

    impl Binary for SignalFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for SignalFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    type Output = SignalFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for SignalFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    impl BitOr for SignalFlags

    source§

    fn bitor(self, other: SignalFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    type Output = SignalFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for SignalFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    impl BitXor for SignalFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    type Output = SignalFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for SignalFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    impl Clone for SignalFlags

    source§

    fn clone(&self) -> SignalFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SignalFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<SignalFlags> for SignalFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    -
    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
    source§

    impl Flags for SignalFlags

    source§

    const FLAGS: &'static [Flag<SignalFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> SignalFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where +

    Trait Implementations§

    source§

    impl Binary for SignalFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for SignalFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    type Output = SignalFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for SignalFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    impl BitOr for SignalFlags

    source§

    fn bitor(self, other: SignalFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    type Output = SignalFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for SignalFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    impl BitXor for SignalFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    type Output = SignalFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for SignalFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    impl Clone for SignalFlags

    source§

    fn clone(&self) -> SignalFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SignalFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<SignalFlags> for SignalFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    +
    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
    source§

    impl Flags for SignalFlags

    source§

    const FLAGS: &'static [Flag<SignalFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> SignalFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> bool
    where Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)
    where Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)
    where Self: Sized,

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn toggle(&mut self, other: Self)
    where Self: Sized,

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn set(&mut self, other: Self, value: bool)
    where - Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<SignalFlags> for SignalFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    impl Hash for SignalFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<SignalFlags> for SignalFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    +
    source§

    impl Hash for SignalFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for SignalFlags

    source§

    type Item = SignalFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<SignalFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for SignalFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for SignalFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    type Output = SignalFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for SignalFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for SignalFlags

    source§

    fn eq(&self, other: &SignalFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PublicFlags for SignalFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for SignalFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for SignalFlags

    source§

    type Item = SignalFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<SignalFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for SignalFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for SignalFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    type Output = SignalFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for SignalFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for SignalFlags

    source§

    fn eq(&self, other: &SignalFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PublicFlags for SignalFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for SignalFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    type Output = SignalFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for SignalFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source§

    type Output = SignalFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for SignalFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    impl UpperHex for SignalFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for SignalFlags

    source§

    impl Eq for SignalFlags

    source§

    impl StructuralPartialEq for SignalFlags

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    source§

    impl UpperHex for SignalFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for SignalFlags

    source§

    impl Eq for SignalFlags

    source§

    impl StructuralPartialEq for SignalFlags

    Auto Trait Implementations§

    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
    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 diff --git a/git/docs/glib/struct.SignalGroup.html b/git/docs/glib/struct.SignalGroup.html index de790e74804b..f7439a200efa 100644 --- a/git/docs/glib/struct.SignalGroup.html +++ b/git/docs/glib/struct.SignalGroup.html @@ -71,7 +71,7 @@ -
    glib

    Struct SignalGroup

    source
    pub struct SignalGroup { /* private fields */ }
    Available on crate feature v2_74 only.
    Expand description

    GSignalGroup manages a collection of signals on a GObject.

    +
    glib

    Struct SignalGroup

    source
    pub struct SignalGroup { /* private fields */ }
    Available on crate feature v2_74 only.
    Expand description

    GSignalGroup manages a collection of signals on a GObject.

    GSignalGroup simplifies the process of connecting many signals to a GObject as a group. As such there is no API to disconnect a signal from the group.

    In particular, this allows you to:

    @@ -105,34 +105,94 @@
    §unbindThis signal will only be emitted if the previous target of self_ is non-None.

    §Implements

    +

    ObjectExt +GSignalGroup manages a collection of signals on a GObject.

    +

    GSignalGroup simplifies the process of connecting many signals to a GObject +as a group. As such there is no API to disconnect a signal from the group.

    +

    In particular, this allows you to:

    +
      +
    • Change the target instance, which automatically causes disconnection +of the signals from the old instance and connecting to the new instance.
    • +
    • Block and unblock signals as a group
    • +
    • Ensuring that blocked state transfers across target instances.
    • +
    +

    One place you might want to use such a structure is with GtkTextView and +GtkTextBuffer. Often times, you’ll need to connect to many signals on +GtkTextBuffer from a GtkTextView subclass. This allows you to create a +signal group during instance construction, simply bind the +GtkTextView:buffer property to GSignalGroup:target and connect +all the signals you need. When the GtkTextView:buffer property changes +all of the signals will be transitioned correctly.

    +

    §Properties

    §target
    +

    The target instance used when connecting signals.

    +

    Readable | Writeable

    +
    §target-type
    +

    The GType of the target property.

    +

    Readable | Writeable | Construct Only

    +

    §Signals

    §bind
    +

    This signal is emitted when target is set to a new value +other than None. It is similar to notify on target except it +will not emit when target is None and also allows for +receiving the Object without a data-race.

    +
    §unbind
    +

    This signal is emitted when the target instance of self_ is set to a +new Object.

    +

    This signal will only be emitted if the previous target of self_ is +non-None.

    +

    §Implements

    ObjectExt

    GLib type: GObject with reference counted clone semantics.

    -

    Implementations§

    source§

    impl SignalGroup

    source

    pub fn with_type(target_type: Type) -> SignalGroup

    Creates a new SignalGroup for target instances of target_type.

    +

    Implementations§

    source§

    impl SignalGroup

    source

    pub fn with_type(target_type: Type) -> SignalGroup

    Creates a new SignalGroup for target instances of target_type.

    §target_type

    the GType of the target instance.

    §Returns
    +

    a new SignalGroup +Creates a new SignalGroup for target instances of target_type.

    +
    §target_type
    +

    the GType of the target instance.

    +
    §Returns

    a new SignalGroup

    -
    source

    pub fn block(&self)

    Blocks all signal handlers managed by self so they will not +

    source

    pub fn block(&self)

    Blocks all signal handlers managed by self so they will not +be called during any signal emissions. Must be unblocked exactly +the same number of times it has been blocked to become active again.

    +

    This blocked state will be kept across changes of the target instance. +Blocks all signal handlers managed by self so they will not be called during any signal emissions. Must be unblocked exactly the same number of times it has been blocked to become active again.

    This blocked state will be kept across changes of the target instance.

    -
    source

    pub fn target(&self) -> Option<Object>

    Gets the target instance used when connecting signals.

    -
    §Returns
    +
    source

    pub fn target(&self) -> Option<Object>

    Gets the target instance used when connecting signals.

    +
    §Returns
    +

    The target instance +Gets the target instance used when connecting signals.

    +
    §Returns

    The target instance

    -
    source

    pub fn set_target(&self, target: Option<&impl IsA<Object>>)

    Sets the target instance used when connecting signals. Any signal +

    source

    pub fn set_target(&self, target: Option<&impl IsA<Object>>)

    Sets the target instance used when connecting signals. Any signal +that has been registered with g_signal_group_connect_object() or +similar functions will be connected to this object.

    +

    If the target instance was previously set, signals will be +disconnected from that object prior to connecting to target.

    +
    §target
    +

    The target instance used +when connecting signals. +Sets the target instance used when connecting signals. Any signal that has been registered with g_signal_group_connect_object() or similar functions will be connected to this object.

    If the target instance was previously set, signals will be disconnected from that object prior to connecting to target.

    -
    §target
    +
    §target

    The target instance used when connecting signals.

    -
    source

    pub fn unblock(&self)

    Unblocks all signal handlers managed by self so they will be +

    source

    pub fn unblock(&self)

    Unblocks all signal handlers managed by self so they will be +called again during any signal emissions unless it is blocked +again. Must be unblocked exactly the same number of times it +has been blocked to become active again. +Unblocks all signal handlers managed by self so they will be called again during any signal emissions unless it is blocked again. Must be unblocked exactly the same number of times it has been blocked to become active again.

    -
    source

    pub fn target_type(&self) -> Type

    Available on crate feature v2_72 only.

    The GType of the target property.

    -
    source§

    impl SignalGroup

    source

    pub fn new<T: IsA<Object>>() -> Self

    source

    pub fn connect_closure( +

    source

    pub fn target_type(&self) -> Type

    Available on crate feature v2_72 only.

    The GType of the target property. +The GType of the target property.

    +
    source§

    impl SignalGroup

    source

    pub fn new<T: IsA<Object>>() -> Self

    source

    pub fn connect_closure( &self, signal_name: &str, after: bool, @@ -145,22 +205,38 @@

    §closurethe closure to connect.

    §after

    whether the handler should be called before or after the +default handler of the signal. +Connects closure to the signal detailed_signal on target.

    +

    You cannot connect a signal handler after target has been set.

    +
    §detailed_signal
    +

    a string of the form signal-name with optional ::signal-detail

    +
    §closure
    +

    the closure to connect.

    +
    §after
    +

    whether the handler should be called before or after the default handler of the signal.

    -
    source

    pub fn connect<F>(&self, signal_name: &str, after: bool, callback: F)
    where +

    source

    pub fn connect<F>(&self, signal_name: &str, after: bool, callback: F)
    where F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connects c_handler to the signal detailed_signal on the target instance of self.

    You cannot connect a signal handler after target has been set.

    -
    §detailed_signal
    +
    §detailed_signal

    a string of the form “signal-name::detail”

    §c_handler
    +

    the GCallback to connect +Connects c_handler to the signal detailed_signal +on the target instance of self.

    +

    You cannot connect a signal handler after target has been set.

    +
    §detailed_signal
    +

    a string of the form “signal-name::detail”

    +
    §c_handler

    the GCallback to connect

    -
    source

    pub fn connect_local<F>(&self, signal_name: &str, after: bool, callback: F)
    where +

    source

    pub fn connect_local<F>(&self, signal_name: &str, after: bool, callback: F)
    where F: Fn(&[Value]) -> Option<Value> + 'static,

    Like Self::connect but doesn’t require a Send+Sync closure. Signal emission will panic if the signal on the current target is emitted from a different thread from the thread that connected the signal.

    -
    source

    pub fn connect_notify<F>(&self, name: Option<&str>, callback: F)
    where - F: Fn(&Object, &ParamSpec) + Send + Sync + 'static,

    source

    pub fn connect_notify_local<F>(&self, name: Option<&str>, callback: F)
    where - F: Fn(&Object, &ParamSpec) + 'static,

    source

    pub fn connect_bind<F: Fn(&Self, &Object) + Send + Sync + 'static>( +

    source

    pub fn connect_notify<F>(&self, name: Option<&str>, callback: F)
    where + F: Fn(&Object, &ParamSpec) + Send + Sync + 'static,

    source

    pub fn connect_notify_local<F>(&self, name: Option<&str>, callback: F)
    where + F: Fn(&Object, &ParamSpec) + 'static,

    source

    pub fn connect_bind<F: Fn(&Self, &Object) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

    This signal is emitted when target is set to a new value @@ -168,60 +244,70 @@

    §c_handler will not emit when target is None and also allows for receiving the Object without a data-race.

    §instance
    +

    a Object containing the new value for target +This signal is emitted when target is set to a new value +other than None. It is similar to notify on target except it +will not emit when target is None and also allows for +receiving the Object without a data-race.

    +
    §instance

    a Object containing the new value for target

    -
    source

    pub fn connect_bind_local<F: Fn(&Self, &Object) + 'static>( +

    source

    pub fn connect_bind_local<F: Fn(&Self, &Object) + 'static>( &self, f: F, ) -> SignalHandlerId

    Like Self::connect_bind but doesn’t require a Send+Sync closure. Signal emission will panic if the signal is emitted from a different thread from the thread that connected the signal.

    -
    source

    pub fn connect_unbind<F: Fn(&Self) + Send + Sync + 'static>( +

    source

    pub fn connect_unbind<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

    This signal is emitted when the target instance of self_ is set to a new Object.

    This signal will only be emitted if the previous target of self_ is +non-None. +This signal is emitted when the target instance of self_ is set to a +new Object.

    +

    This signal will only be emitted if the previous target of self_ is non-None.

    -
    source

    pub fn connect_unbind_local<F: Fn(&Self) + 'static>( +

    source

    pub fn connect_unbind_local<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

    Like Self::connect_unbind but doesn’t require a Send+Sync closure. Signal emission will panic if the signal is emitted from a different thread from the thread that connected the signal.

    -

    Trait Implementations§

    source§

    impl Clone for SignalGroup

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +

    Trait Implementations§

    source§

    impl Clone for SignalGroup

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the object. Dropping the object will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SignalGroup

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl HasParamSpec for SignalGroup

    source§

    type ParamSpec = ParamSpecObject

    source§

    type SetValue = SignalGroup

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecObjectBuilder<'_, SignalGroup>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for SignalGroup

    source§

    fn hash<H>(&self, state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SignalGroup

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl HasParamSpec for SignalGroup

    source§

    type ParamSpec = ParamSpecObject

    source§

    type SetValue = SignalGroup

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecObjectBuilder<'_, SignalGroup>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for SignalGroup

    source§

    fn hash<H>(&self, state: &mut H)
    where H: Hasher,

    Hashes the memory address of this object.

    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for SignalGroup

    source§

    fn cmp(&self, other: &Self) -> Ordering

    Comparison for two GObjects.

    + Self: Sized,
    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for SignalGroup

    source§

    fn cmp(&self, other: &Self) -> Ordering

    Comparison for two GObjects.

    Compares the memory addresses of the provided objects.

    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl ParentClassIs for SignalGroup

    source§

    impl<OT: ObjectType> PartialEq<OT> for SignalGroup

    source§

    fn eq(&self, other: &OT) -> bool

    Equality for two GObjects.

    + Self: Sized,
    Restrict a value to a certain interval. Read more
    source§

    impl ParentClassIs for SignalGroup

    source§

    impl<OT: ObjectType> PartialEq<OT> for SignalGroup

    source§

    fn eq(&self, other: &OT) -> bool

    Equality for two GObjects.

    Two GObjects are equal if their memory addresses are equal.

    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<OT: ObjectType> PartialOrd<OT> for SignalGroup

    source§

    fn partial_cmp(&self, other: &OT) -> Option<Ordering>

    Partial comparison for two GObjects.

    +and should not be overridden without very good reason.
    source§

    impl<OT: ObjectType> PartialOrd<OT> for SignalGroup

    source§

    fn partial_cmp(&self, other: &OT) -> Option<Ordering>

    Partial comparison for two GObjects.

    Compares the memory addresses of the provided objects.

    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for SignalGroup

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for SignalGroup

    source§

    impl Send for SignalGroup

    source§

    impl Sync for SignalGroup

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for SignalGroup

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for SignalGroup

    source§

    impl Send for SignalGroup

    source§

    impl Sync for SignalGroup

    Auto Trait Implementations§

    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
    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> Cast for T
    where - T: ObjectType,

    source§

    fn upcast<T: ObjectType>(self) -> T
    where - Self: IsA<T>,

    Upcasts an object to a superclass or interface T. Read more
    source§

    fn upcast_ref<T: ObjectType>(&self) -> &T
    where - Self: IsA<T>,

    Upcasts an object to a reference of its superclass or interface T. Read more
    source§

    fn downcast<T: ObjectType>(self) -> Result<T, Self>
    where - Self: MayDowncastTo<T>,

    Tries to downcast to a subclass or interface implementor T. Read more
    source§

    fn downcast_ref<T: ObjectType>(&self) -> Option<&T>
    where - Self: MayDowncastTo<T>,

    Tries to downcast to a reference of its subclass or interface implementor T. Read more
    source§

    fn dynamic_cast<T: ObjectType>(self) -> Result<T, Self>

    Tries to cast to an object of type T. This handles upcasting, downcasting + T: ?Sized,
    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> Cast for T
    where + T: ObjectType,

    source§

    fn upcast<T: ObjectType>(self) -> T
    where + Self: IsA<T>,

    Upcasts an object to a superclass or interface T. Read more
    source§

    fn upcast_ref<T: ObjectType>(&self) -> &T
    where + Self: IsA<T>,

    Upcasts an object to a reference of its superclass or interface T. Read more
    source§

    fn downcast<T: ObjectType>(self) -> Result<T, Self>
    where + Self: MayDowncastTo<T>,

    Tries to downcast to a subclass or interface implementor T. Read more
    source§

    fn downcast_ref<T: ObjectType>(&self) -> Option<&T>
    where + Self: MayDowncastTo<T>,

    Tries to downcast to a reference of its subclass or interface implementor T. Read more
    source§

    fn dynamic_cast<T: ObjectType>(self) -> Result<T, Self>

    Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
    source§

    fn dynamic_cast_ref<T: ObjectType>(&self) -> Option<&T>

    Tries to cast to reference to an object of type T. This handles upcasting, downcasting +compile-time safety. Read more
    source§

    fn dynamic_cast_ref<T: ObjectType>(&self) -> Option<&T>

    Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
    source§

    unsafe fn unsafe_cast<T: ObjectType>(self) -> T

    Casts to T unconditionally. Read more
    source§

    unsafe fn unsafe_cast_ref<T: ObjectType>(&self) -> &T

    Casts to &T unconditionally. Read more
    source§

    impl<T> CloneToUninit for T
    where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

    source§

    unsafe fn unsafe_cast<T: ObjectType>(self) -> T

    Casts to T unconditionally. Read more
    source§

    unsafe fn unsafe_cast_ref<T: ObjectType>(&self) -> &T

    Casts to &T unconditionally. Read more
    source§

    impl<T> CloneToUninit for T
    where T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T

    source§

    impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for T
    where @@ -251,128 +337,128 @@
    §instanceObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

    source§

    fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

    source§

    impl<T> ObjectExt for T
    where - T: ObjectType,

    source§

    fn is<U>(&self) -> bool
    where - U: StaticType,

    Returns true if the object is an instance of (can be cast to) T.
    source§

    fn type_(&self) -> Type

    Returns the type of the object.
    source§

    fn object_class(&self) -> &Class<Object>

    Returns the ObjectClass of the object. Read more
    source§

    fn class(&self) -> &Class<T>
    where - T: IsClass,

    Returns the class of the object.
    source§

    fn class_of<U>(&self) -> Option<&Class<U>>
    where - U: IsClass,

    Returns the class of the object in the given type T. Read more
    source§

    fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
    where - U: IsInterface,

    Returns the interface T of the object. Read more
    source§

    fn set_property(&self, property_name: &str, value: impl Into<Value>)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_property_from_value(&self, property_name: &str, value: &Value)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

    Sets multiple properties of the object at once. Read more
    source§

    fn set_properties_from_value(&self, property_values: &[(&str, Value)])

    Sets multiple properties of the object at once. Read more
    source§

    fn property<V>(&self, property_name: &str) -> V
    where - V: for<'b> FromValue<'b> + 'static,

    Gets the property property_name of the object and cast it to the type V. Read more
    source§

    fn property_value(&self, property_name: &str) -> Value

    Gets the property property_name of the object. Read more
    source§

    fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

    Check if the object has a property property_name of the given type_. Read more
    source§

    fn property_type(&self, property_name: &str) -> Option<Type>

    Get the type of the property property_name of this object. Read more
    source§

    fn find_property(&self, property_name: &str) -> Option<ParamSpec>

    Get the ParamSpec of the property property_name of this object.
    source§

    fn list_properties(&self) -> PtrSlice<ParamSpec>

    Return all ParamSpec of the properties of this object.
    source§

    fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

    Freeze all property notifications until the return guard object is dropped. Read more
    source§

    unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
    where - QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
    where - QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
    where - QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn set_data<QD>(&self, key: &str, value: QD)
    where - QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
    where - QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
    where - QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    fn block_signal(&self, handler_id: &SignalHandlerId)

    Block a given signal handler. Read more
    source§

    fn unblock_signal(&self, handler_id: &SignalHandlerId)

    Unblock a given signal handler.
    source§

    fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

    Stop emission of the currently emitted signal.
    source§

    fn stop_signal_emission_by_name(&self, signal_name: &str)

    Stop emission of the currently emitted signal by the (possibly detailed) signal name.
    source§

    fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

    source§

    impl<T> ObjectExt for T
    where + T: ObjectType,

    source§

    fn is<U>(&self) -> bool
    where + U: StaticType,

    Returns true if the object is an instance of (can be cast to) T.
    source§

    fn type_(&self) -> Type

    Returns the type of the object.
    source§

    fn object_class(&self) -> &Class<Object>

    Returns the ObjectClass of the object. Read more
    source§

    fn class(&self) -> &Class<T>
    where + T: IsClass,

    Returns the class of the object.
    source§

    fn class_of<U>(&self) -> Option<&Class<U>>
    where + U: IsClass,

    Returns the class of the object in the given type T. Read more
    source§

    fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
    where + U: IsInterface,

    Returns the interface T of the object. Read more
    source§

    fn set_property(&self, property_name: &str, value: impl Into<Value>)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_property_from_value(&self, property_name: &str, value: &Value)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

    Sets multiple properties of the object at once. Read more
    source§

    fn set_properties_from_value(&self, property_values: &[(&str, Value)])

    Sets multiple properties of the object at once. Read more
    source§

    fn property<V>(&self, property_name: &str) -> V
    where + V: for<'b> FromValue<'b> + 'static,

    Gets the property property_name of the object and cast it to the type V. Read more
    source§

    fn property_value(&self, property_name: &str) -> Value

    Gets the property property_name of the object. Read more
    source§

    fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

    Check if the object has a property property_name of the given type_. Read more
    source§

    fn property_type(&self, property_name: &str) -> Option<Type>

    Get the type of the property property_name of this object. Read more
    source§

    fn find_property(&self, property_name: &str) -> Option<ParamSpec>

    Get the ParamSpec of the property property_name of this object.
    source§

    fn list_properties(&self) -> PtrSlice<ParamSpec>

    Return all ParamSpec of the properties of this object.
    source§

    fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

    Freeze all property notifications until the return guard object is dropped. Read more
    source§

    unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
    where + QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
    where + QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
    where + QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn set_data<QD>(&self, key: &str, value: QD)
    where + QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
    where + QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
    where + QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    fn block_signal(&self, handler_id: &SignalHandlerId)

    Block a given signal handler. Read more
    source§

    fn unblock_signal(&self, handler_id: &SignalHandlerId)

    Unblock a given signal handler.
    source§

    fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

    Stop emission of the currently emitted signal.
    source§

    fn stop_signal_emission_by_name(&self, signal_name: &str)

    Stop emission of the currently emitted signal by the (possibly detailed) signal name.
    source§

    fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_name on this object. Read more
    source§

    unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_name on this object. Read more
    source§

    unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

    Connect a closure to the signal signal_name on this object. Read more
    source§

    fn connect_closure_id( +) -> SignalHandlerId

    Connect a closure to the signal signal_name on this object. Read more
    source§

    fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

    Connect a closure to the signal signal_id on this object. Read more
    source§

    fn watch_closure(&self, closure: &impl AsRef<Closure>)

    Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
    Connect a closure to the signal signal_id on this object. Read more
    source§

    fn watch_closure(&self, closure: &impl AsRef<Closure>)

    Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
    source§

    fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

    Emit signal by signal id. Read more
    source§

    fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

    Same as Self::emit but takes Value for the arguments.
    source§

    fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_values( +invoke when using Rust closures.

    source§

    fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

    Emit signal by signal id. Read more
    source§

    fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

    Same as Self::emit but takes Value for the arguments.
    source§

    fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_details<R>( +) -> Option<Value>

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

    Emit signal by its name with details. Read more
    source§

    fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

    Emit signal by its name with details. Read more
    source§

    fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

    Emit signal by its name with details. Read more
    source§

    fn emit_with_details<R>( +) -> Option<Value>

    Emit signal by its name with details. Read more
    source§

    fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

    Emit signal by signal id with details. Read more
    source§

    fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

    Emit signal by signal id with details. Read more
    source§

    fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

    Emit signal by signal id with details. Read more
    source§

    fn disconnect(&self, handler_id: SignalHandlerId)

    Disconnect a previously connected signal handler.
    source§

    fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

    Connect to the notify signal of the object. Read more
    source§

    fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where - F: Fn(&T, &ParamSpec) + 'static,

    Connect to the notify signal of the object. Read more
    source§

    unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

    Emit signal by signal id with details. Read more
    source§

    fn disconnect(&self, handler_id: SignalHandlerId)

    Disconnect a previously connected signal handler.
    source§

    fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

    Connect to the notify signal of the object. Read more
    source§

    fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where + F: Fn(&T, &ParamSpec) + 'static,

    Connect to the notify signal of the object. Read more
    source§

    unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
    where - F: Fn(&T, &ParamSpec),

    Connect to the notify signal of the object. Read more
    source§

    fn notify(&self, property_name: &str)

    Notify that the given property has changed its value. Read more
    source§

    fn notify_by_pspec(&self, pspec: &ParamSpec)

    Notify that the given property has changed its value. Read more
    source§

    fn downgrade(&self) -> WeakRef<T>

    Downgrade this object to a weak reference.
    source§

    fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
    where - F: FnOnce() + Send + 'static,

    Add a callback to be notified when the Object is disposed.
    source§

    fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
    where - F: FnOnce() + 'static,

    Add a callback to be notified when the Object is disposed. Read more
    source§

    fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

    Connect to the notify signal of the object. Read more
    source§

    fn notify(&self, property_name: &str)

    Notify that the given property has changed its value. Read more
    source§

    fn notify_by_pspec(&self, pspec: &ParamSpec)

    Notify that the given property has changed its value. Read more
    source§

    fn downgrade(&self) -> WeakRef<T>

    Downgrade this object to a weak reference.
    source§

    fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
    where + F: FnOnce() + Send + 'static,

    Add a callback to be notified when the Object is disposed.
    source§

    fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
    where + F: FnOnce() + 'static,

    Add a callback to be notified when the Object is disposed. Read more
    source§

    fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
    where - O: ObjectType,

    Bind property source_property on this object to the target_property on the target object. Read more
    source§

    fn ref_count(&self) -> u32

    Returns the strong reference count of this object.
    source§

    unsafe fn run_dispose(&self)

    Runs the dispose mechanism of the object. Read more
    source§

    impl<T> Property for T
    where + O: ObjectType,

    Bind property source_property on this object to the target_property on the target object. Read more
    source§

    fn ref_count(&self) -> u32

    Returns the strong reference count of this object.
    source§

    unsafe fn run_dispose(&self)

    Runs the dispose mechanism of the object. Read more
    source§

    impl<T> Property for T
    where T: HasParamSpec,

    source§

    type Value = T

    source§

    impl<T> PropertyGet for T
    where T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    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.
    source§

    impl<'a, T, C, E> FromValueOptional<'a> for T
    where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

    source§

    impl<Super, Sub> MayDowncastTo<Sub> for Super
    where + E: Error + Send + 'static,

    source§

    impl<Super, Sub> MayDowncastTo<Sub> for Super
    where Super: IsA<Super>, Sub: IsA<Super>,

    \ No newline at end of file diff --git a/git/docs/glib/struct.Source.html b/git/docs/glib/struct.Source.html index 988961bb6af1..eb062e979a72 100644 --- a/git/docs/glib/struct.Source.html +++ b/git/docs/glib/struct.Source.html @@ -1,4 +1,4 @@ -Source in glib - Rust +Source in glib - Rust -
    glib

    Struct Source

    source
    pub struct Source { /* private fields */ }
    Expand description

    The GSource struct is an opaque data type +

    glib

    Struct Source

    source
    pub struct Source { /* private fields */ }
    Expand description

    The GSource struct is an opaque data type +representing an event source. +The GSource struct is an opaque data type representing an event source.

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl Source

    source

    pub fn as_ptr(&self) -> *mut GSource

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GSource) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl Source

    source

    pub fn add_child_source(&self, child_source: &Source)

    Adds @child_source to @self as a “polled” source; when @self is +

    Implementations§

    source§

    impl Source

    source

    pub fn as_ptr(&self) -> *mut GSource

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GSource) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl Source

    source

    pub fn add_child_source(&self, child_source: &Source)

    Adds @child_source to @self as a “polled” source; when @self is added to a MainContext, @child_source will be automatically added with the same priority, when @child_source is triggered, it will cause @self to dispatch (in addition to calling its own @@ -92,44 +94,97 @@ Source. Do not call this API on a Source that you did not create.

    §child_source
    +

    a second #GSource that @self should “poll” +Adds @child_source to @self as a “polled” source; when @self is +added to a MainContext, @child_source will be automatically +added with the same priority, when @child_source is triggered, it will +cause @self to dispatch (in addition to calling its own +callback), and when @self is destroyed, it will destroy +@child_source as well. (@self will also still be dispatched if +its own prepare/check functions indicate that it is ready.)

    +

    If you don’t need @child_source to do anything on its own when it +triggers, you can call g_source_set_dummy_callback() on it to set a +callback that does nothing (except return true if appropriate).

    +

    @self will hold a reference on @child_source while @child_source +is attached to it.

    +

    This API is only intended to be used by implementations of +Source. Do not call this API on a Source that +you did not create.

    +
    §child_source

    a second #GSource that @self should “poll”

    -
    source

    pub fn destroy(&self)

    source

    pub fn can_recurse(&self) -> bool

    Checks whether a source is allowed to be called recursively. +

    source

    pub fn destroy(&self)

    source

    pub fn can_recurse(&self) -> bool

    Checks whether a source is allowed to be called recursively. see GLib::Source::set_can_recurse().

    §Returns
    +

    whether recursion is allowed. +Checks whether a source is allowed to be called recursively. +see GLib::Source::set_can_recurse().

    +
    §Returns

    whether recursion is allowed.

    -
    source

    pub fn context(&self) -> Option<MainContext>

    Gets the MainContext with which the source is associated.

    +
    source

    pub fn context(&self) -> Option<MainContext>

    Gets the MainContext with which the source is associated.

    You can call this on a source that has been destroyed, provided that the MainContext it was attached to still exists (in which case it will return that MainContext). In particular, you can always call this function on the source returned from main_current_source(). But calling this function on a source whose MainContext has been destroyed is an error.

    -
    §Returns
    +
    §Returns
    +

    the #GMainContext with which the +source is associated, or None if the context has not +yet been added to a source. +Gets the MainContext with which the source is associated.

    +

    You can call this on a source that has been destroyed, provided +that the MainContext it was attached to still exists (in which +case it will return that MainContext). In particular, you can +always call this function on the source returned from +main_current_source(). But calling this function on a source +whose MainContext has been destroyed is an error.

    +
    §Returns

    the #GMainContext with which the source is associated, or None if the context has not yet been added to a source.

    -
    source

    pub fn name(&self) -> Option<GString>

    Gets a name for the source, used in debugging and profiling. The +

    source

    pub fn name(&self) -> Option<GString>

    Gets a name for the source, used in debugging and profiling. The name may be #NULL if it has never been set with GLib::Source::set_name().

    -
    §Returns
    +
    §Returns
    +

    the name of the source +Gets a name for the source, used in debugging and profiling. The +name may be #NULL if it has never been set with GLib::Source::set_name().

    +
    §Returns

    the name of the source

    -
    source

    pub fn priority(&self) -> i32

    Gets the priority of a source.

    -
    §Returns
    +
    source

    pub fn priority(&self) -> i32

    Gets the priority of a source.

    +
    §Returns
    +

    the priority of the source +Gets the priority of a source.

    +
    §Returns

    the priority of the source

    -
    source

    pub fn ready_time(&self) -> i64

    Gets the “ready time” of @self, as set by +

    source

    pub fn ready_time(&self) -> i64

    Gets the “ready time” of @self, as set by GLib::Source::set_ready_time().

    Any time before or equal to the current monotonic time (including 0) is an indication that the source will fire immediately.

    -
    §Returns
    +
    §Returns
    +

    the monotonic ready time, -1 for “never” +Gets the “ready time” of @self, as set by +GLib::Source::set_ready_time().

    +

    Any time before or equal to the current monotonic time (including 0) +is an indication that the source will fire immediately.

    +
    §Returns

    the monotonic ready time, -1 for “never”

    -
    source

    pub fn time(&self) -> i64

    Gets the time to be used when checking this source. The advantage of +

    source

    pub fn time(&self) -> i64

    Gets the time to be used when checking this source. The advantage of calling this function over calling monotonic_time() directly is that when checking multiple sources, GLib can cache a single value instead of having to repeatedly get the system monotonic time.

    The time here is the system monotonic time, if available, or some other reasonable alternative otherwise. See monotonic_time().

    -
    §Returns
    +
    §Returns
    +

    the monotonic time in microseconds +Gets the time to be used when checking this source. The advantage of +calling this function over calling monotonic_time() directly is +that when checking multiple sources, GLib can cache a single value +instead of having to repeatedly get the system monotonic time.

    +

    The time here is the system monotonic time, if available, or some +other reasonable alternative otherwise. See monotonic_time().

    +
    §Returns

    the monotonic time in microseconds

    -
    source

    pub fn is_destroyed(&self) -> bool

    Returns whether @self has been destroyed.

    +
    source

    pub fn is_destroyed(&self) -> bool

    Returns whether @self has been destroyed.

    This is important when you operate upon your objects from within idle handlers, but may have freed the object before the dispatch of your idle handler.

    @@ -200,26 +255,105 @@
    §Returns
    redundant, as the source could be destroyed immediately after this function returns. However, once a source is destroyed it cannot be un-destroyed, so this function can be used for opportunistic checks from any thread.

    -
    §Returns
    +
    §Returns
    +

    true if the source has been destroyed +Returns whether @self has been destroyed.

    +

    This is important when you operate upon your objects +from within idle handlers, but may have freed the object +before the dispatch of your idle handler.

    +

    ⚠️ The following code is in C ⚠️

    +
    static gboolean
    +idle_callback (gpointer data)
    +{
    +  SomeWidget *self = data;
    +
    +  g_mutex_lock (&self->idle_id_mutex);
    +  // do stuff with self
    +  self->idle_id = 0;
    +  g_mutex_unlock (&self->idle_id_mutex);
    +
    +  return G_SOURCE_REMOVE;
    +}
    +
    +static void
    +some_widget_do_stuff_later (SomeWidget *self)
    +{
    +  g_mutex_lock (&self->idle_id_mutex);
    +  self->idle_id = g_idle_add (idle_callback, self);
    +  g_mutex_unlock (&self->idle_id_mutex);
    +}
    +
    +static void
    +some_widget_init (SomeWidget *self)
    +{
    +  g_mutex_init (&self->idle_id_mutex);
    +
    +  // ...
    +}
    +
    +static void
    +some_widget_finalize (GObject *object)
    +{
    +  SomeWidget *self = SOME_WIDGET (object);
    +
    +  if (self->idle_id)
    +    g_source_remove (self->idle_id);
    +
    +  g_mutex_clear (&self->idle_id_mutex);
    +
    +  G_OBJECT_CLASS (parent_class)->finalize (object);
    +}
    +

    This will fail in a multi-threaded application if the +widget is destroyed before the idle handler fires due +to the use after free in the callback. A solution, to +this particular problem, is to check to if the source +has already been destroy within the callback.

    +

    ⚠️ The following code is in C ⚠️

    +
    static gboolean
    +idle_callback (gpointer data)
    +{
    +  SomeWidget *self = data;
    +
    +  g_mutex_lock (&self->idle_id_mutex);
    +  if (!g_source_is_destroyed (g_main_current_source ()))
    +    {
    +      // do stuff with self
    +    }
    +  g_mutex_unlock (&self->idle_id_mutex);
    +
    +  return FALSE;
    +}
    +

    Calls to this function from a thread other than the one acquired by the +MainContext the #GSource is attached to are typically +redundant, as the source could be destroyed immediately after this function +returns. However, once a source is destroyed it cannot be un-destroyed, so +this function can be used for opportunistic checks from any thread.

    +
    §Returns

    true if the source has been destroyed

    -
    source

    pub fn remove_child_source(&self, child_source: &Source)

    Detaches @child_source from @self and destroys it.

    +
    source

    pub fn remove_child_source(&self, child_source: &Source)

    Detaches @child_source from @self and destroys it.

    This API is only intended to be used by implementations of #GSource. Do not call this API on a #GSource that you did not create.

    -
    §child_source
    +
    §child_source
    +

    a #GSource previously passed to +add_child_source(). +Detaches @child_source from @self and destroys it.

    +

    This API is only intended to be used by implementations of #GSource. +Do not call this API on a #GSource that you did not create.

    +
    §child_source

    a #GSource previously passed to add_child_source().

    -
    source§

    impl Source

    source

    pub fn attach(&self, context: Option<&MainContext>) -> SourceId

    Trait Implementations§

    source§

    impl Clone for Source

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +
    source§

    impl Source

    source

    pub fn attach(&self, context: Option<&MainContext>) -> SourceId

    Trait Implementations§

    source§

    impl Clone for Source

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Source

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Source> for Value

    source§

    fn from(s: Source) -> Self

    Converts to this type from the input type.
    source§

    impl HasParamSpec for Source

    source§

    type ParamSpec = ParamSpecBoxed

    source§

    type SetValue = Source

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, Source>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for Source

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Source

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Source> for Value

    source§

    fn from(s: Source) -> Self

    Converts to this type from the input type.
    source§

    impl HasParamSpec for Source

    source§

    type ParamSpec = ParamSpecBoxed

    source§

    type SetValue = Source

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, Source>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for Source

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Source

    source§

    fn cmp(&self, other: &Source) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Source

    source§

    fn cmp(&self, other: &Source) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Source

    source§

    fn eq(&self, other: &Source) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for Source

    source§

    fn partial_cmp(&self, other: &Source) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,
    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Source

    source§

    fn eq(&self, other: &Source) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for Source

    source§

    fn partial_cmp(&self, other: &Source) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for Source

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for Source

    source§

    impl Send for Source

    source§

    impl StructuralPartialEq for Source

    source§

    impl Sync for Source

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for Source

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for Source

    source§

    impl Send for Source

    source§

    impl StructuralPartialEq for Source

    source§

    impl Sync for Source

    Auto Trait Implementations§

    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
    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 @@ -252,8 +386,8 @@
    §HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.SpawnFlags.html b/git/docs/glib/struct.SpawnFlags.html index d29d291d7414..5b31988600a1 100644 --- a/git/docs/glib/struct.SpawnFlags.html +++ b/git/docs/glib/struct.SpawnFlags.html @@ -1,4 +1,4 @@ -SpawnFlags in glib - Rust +SpawnFlags in glib - Rust -
    glib

    Struct SpawnFlags

    source
    pub struct SpawnFlags(/* private fields */);
    Expand description

    Flags passed to g_spawn_sync(), g_spawn_async() and g_spawn_async_with_pipes().

    -

    Implementations§

    source§

    impl SpawnFlags

    source

    pub const DEFAULT: Self = _

    no flags, default behaviour

    -
    source

    pub const LEAVE_DESCRIPTORS_OPEN: Self = _

    the parent’s open file descriptors will +

    glib

    Struct SpawnFlags

    source
    pub struct SpawnFlags(/* private fields */);
    Expand description

    Flags passed to g_spawn_sync(), g_spawn_async() and g_spawn_async_with_pipes(). +Flags passed to g_spawn_sync(), g_spawn_async() and g_spawn_async_with_pipes().

    +

    Implementations§

    source§

    impl SpawnFlags

    source

    pub const DEFAULT: Self = _

    no flags, default behaviour +no flags, default behaviour

    +
    source

    pub const LEAVE_DESCRIPTORS_OPEN: Self = _

    the parent’s open file descriptors will +be inherited by the child; otherwise all descriptors except stdin, +stdout and stderr will be closed before calling exec() in the child. +the parent’s open file descriptors will be inherited by the child; otherwise all descriptors except stdin, stdout and stderr will be closed before calling exec() in the child.

    -
    source

    pub const DO_NOT_REAP_CHILD: Self = _

    the child will not be automatically reaped; +

    source

    pub const DO_NOT_REAP_CHILD: Self = _

    the child will not be automatically reaped; +you must use g_child_watch_add() yourself (or call waitpid() or handle +SIGCHLD yourself), or the child will become a zombie. +the child will not be automatically reaped; you must use g_child_watch_add() yourself (or call waitpid() or handle SIGCHLD yourself), or the child will become a zombie.

    -
    source

    pub const SEARCH_PATH: Self = _

    argv[0] need not be an absolute path, it will be +

    source

    pub const SEARCH_PATH: Self = _

    argv[0] need not be an absolute path, it will be +looked for in the user’s PATH. +argv[0] need not be an absolute path, it will be looked for in the user’s PATH.

    -
    source

    pub const STDOUT_TO_DEV_NULL: Self = _

    the child’s standard output will be discarded, +

    source

    pub const STDOUT_TO_DEV_NULL: Self = _

    the child’s standard output will be discarded, +instead of going to the same location as the parent’s standard output. +the child’s standard output will be discarded, instead of going to the same location as the parent’s standard output.

    -
    source

    pub const STDERR_TO_DEV_NULL: Self = _

    the child’s standard error will be discarded.

    -
    source

    pub const CHILD_INHERITS_STDIN: Self = _

    the child will inherit the parent’s standard +

    source

    pub const STDERR_TO_DEV_NULL: Self = _

    the child’s standard error will be discarded. +the child’s standard error will be discarded.

    +
    source

    pub const CHILD_INHERITS_STDIN: Self = _

    the child will inherit the parent’s standard +input (by default, the child’s standard input is attached to /dev/null). +the child will inherit the parent’s standard input (by default, the child’s standard input is attached to /dev/null).

    -
    source

    pub const FILE_AND_ARGV_ZERO: Self = _

    the first element of argv is the file to +

    source

    pub const FILE_AND_ARGV_ZERO: Self = _

    the first element of argv is the file to +execute, while the remaining elements are the actual argument vector +to pass to the file. Normally g_spawn_async_with_pipes() uses argv[0] +as the file to execute, and passes all of argv to the child. +the first element of argv is the file to execute, while the remaining elements are the actual argument vector to pass to the file. Normally g_spawn_async_with_pipes() uses argv[0] as the file to execute, and passes all of argv to the child.

    -
    source

    pub const SEARCH_PATH_FROM_ENVP: Self = _

    if argv[0] is not an absolute path, +

    source

    pub const SEARCH_PATH_FROM_ENVP: Self = _

    if argv[0] is not an absolute path, +it will be looked for in the PATH from the passed child environment. +Since: 2.34 +if argv[0] is not an absolute path, it will be looked for in the PATH from the passed child environment. Since: 2.34

    -
    source

    pub const CLOEXEC_PIPES: Self = _

    create all pipes with the O_CLOEXEC flag set. +

    source

    pub const CLOEXEC_PIPES: Self = _

    create all pipes with the O_CLOEXEC flag set. +Since: 2.40 +create all pipes with the O_CLOEXEC flag set. Since: 2.40

    -
    source

    pub const CHILD_INHERITS_STDOUT: Self = _

    Available on crate feature v2_74 only.

    The child will inherit the parent’s standard output.

    -
    source

    pub const CHILD_INHERITS_STDERR: Self = _

    Available on crate feature v2_74 only.

    The child will inherit the parent’s standard error.

    -
    source

    pub const STDIN_FROM_DEV_NULL: Self = _

    Available on crate feature v2_74 only.

    The child’s standard input is attached to /dev/null.

    -
    source§

    impl SpawnFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    -
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    -
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    +
    source

    pub const CHILD_INHERITS_STDOUT: Self = _

    Available on crate feature v2_74 only.

    The child will inherit the parent’s standard output. +The child will inherit the parent’s standard output.

    +
    source

    pub const CHILD_INHERITS_STDERR: Self = _

    Available on crate feature v2_74 only.

    The child will inherit the parent’s standard error. +The child will inherit the parent’s standard error.

    +
    source

    pub const STDIN_FROM_DEV_NULL: Self = _

    Available on crate feature v2_74 only.

    The child’s standard input is attached to /dev/null. +The child’s standard input is attached to /dev/null.

    +
    source§

    impl SpawnFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    +
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    +
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    The returned value is exactly the bits set in this flags value.

    -
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    +
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    This method will return None if any unknown bits are set.

    -
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    -
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    -
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    +
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    +
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    +
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    This method will return None if name is empty or doesn’t correspond to any named flag.

    -
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    -
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    -
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    -
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    -
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    +
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    +
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    +
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    +
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

    -
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    -
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    +
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    impl SpawnFlags

    source

    pub const fn iter(&self) -> Iter<SpawnFlags>

    Yield a set of contained flags values.

    +
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    impl SpawnFlags

    source

    pub const fn iter(&self) -> Iter<SpawnFlags>

    Yield a set of contained flags values.

    Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.

    -
    source

    pub const fn iter_names(&self) -> IterNames<SpawnFlags>

    Yield a set of contained named flags values.

    +
    source

    pub const fn iter_names(&self) -> IterNames<SpawnFlags>

    Yield a set of contained named flags values.

    This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

    -

    Trait Implementations§

    source§

    impl Binary for SpawnFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for SpawnFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    type Output = SpawnFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for SpawnFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    impl BitOr for SpawnFlags

    source§

    fn bitor(self, other: SpawnFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    type Output = SpawnFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for SpawnFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    impl BitXor for SpawnFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    type Output = SpawnFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for SpawnFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    impl Clone for SpawnFlags

    source§

    fn clone(&self) -> SpawnFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SpawnFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<SpawnFlags> for SpawnFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    -
    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
    source§

    impl Flags for SpawnFlags

    source§

    const FLAGS: &'static [Flag<SpawnFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> SpawnFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where +

    Trait Implementations§

    source§

    impl Binary for SpawnFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for SpawnFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    type Output = SpawnFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for SpawnFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    impl BitOr for SpawnFlags

    source§

    fn bitor(self, other: SpawnFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    type Output = SpawnFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for SpawnFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    impl BitXor for SpawnFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    type Output = SpawnFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for SpawnFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    impl Clone for SpawnFlags

    source§

    fn clone(&self) -> SpawnFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SpawnFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<SpawnFlags> for SpawnFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    +
    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
    source§

    impl Flags for SpawnFlags

    source§

    const FLAGS: &'static [Flag<SpawnFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> SpawnFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> bool
    where Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)
    where Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)
    where Self: Sized,

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn toggle(&mut self, other: Self)
    where Self: Sized,

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn set(&mut self, other: Self, value: bool)
    where - Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<SpawnFlags> for SpawnFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    impl Hash for SpawnFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<SpawnFlags> for SpawnFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    +
    source§

    impl Hash for SpawnFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for SpawnFlags

    source§

    type Item = SpawnFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<SpawnFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for SpawnFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for SpawnFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    type Output = SpawnFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for SpawnFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for SpawnFlags

    source§

    fn eq(&self, other: &SpawnFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PublicFlags for SpawnFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for SpawnFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for SpawnFlags

    source§

    type Item = SpawnFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<SpawnFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for SpawnFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for SpawnFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    type Output = SpawnFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for SpawnFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for SpawnFlags

    source§

    fn eq(&self, other: &SpawnFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PublicFlags for SpawnFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for SpawnFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    type Output = SpawnFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for SpawnFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source§

    type Output = SpawnFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for SpawnFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    impl UpperHex for SpawnFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for SpawnFlags

    source§

    impl Eq for SpawnFlags

    source§

    impl StructuralPartialEq for SpawnFlags

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    source§

    impl UpperHex for SpawnFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for SpawnFlags

    source§

    impl Eq for SpawnFlags

    source§

    impl StructuralPartialEq for SpawnFlags

    Auto Trait Implementations§

    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
    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 diff --git a/git/docs/glib/struct.ThreadHandle.html b/git/docs/glib/struct.ThreadHandle.html index fc0d43b581a4..a43e7de0be0c 100644 --- a/git/docs/glib/struct.ThreadHandle.html +++ b/git/docs/glib/struct.ThreadHandle.html @@ -71,15 +71,15 @@ -
    glib

    Struct ThreadHandle

    source
    pub struct ThreadHandle<T> { /* private fields */ }
    Expand description

    A handle to a thread running on a ThreadPool.

    +
    glib

    Struct ThreadHandle

    source
    pub struct ThreadHandle<T> { /* private fields */ }
    Expand description

    A handle to a thread running on a ThreadPool.

    Like std::thread::JoinHandle for a GLib thread. The return value from the task can be retrieved by calling ThreadHandle::join. Dropping the handle “detaches” the thread, allowing it to complete but discarding the return value.

    -

    Implementations§

    source§

    impl<T> ThreadHandle<T>

    source

    pub fn join(self) -> Result<T>

    Waits for the associated thread to finish.

    +

    Implementations§

    source§

    impl<T> ThreadHandle<T>

    source

    pub fn join(self) -> Result<T>

    Waits for the associated thread to finish.

    Blocks until the associated thread returns. Returns Ok with the value returned from the thread, or Err if the thread panicked. This function will return immediately if the associated thread has already finished.

    -

    Trait Implementations§

    source§

    impl<T: Debug> Debug for ThreadHandle<T>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<T> Freeze for ThreadHandle<T>

    §

    impl<T> RefUnwindSafe for ThreadHandle<T>

    §

    impl<T> Send for ThreadHandle<T>
    where +

    Trait Implementations§

    source§

    impl<T: Debug> Debug for ThreadHandle<T>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<T> Freeze for ThreadHandle<T>

    §

    impl<T> RefUnwindSafe for ThreadHandle<T>

    §

    impl<T> Send for ThreadHandle<T>
    where T: Send,

    §

    impl<T> !Sync for ThreadHandle<T>

    §

    impl<T> Unpin for ThreadHandle<T>

    §

    impl<T> UnwindSafe for ThreadHandle<T>

    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
    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 diff --git a/git/docs/glib/struct.ThreadPool.html b/git/docs/glib/struct.ThreadPool.html index 753318d08143..b52f8529ad66 100644 --- a/git/docs/glib/struct.ThreadPool.html +++ b/git/docs/glib/struct.ThreadPool.html @@ -71,7 +71,27 @@ -
    glib

    Struct ThreadPool

    source
    pub struct ThreadPool(/* private fields */);
    Expand description

    The GThreadPool struct represents a thread pool.

    +
    glib

    Struct ThreadPool

    source
    pub struct ThreadPool(/* private fields */);
    Expand description

    The GThreadPool struct represents a thread pool.

    +

    A thread pool is useful when you wish to asynchronously fork out the execution of work +and continue working in your own thread. If that will happen often, the overhead of starting +and destroying a thread each time might be too high. In such cases reusing already started +threads seems like a good idea. And it indeed is, but implementing this can be tedious +and error-prone.

    +

    Therefore GLib provides thread pools for your convenience. An added advantage is, that the +threads can be shared between the different subsystems of your program, when they are using GLib.

    +

    To create a new thread pool, you use [new()][Self::new()]. +It is destroyed by GLib::ThreadPool::free().

    +

    If you want to execute a certain task within a thread pool, use push().

    +

    To get the current number of running threads you call num_threads(). +To get the number of still unprocessed tasks you call unprocessed(). +To control the maximum number of threads for a thread pool, you use +max_threads(). and set_max_threads().

    +

    Finally you can control the number of unused threads, that are kept alive by GLib for future use. +The current number can be fetched with num_unused_threads(). +The maximum number can be controlled by max_unused_threads() and +set_max_unused_threads(). All currently unused threads +can be stopped by calling stop_unused_threads(). +The GThreadPool struct represents a thread pool.

    A thread pool is useful when you wish to asynchronously fork out the execution of work and continue working in your own thread. If that will happen often, the overhead of starting and destroying a thread each time might be too high. In such cases reusing already started @@ -91,7 +111,7 @@ The maximum number can be controlled by max_unused_threads() and set_max_unused_threads(). All currently unused threads can be stopped by calling stop_unused_threads().

    -

    Implementations§

    source§

    impl ThreadPool

    source

    pub fn shared(max_threads: Option<u32>) -> Result<Self, Error>

    source

    pub fn exclusive(max_threads: u32) -> Result<Self, Error>

    source

    pub fn push<T: Send + 'static, F: FnOnce() -> T + Send + 'static>( +

    Implementations§

    source§

    impl ThreadPool

    source

    pub fn shared(max_threads: Option<u32>) -> Result<Self, Error>

    source

    pub fn exclusive(max_threads: u32) -> Result<Self, Error>

    source

    pub fn push<T: Send + 'static, F: FnOnce() -> T + Send + 'static>( &self, func: F, ) -> Result<ThreadHandle<T>, Error>

    Inserts @data into the list of tasks to be executed by @self.

    @@ -106,11 +126,24 @@ work to do.

    Before version 2.32, this function did not return a success status.

    §Returns
    +

    true on success, false if an error occurred +Inserts @data into the list of tasks to be executed by @self.

    +

    When the number of currently running threads is lower than the +maximal allowed number of threads, a new thread is started (or +reused) with the properties given to g_thread_pool_new(). +Otherwise, @data stays in the queue until a thread in this pool +finishes its previous task and processes @data.

    +

    @error can be None to ignore errors, or non-None to report +errors. An error can only occur when a new thread couldn’t be +created. In that case @data is simply appended to the queue of +work to do.

    +

    Before version 2.32, this function did not return a success status.

    +
    §Returns

    true on success, false if an error occurred

    -
    source

    pub fn push_future<T: Send + 'static, F: FnOnce() -> T + Send + 'static>( +

    source

    pub fn push_future<T: Send + 'static, F: FnOnce() -> T + Send + 'static>( &self, func: F, -) -> Result<impl Future<Output = Result<T>> + Send + Sync + 'static, Error>

    source

    pub fn set_max_threads(&self, max_threads: Option<u32>) -> Result<(), Error>

    Sets the maximal allowed number of threads for @self. +) -> Result<impl Future<Output = Result<T>> + Send + Sync + 'static, Error>

    source

    pub fn set_max_threads(&self, max_threads: Option<u32>) -> Result<(), Error>

    Sets the maximal allowed number of threads for @self. A value of -1 means that the maximal number of threads is unlimited. If @self is an exclusive thread pool, setting the maximal number of threads to -1 is not allowed.

    @@ -129,33 +162,78 @@
    §Returns
    §max_threads

    a new maximal number of threads for @self, or -1 for unlimited

    -
    §Returns
    -

    true on success, false if an error occurred

    -
    source

    pub fn max_threads(&self) -> Option<u32>

    Returns the maximal number of threads for @self.

    §Returns
    -

    the maximal number of threads

    -
    source

    pub fn num_threads(&self) -> u32

    Returns the number of threads currently running in @self.

    +

    true on success, false if an error occurred +Sets the maximal allowed number of threads for @self. +A value of -1 means that the maximal number of threads +is unlimited. If @self is an exclusive thread pool, setting +the maximal number of threads to -1 is not allowed.

    +

    Setting @max_threads to 0 means stopping all work for @self. +It is effectively frozen until @max_threads is set to a non-zero +value again.

    +

    A thread is never terminated while calling @func, as supplied by +g_thread_pool_new(). Instead the maximal number of threads only +has effect for the allocation of new threads in g_thread_pool_push(). +A new thread is allocated, whenever the number of currently +running threads in @self is smaller than the maximal number.

    +

    @error can be None to ignore errors, or non-None to report +errors. An error can only occur when a new thread couldn’t be +created.

    +

    Before version 2.32, this function did not return a success status.

    +
    §max_threads
    +

    a new maximal number of threads for @self, +or -1 for unlimited

    §Returns
    -

    the number of threads currently running

    -
    source

    pub fn unprocessed(&self) -> u32

    Returns the number of tasks still unprocessed in @self.

    +

    true on success, false if an error occurred

    +
    source

    pub fn max_threads(&self) -> Option<u32>

    Returns the maximal number of threads for @self.

    §Returns
    +

    the maximal number of threads +Returns the maximal number of threads for @self.

    +
    §Returns
    +

    the maximal number of threads

    +
    source

    pub fn num_threads(&self) -> u32

    Returns the number of threads currently running in @self.

    +
    §Returns
    +

    the number of threads currently running +Returns the number of threads currently running in @self.

    +
    §Returns
    +

    the number of threads currently running

    +
    source

    pub fn unprocessed(&self) -> u32

    Returns the number of tasks still unprocessed in @self.

    +
    §Returns
    +

    the number of unprocessed tasks +Returns the number of tasks still unprocessed in @self.

    +
    §Returns

    the number of unprocessed tasks

    -
    source

    pub fn set_max_unused_threads(max_threads: Option<u32>)

    Sets the maximal number of unused threads to @max_threads. +

    source

    pub fn set_max_unused_threads(max_threads: Option<u32>)

    Sets the maximal number of unused threads to @max_threads. If @max_threads is -1, no limit is imposed on the number of unused threads.

    The default value is 2.

    -
    §max_threads
    +
    §max_threads
    +

    maximal number of unused threads +Sets the maximal number of unused threads to @max_threads. +If @max_threads is -1, no limit is imposed on the number +of unused threads.

    +

    The default value is 2.

    +
    §max_threads

    maximal number of unused threads

    -
    source

    pub fn max_unused_threads() -> Option<u32>

    Returns the maximal allowed number of unused threads.

    -
    §Returns
    +
    source

    pub fn max_unused_threads() -> Option<u32>

    Returns the maximal allowed number of unused threads.

    +
    §Returns
    +

    the maximal number of unused threads +Returns the maximal allowed number of unused threads.

    +
    §Returns

    the maximal number of unused threads

    -
    source

    pub fn num_unused_threads() -> u32

    Returns the number of currently unused threads.

    -
    §Returns
    +
    source

    pub fn num_unused_threads() -> u32

    Returns the number of currently unused threads.

    +
    §Returns
    +

    the number of currently unused threads +Returns the number of currently unused threads.

    +
    §Returns

    the number of currently unused threads

    -
    source

    pub fn stop_unused_threads()

    Stops all currently unused threads. This does not change the +

    source

    pub fn stop_unused_threads()

    Stops all currently unused threads. This does not change the +maximal number of unused threads. This function can be used to +regularly stop all unused threads e.g. from g_timeout_add(). +Stops all currently unused threads. This does not change the maximal number of unused threads. This function can be used to regularly stop all unused threads e.g. from g_timeout_add().

    -
    source

    pub fn set_max_idle_time(max_idle_time: u32)

    This function will set the maximum @interval that a thread +

    source

    pub fn set_max_idle_time(max_idle_time: u32)

    This function will set the maximum @interval that a thread waiting in the pool for new tasks can be idle for before being stopped. This function is similar to calling g_thread_pool_stop_unused_threads() on a regular timeout, @@ -164,17 +242,36 @@

    §Returns

    The default value is 15000 (15 seconds).

    §interval

    the maximum @interval (in milliseconds) +a thread can be idle +This function will set the maximum @interval that a thread +waiting in the pool for new tasks can be idle for before +being stopped. This function is similar to calling +g_thread_pool_stop_unused_threads() on a regular timeout, +except this is done on a per thread basis.

    +

    By setting @interval to 0, idle threads will not be stopped.

    +

    The default value is 15000 (15 seconds).

    +
    §interval
    +

    the maximum @interval (in milliseconds) a thread can be idle

    -
    source

    pub fn max_idle_time() -> u32

    This function will return the maximum @interval that a +

    source

    pub fn max_idle_time() -> u32

    This function will return the maximum @interval that a thread will wait in the thread pool for new tasks before being stopped.

    If this function returns 0, threads waiting in the thread pool for new work are not stopped.

    -
    §Returns
    +
    §Returns
    +

    the maximum @interval (milliseconds) to wait +for new tasks in the thread pool before stopping the +thread +This function will return the maximum @interval that a +thread will wait in the thread pool for new tasks before +being stopped.

    +

    If this function returns 0, threads waiting in the thread +pool for new work are not stopped.

    +
    §Returns

    the maximum @interval (milliseconds) to wait for new tasks in the thread pool before stopping the thread

    -

    Trait Implementations§

    source§

    impl Debug for ThreadPool

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for ThreadPool

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Send for ThreadPool

    source§

    impl Sync for ThreadPool

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Debug for ThreadPool

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for ThreadPool

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Send for ThreadPool

    source§

    impl Sync for ThreadPool

    Auto Trait Implementations§

    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
    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> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/git/docs/glib/struct.TimeZone.html b/git/docs/glib/struct.TimeZone.html index 33f8b03e7a5a..39fbf8c0fdc3 100644 --- a/git/docs/glib/struct.TimeZone.html +++ b/git/docs/glib/struct.TimeZone.html @@ -71,7 +71,28 @@ -
    glib

    Struct TimeZone

    source
    pub struct TimeZone { /* private fields */ }
    Expand description

    A GTimeZone represents a time zone, at no particular point in time.

    +
    glib

    Struct TimeZone

    source
    pub struct TimeZone { /* private fields */ }
    Expand description

    A GTimeZone represents a time zone, at no particular point in time.

    +

    The GTimeZone struct is refcounted and immutable.

    +

    Each time zone has an identifier (for example, ‘Europe/London’) which is +platform dependent. See GLib::TimeZone::new() for information on the +identifier formats. The identifier of a time zone can be retrieved using +identifier().

    +

    A time zone contains a number of intervals. Each interval has an abbreviation +to describe it (for example, ‘PDT’), an offset to UTC and a flag indicating +if the daylight savings time is in effect during that interval. A time zone +always has at least one interval — interval 0. Note that interval abbreviations +are not the same as time zone identifiers (apart from ‘UTC’), and cannot be +passed to GLib::TimeZone::new().

    +

    Every UTC time is contained within exactly one interval, but a given +local time may be contained within zero, one or two intervals (due to +incontinuities associated with daylight savings time).

    +

    An interval may refer to a specific period of time (eg: the duration +of daylight savings time during 2010) or it may refer to many periods +of time that share the same properties (eg: all periods of daylight +savings time). It is also possible (usually for political reasons) +that some properties (like the abbreviation) change between intervals +without other properties changing. +A GTimeZone represents a time zone, at no particular point in time.

    The GTimeZone struct is refcounted and immutable.

    Each time zone has an identifier (for example, ‘Europe/London’) which is platform dependent. See GLib::TimeZone::new() for information on the @@ -93,9 +114,9 @@ that some properties (like the abbreviation) change between intervals without other properties changing.

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl TimeZone

    source

    pub fn as_ptr(&self) -> *mut GTimeZone

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GTimeZone) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl TimeZone

    source

    pub fn new(identifier: Option<&str>) -> TimeZone

    👎Deprecated: Since 2.68

    A version of g_time_zone_new_identifier() which returns the UTC time zone +

    Implementations§

    source§

    impl TimeZone

    source

    pub fn as_ptr(&self) -> *mut GTimeZone

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GTimeZone) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl TimeZone

    source

    pub fn new(identifier: Option<&str>) -> TimeZone

    👎Deprecated: Since 2.68

    A version of g_time_zone_new_identifier() which returns the UTC time zone if @identifier could not be parsed or loaded.

    If you need to check whether @identifier was loaded successfully, use g_time_zone_new_identifier().

    @@ -106,8 +127,20 @@
    §identifier

    a timezone identifier

    §Returns
    +

    the requested timezone +A version of g_time_zone_new_identifier() which returns the UTC time zone +if @identifier could not be parsed or loaded.

    +

    If you need to check whether @identifier was loaded successfully, use +g_time_zone_new_identifier().

    +
    §Deprecated since 2.68
    +

    Use g_time_zone_new_identifier() instead, as it provides +error reporting. Change your code to handle a potentially None return +value.

    +
    §identifier
    +

    a timezone identifier

    +
    §Returns

    the requested timezone

    -
    source

    pub fn from_identifier(identifier: Option<&str>) -> Option<TimeZone>

    Available on crate feature v2_68 only.

    Creates a #GTimeZone corresponding to @identifier. If @identifier cannot be +

    source

    pub fn from_identifier(identifier: Option<&str>) -> Option<TimeZone>

    Available on crate feature v2_68 only.

    Creates a #GTimeZone corresponding to @identifier. If @identifier cannot be parsed or loaded, None is returned.

    @identifier can either be an RFC3339/ISO 8601 time offset or something that would pass as a valid value for the TZ environment @@ -163,21 +196,91 @@

    §Returns
    for the list of time zones on Windows.

    You should release the return value by calling g_time_zone_unref() when you are done with it.

    -
    §identifier
    +
    §identifier

    a timezone identifier

    -
    §Returns
    +
    §Returns
    +

    the requested timezone, or None on +failure +Creates a #GTimeZone corresponding to @identifier. If @identifier cannot be +parsed or loaded, None is returned.

    +

    @identifier can either be an RFC3339/ISO 8601 time offset or +something that would pass as a valid value for the TZ environment +variable (including None).

    +

    In Windows, @identifier can also be the unlocalized name of a time +zone for standard time, for example “Pacific Standard Time”.

    +

    Valid RFC3339 time offsets are "Z" (for UTC) or +"±hh:mm". ISO 8601 additionally specifies +"±hhmm" and "±hh". Offsets are +time values to be added to Coordinated Universal Time (UTC) to get +the local time.

    +

    In UNIX, the TZ environment variable typically corresponds +to the name of a file in the zoneinfo database, an absolute path to a file +somewhere else, or a string in +“std offset [dst [offset],start[/time],end[/time]]” (POSIX) format. +There are no spaces in the specification. The name of standard +and daylight savings time zone must be three or more alphabetic +characters. Offsets are time values to be added to local time to +get Coordinated Universal Time (UTC) and should be +"[±]hh[[:]mm[:ss]]". Dates are either +"Jn" (Julian day with n between 1 and 365, leap +years not counted), "n" (zero-based Julian day +with n between 0 and 365) or "Mm.w.d" (day d +(0 <= d <= 6) of week w (1 <= w <= 5) of month m (1 <= m <= 12), day +0 is a Sunday). Times are in local wall clock time, the default is +02:00:00.

    +

    In Windows, the “tzn[+|–]hh[:mm[:ss]][dzn]” format is used, but also +accepts POSIX format. The Windows format uses US rules for all time +zones; daylight savings time is 60 minutes behind the standard time +with date and time of change taken from Pacific Standard Time. +Offsets are time values to be added to the local time to get +Coordinated Universal Time (UTC).

    +

    g_time_zone_new_local() calls this function with the value of the +TZ environment variable. This function itself is independent of +the value of TZ, but if @identifier is None then /etc/localtime +will be consulted to discover the correct time zone on UNIX and the +registry will be consulted or GetTimeZoneInformation() will be used +to get the local time zone on Windows.

    +

    If intervals are not available, only time zone rules from TZ +environment variable or other means, then they will be computed +from year 1900 to 2037. If the maximum year for the rules is +available and it is greater than 2037, then it will followed +instead.

    +

    See +RFC3339 §5.6 +for a precise definition of valid RFC3339 time offsets +(the time-offset expansion) and ISO 8601 for the +full list of valid time offsets. See +The GNU C Library manual +for an explanation of the possible +values of the TZ environment variable. See +Microsoft Time Zone Index Values +for the list of time zones on Windows.

    +

    You should release the return value by calling g_time_zone_unref() +when you are done with it.

    +
    §identifier
    +

    a timezone identifier

    +
    §Returns

    the requested timezone, or None on failure

    -
    source

    pub fn local() -> TimeZone

    Creates a #GTimeZone corresponding to local time. The local time +

    source

    pub fn local() -> TimeZone

    Creates a #GTimeZone corresponding to local time. The local time zone may change between invocations to this function; for example, if the system administrator changes it.

    This is equivalent to calling g_time_zone_new() with the value of the TZ environment variable (including the possibility of None).

    You should release the return value by calling g_time_zone_unref() when you are done with it.

    -
    §Returns
    +
    §Returns
    +

    the local timezone +Creates a #GTimeZone corresponding to local time. The local time +zone may change between invocations to this function; for example, +if the system administrator changes it.

    +

    This is equivalent to calling g_time_zone_new() with the value of +the TZ environment variable (including the possibility of None).

    +

    You should release the return value by calling g_time_zone_unref() +when you are done with it.

    +
    §Returns

    the local timezone

    -
    source

    pub fn from_offset(seconds: i32) -> TimeZone

    Available on crate feature v2_58 only.

    Creates a #GTimeZone corresponding to the given constant offset from UTC, +

    source

    pub fn from_offset(seconds: i32) -> TimeZone

    Available on crate feature v2_58 only.

    Creates a #GTimeZone corresponding to the given constant offset from UTC, in seconds.

    This is equivalent to calling g_time_zone_new() with a string in the form [+|-]hh[:mm[:ss]].

    @@ -187,17 +290,37 @@
    §Returns
    g_time_zone_new_identifier() directly.

    §seconds

    offset to UTC, in seconds

    -
    §Returns
    +
    §Returns
    +

    a timezone at the given offset from UTC, or UTC on +failure +Creates a #GTimeZone corresponding to the given constant offset from UTC, +in seconds.

    +

    This is equivalent to calling g_time_zone_new() with a string in the form +[+|-]hh[:mm[:ss]].

    +

    It is possible for this function to fail if @seconds is too big (greater than +24 hours), in which case this function will return the UTC timezone for +backwards compatibility. To detect failures like this, use +g_time_zone_new_identifier() directly.

    +
    §seconds
    +

    offset to UTC, in seconds

    +
    §Returns

    a timezone at the given offset from UTC, or UTC on failure

    -
    source

    pub fn utc() -> TimeZone

    Creates a #GTimeZone corresponding to UTC.

    +
    source

    pub fn utc() -> TimeZone

    Creates a #GTimeZone corresponding to UTC.

    This is equivalent to calling g_time_zone_new() with a value like “Z”, “UTC”, “+00”, etc.

    You should release the return value by calling g_time_zone_unref() when you are done with it.

    -
    §Returns
    +
    §Returns
    +

    the universal timezone +Creates a #GTimeZone corresponding to UTC.

    +

    This is equivalent to calling g_time_zone_new() with a value like +“Z”, “UTC”, “+00”, etc.

    +

    You should release the return value by calling g_time_zone_unref() +when you are done with it.

    +
    §Returns

    the universal timezone

    -
    source

    pub fn find_interval(&self, type_: TimeType, time_: i64) -> i32

    Finds an interval within @self that corresponds to the given @time_. +

    source

    pub fn find_interval(&self, type_: TimeType, time_: i64) -> i32

    Finds an interval within @self that corresponds to the given @time_. The meaning of @time_ depends on @type_.

    If @type_ is TimeType::Universal then this function will always succeed (since universal time is monotonic and continuous).

    @@ -216,43 +339,98 @@
    §type_

    the #GTimeType of @time_

    §time_

    a number of seconds since January 1, 1970

    -
    §Returns
    +
    §Returns
    +

    the interval containing @time_, or -1 in case of failure +Finds an interval within @self that corresponds to the given @time_. +The meaning of @time_ depends on @type_.

    +

    If @type_ is TimeType::Universal then this function will always +succeed (since universal time is monotonic and continuous).

    +

    Otherwise @time_ is treated as local time. The distinction between +TimeType::Standard and TimeType::Daylight is ignored except in +the case that the given @time_ is ambiguous. In Toronto, for example, +01:30 on November 7th 2010 occurred twice (once inside of daylight +savings time and the next, an hour later, outside of daylight savings +time). In this case, the different value of @type_ would result in a +different interval being returned.

    +

    It is still possible for this function to fail. In Toronto, for +example, 02:00 on March 14th 2010 does not exist (due to the leap +forward to begin daylight savings time). -1 is returned in that +case.

    +
    §type_
    +

    the #GTimeType of @time_

    +
    §time_
    +

    a number of seconds since January 1, 1970

    +
    §Returns

    the interval containing @time_, or -1 in case of failure

    -
    source

    pub fn abbreviation(&self, interval: i32) -> GString

    Determines the time zone abbreviation to be used during a particular +

    source

    pub fn abbreviation(&self, interval: i32) -> GString

    Determines the time zone abbreviation to be used during a particular @interval of time in the time zone @self.

    For example, in Toronto this is currently “EST” during the winter months and “EDT” during the summer months when daylight savings time is in effect.

    §interval

    an interval within the timezone

    -
    §Returns
    +
    §Returns
    +

    the time zone abbreviation, which belongs to @self +Determines the time zone abbreviation to be used during a particular +@interval of time in the time zone @self.

    +

    For example, in Toronto this is currently “EST” during the winter +months and “EDT” during the summer months when daylight savings time +is in effect.

    +
    §interval
    +

    an interval within the timezone

    +
    §Returns

    the time zone abbreviation, which belongs to @self

    -
    source

    pub fn identifier(&self) -> GString

    Available on crate feature v2_58 only.

    Get the identifier of this #GTimeZone, as passed to g_time_zone_new(). +

    source

    pub fn identifier(&self) -> GString

    Available on crate feature v2_58 only.

    Get the identifier of this #GTimeZone, as passed to g_time_zone_new(). If the identifier passed at construction time was not recognised, UTC will be returned. If it was None, the identifier of the local timezone at construction time will be returned.

    The identifier will be returned in the same format as provided at construction time: if provided as a time offset, that will be returned by this function.

    -
    §Returns
    +
    §Returns
    +

    identifier for this timezone +Get the identifier of this #GTimeZone, as passed to g_time_zone_new(). +If the identifier passed at construction time was not recognised, UTC will +be returned. If it was None, the identifier of the local timezone at +construction time will be returned.

    +

    The identifier will be returned in the same format as provided at +construction time: if provided as a time offset, that will be returned by +this function.

    +
    §Returns

    identifier for this timezone

    -
    source

    pub fn offset(&self, interval: i32) -> i32

    Determines the offset to UTC in effect during a particular @interval +

    source

    pub fn offset(&self, interval: i32) -> i32

    Determines the offset to UTC in effect during a particular @interval of time in the time zone @self.

    The offset is the number of seconds that you add to UTC time to arrive at local time for @self (ie: negative numbers for time zones west of GMT, positive numbers for east).

    -
    §interval
    +
    §interval

    an interval within the timezone

    -
    §Returns
    +
    §Returns
    +

    the number of seconds that should be added to UTC to get the +local time in @self +Determines the offset to UTC in effect during a particular @interval +of time in the time zone @self.

    +

    The offset is the number of seconds that you add to UTC time to +arrive at local time for @self (ie: negative numbers for time zones +west of GMT, positive numbers for east).

    +
    §interval
    +

    an interval within the timezone

    +
    §Returns

    the number of seconds that should be added to UTC to get the local time in @self

    -
    source

    pub fn is_dst(&self, interval: i32) -> bool

    Determines if daylight savings time is in effect during a particular +

    source

    pub fn is_dst(&self, interval: i32) -> bool

    Determines if daylight savings time is in effect during a particular @interval of time in the time zone @self.

    -
    §interval
    +
    §interval

    an interval within the timezone

    -
    §Returns
    +
    §Returns
    +

    true if daylight savings time is in effect +Determines if daylight savings time is in effect during a particular +@interval of time in the time zone @self.

    +
    §interval
    +

    an interval within the timezone

    +
    §Returns

    true if daylight savings time is in effect

    -
    source§

    impl TimeZone

    source

    pub fn adjust_time(&self, type_: TimeType, time: i64) -> (i32, i64)

    Finds an interval within @self that corresponds to the given @time_, +

    source§

    impl TimeZone

    source

    pub fn adjust_time(&self, type_: TimeType, time: i64) -> (i32, i64)

    Finds an interval within @self that corresponds to the given @time_, possibly adjusting @time_ if required to fit into an interval. The meaning of @time_ depends on @type_.

    This function is similar to g_time_zone_find_interval(), with the @@ -265,24 +443,43 @@

    §Returns
    requested on March 14th 2010 in Toronto then this function would adjust @time_ to be 03:00 and return the interval containing the adjusted time.

    -
    §type_
    +
    §type_

    the #GTimeType of @time_

    -
    §time_
    +
    §time_

    a pointer to a number of seconds since January 1, 1970

    -
    §Returns
    +
    §Returns
    +

    the interval containing @time_, never -1 +Finds an interval within @self that corresponds to the given @time_, +possibly adjusting @time_ if required to fit into an interval. +The meaning of @time_ depends on @type_.

    +

    This function is similar to g_time_zone_find_interval(), with the +difference that it always succeeds (by making the adjustments +described below).

    +

    In any of the cases where g_time_zone_find_interval() succeeds then +this function returns the same value, without modifying @time_.

    +

    This function may, however, modify @time_ in order to deal with +non-existent times. If the non-existent local @time_ of 02:30 were +requested on March 14th 2010 in Toronto then this function would +adjust @time_ to be 03:00 and return the interval containing the +adjusted time.

    +
    §type_
    +

    the #GTimeType of @time_

    +
    §time_
    +

    a pointer to a number of seconds since January 1, 1970

    +
    §Returns

    the interval containing @time_, never -1

    -

    Trait Implementations§

    source§

    impl Clone for TimeZone

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +

    Trait Implementations§

    source§

    impl Clone for TimeZone

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TimeZone

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<TimeZone> for Value

    source§

    fn from(s: TimeZone) -> Self

    Converts to this type from the input type.
    source§

    impl HasParamSpec for TimeZone

    source§

    type ParamSpec = ParamSpecBoxed

    source§

    type SetValue = TimeZone

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, TimeZone>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for TimeZone

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TimeZone

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<TimeZone> for Value

    source§

    fn from(s: TimeZone) -> Self

    Converts to this type from the input type.
    source§

    impl HasParamSpec for TimeZone

    source§

    type ParamSpec = ParamSpecBoxed

    source§

    type SetValue = TimeZone

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, TimeZone>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for TimeZone

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for TimeZone

    source§

    fn cmp(&self, other: &TimeZone) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for TimeZone

    source§

    fn cmp(&self, other: &TimeZone) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for TimeZone

    source§

    fn eq(&self, other: &TimeZone) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for TimeZone

    source§

    fn partial_cmp(&self, other: &TimeZone) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,
    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for TimeZone

    source§

    fn eq(&self, other: &TimeZone) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for TimeZone

    source§

    fn partial_cmp(&self, other: &TimeZone) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for TimeZone

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for TimeZone

    source§

    impl Send for TimeZone

    source§

    impl StructuralPartialEq for TimeZone

    source§

    impl Sync for TimeZone

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for TimeZone

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for TimeZone

    source§

    impl Send for TimeZone

    source§

    impl StructuralPartialEq for TimeZone

    source§

    impl Sync for TimeZone

    Auto Trait Implementations§

    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
    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 @@ -315,8 +512,8 @@
    §Returns
    T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/struct.TypeFlags.html b/git/docs/glib/struct.TypeFlags.html index 5e9cf7b99656..459b549d965a 100644 --- a/git/docs/glib/struct.TypeFlags.html +++ b/git/docs/glib/struct.TypeFlags.html @@ -1,4 +1,4 @@ -TypeFlags in glib - Rust +TypeFlags in glib - Rust -
    glib

    Struct TypeFlags

    source
    pub struct TypeFlags(/* private fields */);
    Expand description

    Bit masks used to check or determine characteristics of a type.

    -

    Implementations§

    source§

    impl TypeFlags

    source

    pub const NONE: Self = _

    No special flags. Since: 2.74

    -
    source

    pub const ABSTRACT: Self = _

    Indicates an abstract type. No instances can be +

    glib

    Struct TypeFlags

    source
    pub struct TypeFlags(/* private fields */);
    Expand description

    Bit masks used to check or determine characteristics of a type. +Bit masks used to check or determine characteristics of a type.

    +

    Implementations§

    source§

    impl TypeFlags

    source

    pub const NONE: Self = _

    No special flags. Since: 2.74 +No special flags. Since: 2.74

    +
    source

    pub const ABSTRACT: Self = _

    Indicates an abstract type. No instances can be +created for an abstract type +Indicates an abstract type. No instances can be created for an abstract type

    -
    source

    pub const VALUE_ABSTRACT: Self = _

    Indicates an abstract value type, i.e. a type +

    source

    pub const VALUE_ABSTRACT: Self = _

    Indicates an abstract value type, i.e. a type +that introduces a value table, but can’t be used for +[Value::init()][crate::Value::init()] +Indicates an abstract value type, i.e. a type that introduces a value table, but can’t be used for [Value::init()][crate::Value::init()]

    -
    source

    pub const FINAL: Self = _

    Indicates a final type. A final type is a non-derivable +

    source

    pub const FINAL: Self = _

    Indicates a final type. A final type is a non-derivable +leaf node in a deep derivable type hierarchy tree. Since: 2.70 +Indicates a final type. A final type is a non-derivable leaf node in a deep derivable type hierarchy tree. Since: 2.70

    -
    source

    pub const DEPRECATED: Self = _

    The type is deprecated and may be removed in a +

    source

    pub const DEPRECATED: Self = _

    The type is deprecated and may be removed in a +future version. A warning will be emitted if it is instantiated while +running with G_ENABLE_DIAGNOSTIC=1. Since 2.76 +The type is deprecated and may be removed in a future version. A warning will be emitted if it is instantiated while running with G_ENABLE_DIAGNOSTIC=1. Since 2.76

    -
    source§

    impl TypeFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    -
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    -
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    +
    source§

    impl TypeFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    +
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    +
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    The returned value is exactly the bits set in this flags value.

    -
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    +
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    This method will return None if any unknown bits are set.

    -
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    -
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    -
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    +
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    +
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    +
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    This method will return None if name is empty or doesn’t correspond to any named flag.

    -
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    -
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    -
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    -
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    -
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    +
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    +
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    +
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    +
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

    -
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    -
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    +
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    impl TypeFlags

    source

    pub const fn iter(&self) -> Iter<TypeFlags>

    Yield a set of contained flags values.

    +
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    impl TypeFlags

    source

    pub const fn iter(&self) -> Iter<TypeFlags>

    Yield a set of contained flags values.

    Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.

    -
    source

    pub const fn iter_names(&self) -> IterNames<TypeFlags>

    Yield a set of contained named flags values.

    +
    source

    pub const fn iter_names(&self) -> IterNames<TypeFlags>

    Yield a set of contained named flags values.

    This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

    -

    Trait Implementations§

    source§

    impl Binary for TypeFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for TypeFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    type Output = TypeFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for TypeFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    impl BitOr for TypeFlags

    source§

    fn bitor(self, other: TypeFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    type Output = TypeFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for TypeFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    impl BitXor for TypeFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    type Output = TypeFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for TypeFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    impl Clone for TypeFlags

    source§

    fn clone(&self) -> TypeFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypeFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<TypeFlags> for TypeFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    -
    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
    source§

    impl Flags for TypeFlags

    source§

    const FLAGS: &'static [Flag<TypeFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> TypeFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where +

    Trait Implementations§

    source§

    impl Binary for TypeFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for TypeFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    type Output = TypeFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for TypeFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    impl BitOr for TypeFlags

    source§

    fn bitor(self, other: TypeFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    type Output = TypeFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for TypeFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    impl BitXor for TypeFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    type Output = TypeFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for TypeFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    impl Clone for TypeFlags

    source§

    fn clone(&self) -> TypeFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypeFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<TypeFlags> for TypeFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    +
    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
    source§

    impl Flags for TypeFlags

    source§

    const FLAGS: &'static [Flag<TypeFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> TypeFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> bool
    where Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)
    where Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)
    where Self: Sized,

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn toggle(&mut self, other: Self)
    where Self: Sized,

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn set(&mut self, other: Self, value: bool)
    where - Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<TypeFlags> for TypeFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    impl Hash for TypeFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<TypeFlags> for TypeFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    +
    source§

    impl Hash for TypeFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for TypeFlags

    source§

    type Item = TypeFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<TypeFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for TypeFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for TypeFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    type Output = TypeFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for TypeFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for TypeFlags

    source§

    fn eq(&self, other: &TypeFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PublicFlags for TypeFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for TypeFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for TypeFlags

    source§

    type Item = TypeFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<TypeFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for TypeFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for TypeFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    type Output = TypeFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for TypeFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for TypeFlags

    source§

    fn eq(&self, other: &TypeFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PublicFlags for TypeFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for TypeFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    type Output = TypeFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for TypeFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source§

    type Output = TypeFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for TypeFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    impl UpperHex for TypeFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for TypeFlags

    source§

    impl Eq for TypeFlags

    source§

    impl StructuralPartialEq for TypeFlags

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    source§

    impl UpperHex for TypeFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for TypeFlags

    source§

    impl Eq for TypeFlags

    source§

    impl StructuralPartialEq for TypeFlags

    Auto Trait Implementations§

    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
    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 diff --git a/git/docs/glib/struct.TypeInfo.html b/git/docs/glib/struct.TypeInfo.html index b741d5ff7be2..cd23c91f040a 100644 --- a/git/docs/glib/struct.TypeInfo.html +++ b/git/docs/glib/struct.TypeInfo.html @@ -71,7 +71,15 @@ -
    glib

    Struct TypeInfo

    source
    pub struct TypeInfo(/* private fields */);
    Expand description

    This structure is used to provide the type system with the information +

    glib

    Struct TypeInfo

    source
    pub struct TypeInfo(/* private fields */);
    Expand description

    This structure is used to provide the type system with the information +required to initialize and destruct (finalize) a type’s class and +its instances.

    +

    The initialized structure is passed to the g_type_register_static() function +(or is copied into the provided TypeInfo structure in the +[TypePluginExtManual::complete_type_info()][crate::prelude::TypePluginExtManual::complete_type_info()]). The type system will perform a deep +copy of this structure, so its memory does not need to be persistent +across invocation of g_type_register_static(). +This structure is used to provide the type system with the information required to initialize and destruct (finalize) a type’s class and its instances.

    The initialized structure is passed to the g_type_register_static() function @@ -79,8 +87,8 @@ [TypePluginExtManual::complete_type_info()][crate::prelude::TypePluginExtManual::complete_type_info()]). The type system will perform a deep copy of this structure, so its memory does not need to be persistent across invocation of g_type_register_static().

    -

    Trait Implementations§

    source§

    impl Clone for TypeInfo

    source§

    fn clone(&self) -> TypeInfo

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypeInfo

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for TypeInfo

    source§

    fn default() -> Self

    Creates a new TypeInfo with default value.

    -
    source§

    impl Copy for TypeInfo

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Clone for TypeInfo

    source§

    fn clone(&self) -> TypeInfo

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypeInfo

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for TypeInfo

    source§

    fn default() -> Self

    Creates a new TypeInfo with default value.

    +
    source§

    impl Copy for TypeInfo

    Auto Trait Implementations§

    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
    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 diff --git a/git/docs/glib/struct.TypeModule.html b/git/docs/glib/struct.TypeModule.html index c3dfc5038605..49001d2924cc 100644 --- a/git/docs/glib/struct.TypeModule.html +++ b/git/docs/glib/struct.TypeModule.html @@ -71,7 +71,7 @@ -
    glib

    Struct TypeModule

    source
    pub struct TypeModule { /* private fields */ }
    Expand description

    GTypeModule provides a simple implementation of the GTypePlugin +

    glib

    Struct TypeModule

    source
    pub struct TypeModule { /* private fields */ }
    Expand description

    GTypeModule provides a simple implementation of the GTypePlugin interface.

    The model of GTypeModule is a dynamically loaded module which implements some number of types and interface implementations.

    @@ -100,11 +100,41 @@ in GTypeModuleClass.

    This is an Abstract Base Class, you cannot instantiate it.

    §Implements

    +

    ObjectExt, TypePluginExt +GTypeModule provides a simple implementation of the GTypePlugin +interface.

    +

    The model of GTypeModule is a dynamically loaded module which +implements some number of types and interface implementations.

    +

    When the module is loaded, it registers its types and interfaces +using [methodObject.register_type] and +[methodObject.add_interface]. +As long as any instances of these types and interface implementations +are in use, the module is kept loaded. When the types and interfaces +are gone, the module may be unloaded. If the types and interfaces +become used again, the module will be reloaded. Note that the last +reference cannot be released from within the module code, since that +would lead to the caller’s code being unloaded before g_object_unref() +returns to it.

    +

    Keeping track of whether the module should be loaded or not is done by +using a use count - it starts at zero, and whenever it is greater than +zero, the module is loaded. The use count is maintained internally by +the type system, but also can be explicitly controlled by +[methodObject.use] and [methodObject.unuse]. +Typically, when loading a module for the first type, [TypeModuleExtManual::use_()][crate::prelude::TypeModuleExtManual::use_()] +will be used to load it so that it can initialize its types. At some later +point, when the module no longer needs to be loaded except for the type +implementations it contains, [TypeModuleExtManual::unuse()][crate::prelude::TypeModuleExtManual::unuse()] is called.

    +

    GTypeModule does not actually provide any implementation of module +loading and unloading. To create a particular module type you must +derive from GTypeModule and implement the load and unload functions +in GTypeModuleClass.

    +

    This is an Abstract Base Class, you cannot instantiate it.

    +

    §Implements

    ObjectExt, TypePluginExt

    GLib type: GObject with reference counted clone semantics.

    -

    Implementations§

    source§

    impl TypeModule

    source

    pub const NONE: Option<&'static TypeModule> = None

    Trait Implementations§

    source§

    impl Clone for TypeModule

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +

    Implementations§

    source§

    impl TypeModule

    source

    pub const NONE: Option<&'static TypeModule> = None

    Trait Implementations§

    source§

    impl Clone for TypeModule

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the object. Dropping the object will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypeModule

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DynamicObjectRegisterExt for TypeModule

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypeModule

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DynamicObjectRegisterExt for TypeModule

    source§

    fn add_dynamic_interface( &self, instance_type: Type, interface_type: Type, @@ -123,39 +153,39 @@

    §Implementsstr, type_info: &TypeInfo, flags: TypeFlags, -) -> Type

    source§

    impl HasParamSpec for TypeModule

    source§

    type ParamSpec = ParamSpecObject

    source§

    type SetValue = TypeModule

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecObjectBuilder<'_, TypeModule>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for TypeModule

    source§

    fn hash<H>(&self, state: &mut H)
    where +) -> Type

    source§

    impl HasParamSpec for TypeModule

    source§

    type ParamSpec = ParamSpecObject

    source§

    type SetValue = TypeModule

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecObjectBuilder<'_, TypeModule>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for TypeModule

    source§

    fn hash<H>(&self, state: &mut H)
    where H: Hasher,

    Hashes the memory address of this object.

    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<T: TypeModuleImpl> IsSubclassable<T> for TypeModule

    source§

    fn class_init(class: &mut Class<Self>)

    Override the virtual methods of this class for the given subclass and do other class -initialization. Read more
    source§

    fn instance_init(instance: &mut InitializingObject<T>)

    Instance specific initialization. Read more
    source§

    impl Ord for TypeModule

    source§

    fn cmp(&self, other: &Self) -> Ordering

    Comparison for two GObjects.

    + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<T: TypeModuleImpl> IsSubclassable<T> for TypeModule

    source§

    fn class_init(class: &mut Class<Self>)

    Override the virtual methods of this class for the given subclass and do other class +initialization. Read more
    source§

    fn instance_init(instance: &mut InitializingObject<T>)

    Instance specific initialization. Read more
    source§

    impl Ord for TypeModule

    source§

    fn cmp(&self, other: &Self) -> Ordering

    Comparison for two GObjects.

    Compares the memory addresses of the provided objects.

    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl ParentClassIs for TypeModule

    source§

    impl<OT: ObjectType> PartialEq<OT> for TypeModule

    source§

    fn eq(&self, other: &OT) -> bool

    Equality for two GObjects.

    + Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl ParentClassIs for TypeModule

    source§

    impl<OT: ObjectType> PartialEq<OT> for TypeModule

    source§

    fn eq(&self, other: &OT) -> bool

    Equality for two GObjects.

    Two GObjects are equal if their memory addresses are equal.

    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<OT: ObjectType> PartialOrd<OT> for TypeModule

    source§

    fn partial_cmp(&self, other: &OT) -> Option<Ordering>

    Partial comparison for two GObjects.

    +and should not be overridden without very good reason.
    source§

    impl<OT: ObjectType> PartialOrd<OT> for TypeModule

    source§

    fn partial_cmp(&self, other: &OT) -> Option<Ordering>

    Partial comparison for two GObjects.

    Compares the memory addresses of the provided objects.

    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for TypeModule

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for TypeModule

    source§

    impl IsA<TypePlugin> for TypeModule

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for TypeModule

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for TypeModule

    source§

    impl IsA<TypePlugin> for TypeModule

    Auto Trait Implementations§

    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
    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> Cast for T
    where - T: ObjectType,

    source§

    fn upcast<T: ObjectType>(self) -> T
    where - Self: IsA<T>,

    Upcasts an object to a superclass or interface T. Read more
    source§

    fn upcast_ref<T: ObjectType>(&self) -> &T
    where - Self: IsA<T>,

    Upcasts an object to a reference of its superclass or interface T. Read more
    source§

    fn downcast<T: ObjectType>(self) -> Result<T, Self>
    where - Self: MayDowncastTo<T>,

    Tries to downcast to a subclass or interface implementor T. Read more
    source§

    fn downcast_ref<T: ObjectType>(&self) -> Option<&T>
    where - Self: MayDowncastTo<T>,

    Tries to downcast to a reference of its subclass or interface implementor T. Read more
    source§

    fn dynamic_cast<T: ObjectType>(self) -> Result<T, Self>

    Tries to cast to an object of type T. This handles upcasting, downcasting + T: ?Sized,
    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> Cast for T
    where + T: ObjectType,

    source§

    fn upcast<T: ObjectType>(self) -> T
    where + Self: IsA<T>,

    Upcasts an object to a superclass or interface T. Read more
    source§

    fn upcast_ref<T: ObjectType>(&self) -> &T
    where + Self: IsA<T>,

    Upcasts an object to a reference of its superclass or interface T. Read more
    source§

    fn downcast<T: ObjectType>(self) -> Result<T, Self>
    where + Self: MayDowncastTo<T>,

    Tries to downcast to a subclass or interface implementor T. Read more
    source§

    fn downcast_ref<T: ObjectType>(&self) -> Option<&T>
    where + Self: MayDowncastTo<T>,

    Tries to downcast to a reference of its subclass or interface implementor T. Read more
    source§

    fn dynamic_cast<T: ObjectType>(self) -> Result<T, Self>

    Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
    source§

    fn dynamic_cast_ref<T: ObjectType>(&self) -> Option<&T>

    Tries to cast to reference to an object of type T. This handles upcasting, downcasting +compile-time safety. Read more
    source§

    fn dynamic_cast_ref<T: ObjectType>(&self) -> Option<&T>

    Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
    source§

    unsafe fn unsafe_cast<T: ObjectType>(self) -> T

    Casts to T unconditionally. Read more
    source§

    unsafe fn unsafe_cast_ref<T: ObjectType>(&self) -> &T

    Casts to &T unconditionally. Read more
    source§

    impl<T> CloneToUninit for T
    where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

    source§

    unsafe fn unsafe_cast<T: ObjectType>(self) -> T

    Casts to T unconditionally. Read more
    source§

    unsafe fn unsafe_cast_ref<T: ObjectType>(&self) -> &T

    Casts to &T unconditionally. Read more
    source§

    impl<T> CloneToUninit for T
    where T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T

    source§

    impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for T
    where @@ -185,116 +215,116 @@

    §ImplementsObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,

    source§

    fn parent_instance_init<T>(instance: &mut InitializingObject<T>)

    source§

    impl<T> ObjectExt for T
    where - T: ObjectType,

    source§

    fn is<U>(&self) -> bool
    where - U: StaticType,

    Returns true if the object is an instance of (can be cast to) T.
    source§

    fn type_(&self) -> Type

    Returns the type of the object.
    source§

    fn object_class(&self) -> &Class<Object>

    Returns the ObjectClass of the object. Read more
    source§

    fn class(&self) -> &Class<T>
    where - T: IsClass,

    Returns the class of the object.
    source§

    fn class_of<U>(&self) -> Option<&Class<U>>
    where - U: IsClass,

    Returns the class of the object in the given type T. Read more
    source§

    fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
    where - U: IsInterface,

    Returns the interface T of the object. Read more
    source§

    fn set_property(&self, property_name: &str, value: impl Into<Value>)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_property_from_value(&self, property_name: &str, value: &Value)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

    Sets multiple properties of the object at once. Read more
    source§

    fn set_properties_from_value(&self, property_values: &[(&str, Value)])

    Sets multiple properties of the object at once. Read more
    source§

    fn property<V>(&self, property_name: &str) -> V
    where - V: for<'b> FromValue<'b> + 'static,

    Gets the property property_name of the object and cast it to the type V. Read more
    source§

    fn property_value(&self, property_name: &str) -> Value

    Gets the property property_name of the object. Read more
    source§

    fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

    Check if the object has a property property_name of the given type_. Read more
    source§

    fn property_type(&self, property_name: &str) -> Option<Type>

    Get the type of the property property_name of this object. Read more
    source§

    fn find_property(&self, property_name: &str) -> Option<ParamSpec>

    Get the ParamSpec of the property property_name of this object.
    source§

    fn list_properties(&self) -> PtrSlice<ParamSpec>

    Return all ParamSpec of the properties of this object.
    source§

    fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

    Freeze all property notifications until the return guard object is dropped. Read more
    source§

    unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
    where - QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
    where - QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
    where - QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn set_data<QD>(&self, key: &str, value: QD)
    where - QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
    where - QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
    where - QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    fn block_signal(&self, handler_id: &SignalHandlerId)

    Block a given signal handler. Read more
    source§

    fn unblock_signal(&self, handler_id: &SignalHandlerId)

    Unblock a given signal handler.
    source§

    fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

    Stop emission of the currently emitted signal.
    source§

    fn stop_signal_emission_by_name(&self, signal_name: &str)

    Stop emission of the currently emitted signal by the (possibly detailed) signal name.
    source§

    fn connect<F>( + <U as ParentClassIs>::Parent: IsSubclassable<T>,

    source§

    impl<T> ObjectExt for T
    where + T: ObjectType,

    source§

    fn is<U>(&self) -> bool
    where + U: StaticType,

    Returns true if the object is an instance of (can be cast to) T.
    source§

    fn type_(&self) -> Type

    Returns the type of the object.
    source§

    fn object_class(&self) -> &Class<Object>

    Returns the ObjectClass of the object. Read more
    source§

    fn class(&self) -> &Class<T>
    where + T: IsClass,

    Returns the class of the object.
    source§

    fn class_of<U>(&self) -> Option<&Class<U>>
    where + U: IsClass,

    Returns the class of the object in the given type T. Read more
    source§

    fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
    where + U: IsInterface,

    Returns the interface T of the object. Read more
    source§

    fn set_property(&self, property_name: &str, value: impl Into<Value>)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_property_from_value(&self, property_name: &str, value: &Value)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

    Sets multiple properties of the object at once. Read more
    source§

    fn set_properties_from_value(&self, property_values: &[(&str, Value)])

    Sets multiple properties of the object at once. Read more
    source§

    fn property<V>(&self, property_name: &str) -> V
    where + V: for<'b> FromValue<'b> + 'static,

    Gets the property property_name of the object and cast it to the type V. Read more
    source§

    fn property_value(&self, property_name: &str) -> Value

    Gets the property property_name of the object. Read more
    source§

    fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

    Check if the object has a property property_name of the given type_. Read more
    source§

    fn property_type(&self, property_name: &str) -> Option<Type>

    Get the type of the property property_name of this object. Read more
    source§

    fn find_property(&self, property_name: &str) -> Option<ParamSpec>

    Get the ParamSpec of the property property_name of this object.
    source§

    fn list_properties(&self) -> PtrSlice<ParamSpec>

    Return all ParamSpec of the properties of this object.
    source§

    fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

    Freeze all property notifications until the return guard object is dropped. Read more
    source§

    unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
    where + QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
    where + QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
    where + QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn set_data<QD>(&self, key: &str, value: QD)
    where + QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
    where + QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
    where + QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    fn block_signal(&self, handler_id: &SignalHandlerId)

    Block a given signal handler. Read more
    source§

    fn unblock_signal(&self, handler_id: &SignalHandlerId)

    Unblock a given signal handler.
    source§

    fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

    Stop emission of the currently emitted signal.
    source§

    fn stop_signal_emission_by_name(&self, signal_name: &str)

    Stop emission of the currently emitted signal by the (possibly detailed) signal name.
    source§

    fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_name on this object. Read more
    source§

    unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_name on this object. Read more
    source§

    unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

    Connect a closure to the signal signal_name on this object. Read more
    source§

    fn connect_closure_id( +) -> SignalHandlerId

    Connect a closure to the signal signal_name on this object. Read more
    source§

    fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

    Connect a closure to the signal signal_id on this object. Read more
    source§

    fn watch_closure(&self, closure: &impl AsRef<Closure>)

    Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
    Connect a closure to the signal signal_id on this object. Read more
    source§

    fn watch_closure(&self, closure: &impl AsRef<Closure>)

    Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
    source§

    fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

    Emit signal by signal id. Read more
    source§

    fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

    Same as Self::emit but takes Value for the arguments.
    source§

    fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_values( +invoke when using Rust closures.

    source§

    fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

    Emit signal by signal id. Read more
    source§

    fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

    Same as Self::emit but takes Value for the arguments.
    source§

    fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_details<R>( +) -> Option<Value>

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

    Emit signal by its name with details. Read more
    source§

    fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

    Emit signal by its name with details. Read more
    source§

    fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

    Emit signal by its name with details. Read more
    source§

    fn emit_with_details<R>( +) -> Option<Value>

    Emit signal by its name with details. Read more
    source§

    fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

    Emit signal by signal id with details. Read more
    source§

    fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

    Emit signal by signal id with details. Read more
    source§

    fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

    Emit signal by signal id with details. Read more
    source§

    fn disconnect(&self, handler_id: SignalHandlerId)

    Disconnect a previously connected signal handler.
    source§

    fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

    Connect to the notify signal of the object. Read more
    source§

    fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where - F: Fn(&T, &ParamSpec) + 'static,

    Connect to the notify signal of the object. Read more
    source§

    unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

    Emit signal by signal id with details. Read more
    source§

    fn disconnect(&self, handler_id: SignalHandlerId)

    Disconnect a previously connected signal handler.
    source§

    fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

    Connect to the notify signal of the object. Read more
    source§

    fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where + F: Fn(&T, &ParamSpec) + 'static,

    Connect to the notify signal of the object. Read more
    source§

    unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
    where - F: Fn(&T, &ParamSpec),

    Connect to the notify signal of the object. Read more
    source§

    fn notify(&self, property_name: &str)

    Notify that the given property has changed its value. Read more
    source§

    fn notify_by_pspec(&self, pspec: &ParamSpec)

    Notify that the given property has changed its value. Read more
    source§

    fn downgrade(&self) -> WeakRef<T>

    Downgrade this object to a weak reference.
    source§

    fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
    where - F: FnOnce() + Send + 'static,

    Add a callback to be notified when the Object is disposed.
    source§

    fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
    where - F: FnOnce() + 'static,

    Add a callback to be notified when the Object is disposed. Read more
    source§

    fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

    Connect to the notify signal of the object. Read more
    source§

    fn notify(&self, property_name: &str)

    Notify that the given property has changed its value. Read more
    source§

    fn notify_by_pspec(&self, pspec: &ParamSpec)

    Notify that the given property has changed its value. Read more
    source§

    fn downgrade(&self) -> WeakRef<T>

    Downgrade this object to a weak reference.
    source§

    fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
    where + F: FnOnce() + Send + 'static,

    Add a callback to be notified when the Object is disposed.
    source§

    fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
    where + F: FnOnce() + 'static,

    Add a callback to be notified when the Object is disposed. Read more
    source§

    fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
    where - O: ObjectType,

    Bind property source_property on this object to the target_property on the target object. Read more
    source§

    fn ref_count(&self) -> u32

    Returns the strong reference count of this object.
    source§

    unsafe fn run_dispose(&self)

    Runs the dispose mechanism of the object. Read more
    source§

    impl<T> Property for T
    where + O: ObjectType,

    Bind property source_property on this object to the target_property on the target object. Read more
    source§

    fn ref_count(&self) -> u32

    Returns the strong reference count of this object.
    source§

    unsafe fn run_dispose(&self)

    Runs the dispose mechanism of the object. Read more
    source§

    impl<T> Property for T
    where T: HasParamSpec,

    source§

    type Value = T

    source§

    impl<T> PropertyGet for T
    where T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where @@ -303,42 +333,48 @@

    §ImplementsTransparentPtrType,

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    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.
    source§

    impl<O> TypeModuleExt for O
    where - O: IsA<TypeModule>,

    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.
    source§

    impl<O> TypeModuleExt for O
    where + O: IsA<TypeModule>,

    source§

    fn add_interface( &self, instance_type: Type, interface_type: Type, interface_info: &InterfaceInfo, -)

    source§

    fn register_enum( +)

    source§

    fn register_enum( &self, name: &str, const_static_values: &'static EnumValues, -) -> Type

    source§

    fn register_flags( +) -> Type

    source§

    fn register_flags( &self, name: &str, const_static_values: &'static FlagsValues, -) -> Type

    source§

    fn register_type( +) -> Type

    source§

    fn register_type( &self, parent_type: Type, type_name: &str, type_info: &TypeInfo, flags: TypeFlags, -) -> Type

    source§

    fn set_name(&self, name: &str)

    source§

    fn unuse(&self)

    source§

    fn use_(&self) -> bool

    source§

    impl<O> TypePluginExt for O
    where - O: IsA<TypePlugin>,

    source§

    impl<O> TypePluginExt for O
    where + O: IsA<TypePlugin>,

    source§

    fn complete_interface_info( &self, instance_type: Type, interface_type: Type, ) -> InterfaceInfo

    Calls the complete_interface_info function from the GTypePluginClass of self. There should be no need to use this -function outside of the GObject type system itself. Read more
    source§

    fn complete_type_info(&self, g_type: Type) -> (TypeInfo, TypeValueTable)

    Calls the complete_type_info function from the GTypePluginClass of self. +function outside of the GObject type system itself. Read more
    source§

    fn complete_type_info(&self, g_type: Type) -> (TypeInfo, TypeValueTable)

    Calls the complete_type_info function from the GTypePluginClass of self. There should be no need to use this function outside of the GObject -type system itself. Read more
    source§

    fn unuse(&self)

    Calls the unuse_plugin function from the GTypePluginClass of +type system itself. Read more
    source§

    fn unuse(&self)

    Calls the unuse_plugin function from the GTypePluginClass of +self. There should be no need to use this function outside of +the GObject type system itself. +Calls the unuse_plugin function from the GTypePluginClass of +self. There should be no need to use this function outside of +the GObject type system itself.
    source§

    fn use_(&self)

    Calls the use_plugin function from the GTypePluginClass of self. There should be no need to use this function outside of -the GObject type system itself.
    source§

    fn use_(&self)

    Calls the use_plugin function from the GTypePluginClass of +the GObject type system itself. +Calls the use_plugin function from the GTypePluginClass of self. There should be no need to use this function outside of the GObject type system itself.
    source§

    impl<'a, T, C, E> FromValueOptional<'a> for T
    where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

    source§

    impl<Super, Sub> MayDowncastTo<Sub> for Super
    where + E: Error + Send + 'static,

    source§

    impl<Super, Sub> MayDowncastTo<Sub> for Super
    where Super: IsA<Super>, Sub: IsA<Super>,

    \ No newline at end of file diff --git a/git/docs/glib/struct.TypePlugin.html b/git/docs/glib/struct.TypePlugin.html index 55dbdcd60298..c32ff6c0c1a7 100644 --- a/git/docs/glib/struct.TypePlugin.html +++ b/git/docs/glib/struct.TypePlugin.html @@ -71,7 +71,7 @@ -
    glib

    Struct TypePlugin

    source
    pub struct TypePlugin { /* private fields */ }
    Expand description

    An interface that handles the lifecycle of dynamically loaded types.

    +
    glib

    Struct TypePlugin

    source
    pub struct TypePlugin { /* private fields */ }
    Expand description

    An interface that handles the lifecycle of dynamically loaded types.

    The GObject type system supports dynamic loading of types. It goes as follows:

      @@ -123,42 +123,96 @@ # Implements [`TypePluginExt`][trait@crate::prelude::TypePluginExt] +An interface that handles the lifecycle of dynamically loaded types. -GLib type: GObject with reference counted clone semantics.

    Implementations§

    source§

    impl TypePlugin

    source

    pub const NONE: Option<&'static TypePlugin> = None

    Trait Implementations§

    source§

    impl Clone for TypePlugin

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +The GObject type system supports dynamic loading of types. +It goes as follows: + +1. The type is initially introduced (usually upon loading the module + the first time, or by your main application that knows what modules + introduces what types), like this: + **⚠️ The following code is in c ⚠️** + +```c + new_type_id = g_type_register_dynamic (parent_type_id, + "TypeName", + new_type_plugin, + type_flags); + ``` + where `new_type_plugin` is an implementation of the + `GTypePlugin` interface. + +2. The type's implementation is referenced, e.g. through + [func[`Object`][crate::Object].ref] or through [func[`Object`][crate::Object]] + (this is being called by [ctor[`Object`][crate::Object].new]) or through one of the above + done on a type derived from `new_type_id`. + +3. This causes the type system to load the type's implementation by calling + [method[`Object`][crate::Object].use] and [method[`Object`][crate::Object].complete_type_info] + on `new_type_plugin`. + +4. At some point the type's implementation isn't required anymore, e.g. after + [method[`Object`][crate::Object].unref] or [func[`Object`][crate::Object]] + (called when the reference count of an instance drops to zero). + +5. This causes the type system to throw away the information retrieved + from [method[`Object`][crate::Object].complete_type_info] and then it calls + [method[`Object`][crate::Object].unuse] on `new_type_plugin`. + +6. Things may repeat from the second step. + +So basically, you need to implement a `GTypePlugin` type that +carries a use_count, once use_count goes from zero to one, you need +to load the implementation to successfully handle the upcoming +[method[`Object`][crate::Object].complete_type_info] call. Later, maybe after +succeeding use/unuse calls, once use_count drops to zero, you can +unload the implementation again. The type system makes sure to call +[method[`Object`][crate::Object].use] and [method[`Object`][crate::Object].complete_type_info] +again when the type is needed again. + +[class[`Object`][crate::Object]] is an implementation of `GTypePlugin` that +already implements most of this except for the actual module loading and +unloading. It even handles multiple registered types per module. + +# Implements + +[`TypePluginExt`][trait@crate::prelude::TypePluginExt] + +GLib type: GObject with reference counted clone semantics.

    Implementations§

    source§

    impl TypePlugin

    source

    pub const NONE: Option<&'static TypePlugin> = None

    Trait Implementations§

    source§

    impl Clone for TypePlugin

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the object. Dropping the object will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypePlugin

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl HasParamSpec for TypePlugin

    source§

    type ParamSpec = ParamSpecObject

    source§

    type SetValue = TypePlugin

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecObjectBuilder<'_, TypePlugin>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for TypePlugin

    source§

    fn hash<H>(&self, state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypePlugin

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl HasParamSpec for TypePlugin

    source§

    type ParamSpec = ParamSpecObject

    source§

    type SetValue = TypePlugin

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecObjectBuilder<'_, TypePlugin>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for TypePlugin

    source§

    fn hash<H>(&self, state: &mut H)
    where H: Hasher,

    Hashes the memory address of this object.

    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<T: TypePluginImpl> IsImplementable<T> for TypePlugin

    source§

    fn interface_init(iface: &mut Interface<Self>)

    Override the virtual methods of this interface for the given subclass and do other -interface initialization. Read more
    source§

    fn instance_init(_instance: &mut InitializingObject<T>)

    Instance specific initialization. Read more
    source§

    impl Ord for TypePlugin

    source§

    fn cmp(&self, other: &Self) -> Ordering

    Comparison for two GObjects.

    +interface initialization. Read more
    source§

    fn instance_init(_instance: &mut InitializingObject<T>)

    Instance specific initialization. Read more
    source§

    impl Ord for TypePlugin

    source§

    fn cmp(&self, other: &Self) -> Ordering

    Comparison for two GObjects.

    Compares the memory addresses of the provided objects.

    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl<OT: ObjectType> PartialEq<OT> for TypePlugin

    source§

    fn eq(&self, other: &OT) -> bool

    Equality for two GObjects.

    + Self: Sized,
    Restrict a value to a certain interval. Read more
    source§

    impl<OT: ObjectType> PartialEq<OT> for TypePlugin

    source§

    fn eq(&self, other: &OT) -> bool

    Equality for two GObjects.

    Two GObjects are equal if their memory addresses are equal.

    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl<OT: ObjectType> PartialOrd<OT> for TypePlugin

    source§

    fn partial_cmp(&self, other: &OT) -> Option<Ordering>

    Partial comparison for two GObjects.

    +and should not be overridden without very good reason.
    source§

    impl<OT: ObjectType> PartialOrd<OT> for TypePlugin

    source§

    fn partial_cmp(&self, other: &OT) -> Option<Ordering>

    Partial comparison for two GObjects.

    Compares the memory addresses of the provided objects.

    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for TypePlugin

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for TypePlugin

    source§

    impl IsA<TypePlugin> for TypeModule

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for TypePlugin

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for TypePlugin

    source§

    impl IsA<TypePlugin> for TypeModule

    Auto Trait Implementations§

    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
    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> Cast for T
    where - T: ObjectType,

    source§

    fn upcast<T: ObjectType>(self) -> T
    where - Self: IsA<T>,

    Upcasts an object to a superclass or interface T. Read more
    source§

    fn upcast_ref<T: ObjectType>(&self) -> &T
    where - Self: IsA<T>,

    Upcasts an object to a reference of its superclass or interface T. Read more
    source§

    fn downcast<T: ObjectType>(self) -> Result<T, Self>
    where - Self: MayDowncastTo<T>,

    Tries to downcast to a subclass or interface implementor T. Read more
    source§

    fn downcast_ref<T: ObjectType>(&self) -> Option<&T>
    where - Self: MayDowncastTo<T>,

    Tries to downcast to a reference of its subclass or interface implementor T. Read more
    source§

    fn dynamic_cast<T: ObjectType>(self) -> Result<T, Self>

    Tries to cast to an object of type T. This handles upcasting, downcasting + T: ?Sized,
    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> Cast for T
    where + T: ObjectType,

    source§

    fn upcast<T: ObjectType>(self) -> T
    where + Self: IsA<T>,

    Upcasts an object to a superclass or interface T. Read more
    source§

    fn upcast_ref<T: ObjectType>(&self) -> &T
    where + Self: IsA<T>,

    Upcasts an object to a reference of its superclass or interface T. Read more
    source§

    fn downcast<T: ObjectType>(self) -> Result<T, Self>
    where + Self: MayDowncastTo<T>,

    Tries to downcast to a subclass or interface implementor T. Read more
    source§

    fn downcast_ref<T: ObjectType>(&self) -> Option<&T>
    where + Self: MayDowncastTo<T>,

    Tries to downcast to a reference of its subclass or interface implementor T. Read more
    source§

    fn dynamic_cast<T: ObjectType>(self) -> Result<T, Self>

    Tries to cast to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at runtime, while upcast will do many checks at compile-time already. downcast will perform the same checks at runtime as dynamic_cast, but will also ensure some amount of -compile-time safety. Read more
    source§

    fn dynamic_cast_ref<T: ObjectType>(&self) -> Option<&T>

    Tries to cast to reference to an object of type T. This handles upcasting, downcasting +compile-time safety. Read more
    source§

    fn dynamic_cast_ref<T: ObjectType>(&self) -> Option<&T>

    Tries to cast to reference to an object of type T. This handles upcasting, downcasting and casting between interface and interface implementors. All checks are performed at -runtime, while downcast and upcast will do many checks at compile-time already. Read more
    source§

    unsafe fn unsafe_cast<T: ObjectType>(self) -> T

    Casts to T unconditionally. Read more
    source§

    unsafe fn unsafe_cast_ref<T: ObjectType>(&self) -> &T

    Casts to &T unconditionally. Read more
    source§

    impl<T> CloneToUninit for T
    where +runtime, while downcast and upcast will do many checks at compile-time already. Read more

    source§

    unsafe fn unsafe_cast<T: ObjectType>(self) -> T

    Casts to T unconditionally. Read more
    source§

    unsafe fn unsafe_cast_ref<T: ObjectType>(&self) -> &T

    Casts to &T unconditionally. Read more
    source§

    impl<T> CloneToUninit for T
    where T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    source§

    impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for T

    source§

    impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for T
    where @@ -183,116 +237,116 @@

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    source§

    impl<T> IntoClosureReturnValue for T
    where - T: Into<Value>,

    source§

    impl<T> ObjectExt for T
    where - T: ObjectType,

    source§

    fn is<U>(&self) -> bool
    where - U: StaticType,

    Returns true if the object is an instance of (can be cast to) T.
    source§

    fn type_(&self) -> Type

    Returns the type of the object.
    source§

    fn object_class(&self) -> &Class<Object>

    Returns the ObjectClass of the object. Read more
    source§

    fn class(&self) -> &Class<T>
    where - T: IsClass,

    Returns the class of the object.
    source§

    fn class_of<U>(&self) -> Option<&Class<U>>
    where - U: IsClass,

    Returns the class of the object in the given type T. Read more
    source§

    fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
    where - U: IsInterface,

    Returns the interface T of the object. Read more
    source§

    fn set_property(&self, property_name: &str, value: impl Into<Value>)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_property_from_value(&self, property_name: &str, value: &Value)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

    Sets multiple properties of the object at once. Read more
    source§

    fn set_properties_from_value(&self, property_values: &[(&str, Value)])

    Sets multiple properties of the object at once. Read more
    source§

    fn property<V>(&self, property_name: &str) -> V
    where - V: for<'b> FromValue<'b> + 'static,

    Gets the property property_name of the object and cast it to the type V. Read more
    source§

    fn property_value(&self, property_name: &str) -> Value

    Gets the property property_name of the object. Read more
    source§

    fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

    Check if the object has a property property_name of the given type_. Read more
    source§

    fn property_type(&self, property_name: &str) -> Option<Type>

    Get the type of the property property_name of this object. Read more
    source§

    fn find_property(&self, property_name: &str) -> Option<ParamSpec>

    Get the ParamSpec of the property property_name of this object.
    source§

    fn list_properties(&self) -> PtrSlice<ParamSpec>

    Return all ParamSpec of the properties of this object.
    source§

    fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

    Freeze all property notifications until the return guard object is dropped. Read more
    source§

    unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
    where - QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
    where - QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
    where - QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn set_data<QD>(&self, key: &str, value: QD)
    where - QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
    where - QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
    where - QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    fn block_signal(&self, handler_id: &SignalHandlerId)

    Block a given signal handler. Read more
    source§

    fn unblock_signal(&self, handler_id: &SignalHandlerId)

    Unblock a given signal handler.
    source§

    fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

    Stop emission of the currently emitted signal.
    source§

    fn stop_signal_emission_by_name(&self, signal_name: &str)

    Stop emission of the currently emitted signal by the (possibly detailed) signal name.
    source§

    fn connect<F>( + T: Into<Value>,

    source§

    impl<T> ObjectExt for T
    where + T: ObjectType,

    source§

    fn is<U>(&self) -> bool
    where + U: StaticType,

    Returns true if the object is an instance of (can be cast to) T.
    source§

    fn type_(&self) -> Type

    Returns the type of the object.
    source§

    fn object_class(&self) -> &Class<Object>

    Returns the ObjectClass of the object. Read more
    source§

    fn class(&self) -> &Class<T>
    where + T: IsClass,

    Returns the class of the object.
    source§

    fn class_of<U>(&self) -> Option<&Class<U>>
    where + U: IsClass,

    Returns the class of the object in the given type T. Read more
    source§

    fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>
    where + U: IsInterface,

    Returns the interface T of the object. Read more
    source§

    fn set_property(&self, property_name: &str, value: impl Into<Value>)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_property_from_value(&self, property_name: &str, value: &Value)

    Sets the property property_name of the object to value value. Read more
    source§

    fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])

    Sets multiple properties of the object at once. Read more
    source§

    fn set_properties_from_value(&self, property_values: &[(&str, Value)])

    Sets multiple properties of the object at once. Read more
    source§

    fn property<V>(&self, property_name: &str) -> V
    where + V: for<'b> FromValue<'b> + 'static,

    Gets the property property_name of the object and cast it to the type V. Read more
    source§

    fn property_value(&self, property_name: &str) -> Value

    Gets the property property_name of the object. Read more
    source§

    fn has_property(&self, property_name: &str, type_: Option<Type>) -> bool

    Check if the object has a property property_name of the given type_. Read more
    source§

    fn property_type(&self, property_name: &str) -> Option<Type>

    Get the type of the property property_name of this object. Read more
    source§

    fn find_property(&self, property_name: &str) -> Option<ParamSpec>

    Get the ParamSpec of the property property_name of this object.
    source§

    fn list_properties(&self) -> PtrSlice<ParamSpec>

    Return all ParamSpec of the properties of this object.
    source§

    fn freeze_notify(&self) -> PropertyNotificationFreezeGuard

    Freeze all property notifications until the return guard object is dropped. Read more
    source§

    unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)
    where + QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>
    where + QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>
    where + QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn set_data<QD>(&self, key: &str, value: QD)
    where + QD: 'static,

    Set arbitrary data on this object with the given key. Read more
    source§

    unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>
    where + QD: 'static,

    Return previously set arbitrary data of this object with the given key. Read more
    source§

    unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>
    where + QD: 'static,

    Retrieve previously set arbitrary data of this object with the given key. Read more
    source§

    fn block_signal(&self, handler_id: &SignalHandlerId)

    Block a given signal handler. Read more
    source§

    fn unblock_signal(&self, handler_id: &SignalHandlerId)

    Unblock a given signal handler.
    source§

    fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)

    Stop emission of the currently emitted signal.
    source§

    fn stop_signal_emission_by_name(&self, signal_name: &str)

    Stop emission of the currently emitted signal by the (possibly detailed) signal name.
    source§

    fn connect<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_id<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_local<F>( + F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_local_id<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_name on this object. Read more
    source§

    fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    unsafe fn connect_unsafe<F>( + F: Fn(&[Value]) -> Option<Value> + 'static,

    Connect to the signal signal_id on this object. Read more
    source§

    unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_name on this object. Read more
    source§

    unsafe fn connect_unsafe_id<F>( + F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_name on this object. Read more
    source§

    unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F, ) -> SignalHandlerId
    where - F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_closure( + F: Fn(&[Value]) -> Option<Value>,

    Connect to the signal signal_id on this object. Read more
    source§

    fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure, -) -> SignalHandlerId

    Connect a closure to the signal signal_name on this object. Read more
    source§

    fn connect_closure_id( +) -> SignalHandlerId

    Connect a closure to the signal signal_name on this object. Read more
    source§

    fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure, -) -> SignalHandlerId

    Connect a closure to the signal signal_id on this object. Read more
    source§

    fn watch_closure(&self, closure: &impl AsRef<Closure>)

    Limits the lifetime of closure to the lifetime of the object. When +) -> SignalHandlerId
    Connect a closure to the signal signal_id on this object. Read more
    source§

    fn watch_closure(&self, closure: &impl AsRef<Closure>)

    Limits the lifetime of closure to the lifetime of the object. When the object’s reference count drops to zero, the closure will be invalidated. An invalidated closure will ignore any calls to invoke_with_values, or -invoke when using Rust closures.
    source§

    fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

    Emit signal by signal id. Read more
    source§

    fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

    Same as Self::emit but takes Value for the arguments.
    source§

    fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_values( +invoke when using Rust closures.

    source§

    fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> R

    Emit signal by signal id. Read more
    source§

    fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>

    Same as Self::emit but takes Value for the arguments.
    source§

    fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> R

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value], -) -> Option<Value>

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_details<R>( +) -> Option<Value>

    Emit signal by its name. Read more
    source§

    fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue], ) -> R

    Emit signal by its name with details. Read more
    source§

    fn emit_by_name_with_details_and_values( + R: TryFromClosureReturnValue,

    Emit signal by its name with details. Read more
    source§

    fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value], -) -> Option<Value>

    Emit signal by its name with details. Read more
    source§

    fn emit_with_details<R>( +) -> Option<Value>

    Emit signal by its name with details. Read more
    source§

    fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue], ) -> R

    Emit signal by signal id with details. Read more
    source§

    fn emit_with_details_and_values( + R: TryFromClosureReturnValue,

    Emit signal by signal id with details. Read more
    source§

    fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value], -) -> Option<Value>

    Emit signal by signal id with details. Read more
    source§

    fn disconnect(&self, handler_id: SignalHandlerId)

    Disconnect a previously connected signal handler.
    source§

    fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where - F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

    Connect to the notify signal of the object. Read more
    source§

    fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where - F: Fn(&T, &ParamSpec) + 'static,

    Connect to the notify signal of the object. Read more
    source§

    unsafe fn connect_notify_unsafe<F>( +) -> Option<Value>

    Emit signal by signal id with details. Read more
    source§

    fn disconnect(&self, handler_id: SignalHandlerId)

    Disconnect a previously connected signal handler.
    source§

    fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where + F: Fn(&T, &ParamSpec) + Send + Sync + 'static,

    Connect to the notify signal of the object. Read more
    source§

    fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerId
    where + F: Fn(&T, &ParamSpec) + 'static,

    Connect to the notify signal of the object. Read more
    source§

    unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F, ) -> SignalHandlerId
    where - F: Fn(&T, &ParamSpec),

    Connect to the notify signal of the object. Read more
    source§

    fn notify(&self, property_name: &str)

    Notify that the given property has changed its value. Read more
    source§

    fn notify_by_pspec(&self, pspec: &ParamSpec)

    Notify that the given property has changed its value. Read more
    source§

    fn downgrade(&self) -> WeakRef<T>

    Downgrade this object to a weak reference.
    source§

    fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
    where - F: FnOnce() + Send + 'static,

    Add a callback to be notified when the Object is disposed.
    source§

    fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
    where - F: FnOnce() + 'static,

    Add a callback to be notified when the Object is disposed. Read more
    source§

    fn bind_property<'a, 'f, 't, O>( + F: Fn(&T, &ParamSpec),

    Connect to the notify signal of the object. Read more
    source§

    fn notify(&self, property_name: &str)

    Notify that the given property has changed its value. Read more
    source§

    fn notify_by_pspec(&self, pspec: &ParamSpec)

    Notify that the given property has changed its value. Read more
    source§

    fn downgrade(&self) -> WeakRef<T>

    Downgrade this object to a weak reference.
    source§

    fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>
    where + F: FnOnce() + Send + 'static,

    Add a callback to be notified when the Object is disposed.
    source§

    fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>
    where + F: FnOnce() + 'static,

    Add a callback to be notified when the Object is disposed. Read more
    source§

    fn bind_property<'a, 'f, 't, O>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str, ) -> BindingBuilder<'a, 'f, 't>
    where - O: ObjectType,

    Bind property source_property on this object to the target_property on the target object. Read more
    source§

    fn ref_count(&self) -> u32

    Returns the strong reference count of this object.
    source§

    unsafe fn run_dispose(&self)

    Runs the dispose mechanism of the object. Read more
    source§

    impl<T> Property for T
    where + O: ObjectType,

    Bind property source_property on this object to the target_property on the target object. Read more
    source§

    fn ref_count(&self) -> u32

    Returns the strong reference count of this object.
    source§

    unsafe fn run_dispose(&self)

    Runs the dispose mechanism of the object. Read more
    source§

    impl<T> Property for T
    where T: HasParamSpec,

    source§

    type Value = T

    source§

    impl<T> PropertyGet for T
    where T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where @@ -301,22 +355,28 @@ T: TransparentPtrType,

    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    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.
    source§

    impl<O> TypePluginExt for O
    where - O: IsA<TypePlugin>,

    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.
    source§

    impl<O> TypePluginExt for O
    where + O: IsA<TypePlugin>,

    source§

    fn complete_interface_info( &self, instance_type: Type, interface_type: Type, ) -> InterfaceInfo

    Calls the complete_interface_info function from the GTypePluginClass of self. There should be no need to use this -function outside of the GObject type system itself. Read more
    source§

    fn complete_type_info(&self, g_type: Type) -> (TypeInfo, TypeValueTable)

    Calls the complete_type_info function from the GTypePluginClass of self. +function outside of the GObject type system itself. Read more
    source§

    fn complete_type_info(&self, g_type: Type) -> (TypeInfo, TypeValueTable)

    Calls the complete_type_info function from the GTypePluginClass of self. There should be no need to use this function outside of the GObject -type system itself. Read more
    source§

    fn unuse(&self)

    Calls the unuse_plugin function from the GTypePluginClass of +type system itself. Read more
    source§

    fn unuse(&self)

    Calls the unuse_plugin function from the GTypePluginClass of +self. There should be no need to use this function outside of +the GObject type system itself. +Calls the unuse_plugin function from the GTypePluginClass of +self. There should be no need to use this function outside of +the GObject type system itself.
    source§

    fn use_(&self)

    Calls the use_plugin function from the GTypePluginClass of self. There should be no need to use this function outside of -the GObject type system itself.
    source§

    fn use_(&self)

    Calls the use_plugin function from the GTypePluginClass of +the GObject type system itself. +Calls the use_plugin function from the GTypePluginClass of self. There should be no need to use this function outside of the GObject type system itself.
    source§

    impl<'a, T, C, E> FromValueOptional<'a> for T
    where T: FromValue<'a, Checker = C>, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + 'static,

    source§

    impl<Super, Sub> MayDowncastTo<Sub> for Super
    where + E: Error + Send + 'static,

    source§

    impl<Super, Sub> MayDowncastTo<Sub> for Super
    where Super: IsA<Super>, Sub: IsA<Super>,

    \ No newline at end of file diff --git a/git/docs/glib/struct.TypeValueTable.html b/git/docs/glib/struct.TypeValueTable.html index 8ea2697ac5dc..c773d12c6a2f 100644 --- a/git/docs/glib/struct.TypeValueTable.html +++ b/git/docs/glib/struct.TypeValueTable.html @@ -1,4 +1,4 @@ -TypeValueTable in glib - Rust +TypeValueTable in glib - Rust -
    glib

    Struct TypeValueTable

    source
    pub struct TypeValueTable(/* private fields */);
    Expand description

    The TypeValueTable provides the functions required by the Value +

    glib

    Struct TypeValueTable

    source
    pub struct TypeValueTable(/* private fields */);
    Expand description

    The TypeValueTable provides the functions required by the Value +implementation, to serve as a container for values of a type. +The TypeValueTable provides the functions required by the Value implementation, to serve as a container for values of a type.

    -

    Trait Implementations§

    source§

    impl Clone for TypeValueTable

    source§

    fn clone(&self) -> TypeValueTable

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypeValueTable

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for TypeValueTable

    source§

    fn default() -> Self

    Creates a new TypeValueTable with default value.

    -
    source§

    impl Copy for TypeValueTable

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Clone for TypeValueTable

    source§

    fn clone(&self) -> TypeValueTable

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TypeValueTable

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for TypeValueTable

    source§

    fn default() -> Self

    Creates a new TypeValueTable with default value.

    +
    source§

    impl Copy for TypeValueTable

    Auto Trait Implementations§

    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
    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 diff --git a/git/docs/glib/struct.Uri.html b/git/docs/glib/struct.Uri.html index 7f97ea01ca7c..a0554bb5e4ed 100644 --- a/git/docs/glib/struct.Uri.html +++ b/git/docs/glib/struct.Uri.html @@ -71,7 +71,7 @@ -
    glib

    Struct Uri

    source
    pub struct Uri { /* private fields */ }
    Available on crate feature v2_66 only.
    Expand description

    The GUri type and related functions can be used to parse URIs into +

    glib

    Struct Uri

    source
    pub struct Uri { /* private fields */ }
    Available on crate feature v2_66 only.
    Expand description

    The GUri type and related functions can be used to parse URIs into their components, and build valid URIs from individual components.

    Since GUri only represents absolute URIs, all GUris will have a URI scheme, so scheme() will always return a non-NULL @@ -195,26 +195,166 @@

    §URI Equal however it is not comprehensive. For example, data:,foo and data:;base64,Zm9v resolve to the same thing according to the data: URI specification which GLib does not +handle. +The GUri type and related functions can be used to parse URIs into +their components, and build valid URIs from individual components.

    +

    Since GUri only represents absolute URIs, all GUris will have a +URI scheme, so scheme() will always return a non-NULL +answer. Likewise, by definition, all URIs have a path component, so +path() will always return a non-NULL string (which may +be empty).

    +

    If the URI string has an +‘authority’ component (that +is, if the scheme is followed by :// rather than just :), then the +GUri will contain a hostname, and possibly a port and ‘userinfo’. +Additionally, depending on how the GUri was constructed/parsed (for example, +using the G_URI_FLAGS_HAS_PASSWORD and G_URI_FLAGS_HAS_AUTH_PARAMS flags), +the userinfo may be split out into a username, password, and +additional authorization-related parameters.

    +

    Normally, the components of a GUri will have all %-encoded +characters decoded. However, if you construct/parse a GUri with +G_URI_FLAGS_ENCODED, then the %-encoding will be preserved instead in +the userinfo, path, and query fields (and in the host field if also +created with G_URI_FLAGS_NON_DNS). In particular, this is necessary if +the URI may contain binary data or non-UTF-8 text, or if decoding +the components might change the interpretation of the URI.

    +

    For example, with the encoded flag:

    +

    ⚠️ The following code is in c ⚠️

    +
    g_autoptr(GUri) uri = g_uri_parse ("http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fparam%3Dvalue", G_URI_FLAGS_ENCODED, &err);
    +g_assert_cmpstr (g_uri_get_query (uri), ==, "query=http%3A%2F%2Fhost%2Fpath%3Fparam%3Dvalue");
    +

    While the default %-decoding behaviour would give:

    +

    ⚠️ The following code is in c ⚠️

    +
    g_autoptr(GUri) uri = g_uri_parse ("http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fparam%3Dvalue", G_URI_FLAGS_NONE, &err);
    +g_assert_cmpstr (g_uri_get_query (uri), ==, "query=http://host/path?param=value");
    +

    During decoding, if an invalid UTF-8 string is encountered, parsing will fail +with an error indicating the bad string location:

    +

    ⚠️ The following code is in c ⚠️

    +
    g_autoptr(GUri) uri = g_uri_parse ("http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fbad%3D%00alue", G_URI_FLAGS_NONE, &err);
    +g_assert_error (err, G_URI_ERROR, G_URI_ERROR_BAD_QUERY);
    +

    You should pass G_URI_FLAGS_ENCODED or G_URI_FLAGS_ENCODED_QUERY if you +need to handle that case manually. In particular, if the query string +contains = characters that are %-encoded, you should let +GLib::Uri::parse_params() do the decoding once of the query.

    +

    GUri is immutable once constructed, and can safely be accessed from +multiple threads. Its reference counting is atomic.

    +

    Note that the scope of GUri is to help manipulate URIs in various applications, +following RFC 3986. In particular, +it doesn’t intend to cover web browser needs, and doesn’t implement the +WHATWG URL standard. No APIs are provided to +help prevent +homograph attacks, so +GUri is not suitable for formatting URIs for display to the user for making +security-sensitive decisions.

    +

    §Relative and absolute URIs

    +

    As defined in RFC 3986, the +hierarchical nature of URIs means that they can either be ‘relative +references’ (sometimes referred to as ‘relative URIs’) or ‘URIs’ (for +clarity, ‘URIs’ are referred to in this documentation as +‘absolute URIs’ — although +in contrast to RFC 3986, +fragment identifiers are always allowed).

    +

    Relative references have one or more components of the URI missing. In +particular, they have no scheme. Any other component, such as hostname, +query, etc. may be missing, apart from a path, which has to be specified (but +may be empty). The path may be relative, starting with ./ rather than /.

    +

    For example, a valid relative reference is ./path?query, +/?query#fragment or //example.com.

    +

    Absolute URIs have a scheme specified. Any other components of the URI which +are missing are specified as explicitly unset in the URI, rather than being +resolved relative to a base URI using parse_relative().

    +

    For example, a valid absolute URI is file:///home/bob or +https://search.com?query=string.

    +

    A GUri instance is always an absolute URI. A string may be an absolute URI +or a relative reference; see the documentation for individual functions as to +what forms they accept.

    +

    §Parsing URIs

    +

    The most minimalist APIs for parsing URIs are split() and +split_with_user(). These split a URI into its component +parts, and return the parts; the difference between the two is that +split() treats the ‘userinfo’ component of the URI as a +single element, while split_with_user() can (depending on the +UriFlags you pass) treat it as containing a username, password, +and authentication parameters. Alternatively, split_network() +can be used when you are only interested in the components that are +needed to initiate a network connection to the service (scheme, +host, and port).

    +

    parse() is similar to split(), but instead of +returning individual strings, it returns a GUri structure (and it requires +that the URI be an absolute URI).

    +

    resolve_relative() and parse_relative() allow +you to resolve a relative URI relative to a base URI. +resolve_relative() takes two strings and returns a string, +and parse_relative() takes a GUri and a string and returns a +GUri.

    +

    All of the parsing functions take a UriFlags argument describing +exactly how to parse the URI; see the documentation for that type +for more details on the specific flags that you can pass. If you +need to choose different flags based on the type of URI, you can +use peek_scheme() on the URI string to check the scheme +first, and use that to decide what flags to parse it with.

    +

    For example, you might want to use G_URI_PARAMS_WWW_FORM when parsing the +params for a web URI, so compare the result of peek_scheme() +against http and https.

    +

    §Building URIs

    +

    join() and join_with_user() can be used to construct +valid URI strings from a set of component strings. They are the +inverse of split() and split_with_user().

    +

    Similarly, build() and build_with_user() can be +used to construct a GUri from a set of component strings.

    +

    As with the parsing functions, the building functions take a +UriFlags argument. In particular, it is important to keep in mind +whether the URI components you are using are already %-encoded. If so, +you must pass the G_URI_FLAGS_ENCODED flag.

    +

    §file:// URIs

    +

    Note that Windows and Unix both define special rules for parsing +file:// URIs (involving non-UTF-8 character sets on Unix, and the +interpretation of path separators on Windows). GUri does not +implement these rules. Use filename_from_uri() and +filename_to_uri() if you want to properly convert between +file:// URIs and local filenames.

    +

    §URI Equality

    +

    Note that there is no g_uri_equal () function, because comparing +URIs usefully requires scheme-specific knowledge that GUri does +not have. GUri can help with normalization if you use the various +encoded UriFlags as well as G_URI_FLAGS_SCHEME_NORMALIZE +however it is not comprehensive. +For example, data:,foo and data:;base64,Zm9v resolve to the same +thing according to the data: URI specification which GLib does not handle.

    GLib type: Shared boxed type with reference counted clone semantics.

    -

    Implementations§

    source§

    impl Uri

    source

    pub fn as_ptr(&self) -> *mut GUri

    Return the inner pointer to the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GUri) -> &Self

    Borrows the underlying C value.

    -
    source§

    impl Uri

    source

    pub fn auth_params(&self) -> Option<GString>

    Gets @self’s authentication parameters, which may contain +

    Implementations§

    source§

    impl Uri

    source

    pub fn as_ptr(&self) -> *mut GUri

    Return the inner pointer to the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GUri) -> &Self

    Borrows the underlying C value.

    +
    source§

    impl Uri

    source

    pub fn auth_params(&self) -> Option<GString>

    Gets @self’s authentication parameters, which may contain %-encoding, depending on the flags with which @self was created. (If @self was not created with UriFlags::HAS_AUTH_PARAMS then this will be None.)

    Depending on the URI scheme, g_uri_parse_params() may be useful for further parsing this information.

    §Returns
    -

    @self’s authentication parameters.

    -
    source

    pub fn flags(&self) -> UriFlags

    Gets @self’s flags set upon construction.

    +

    @self’s authentication parameters. +Gets @self’s authentication parameters, which may contain +%-encoding, depending on the flags with which @self was created. +(If @self was not created with UriFlags::HAS_AUTH_PARAMS then this will +be None.)

    +

    Depending on the URI scheme, g_uri_parse_params() may be useful for +further parsing this information.

    §Returns
    +

    @self’s authentication parameters.

    +
    source

    pub fn flags(&self) -> UriFlags

    Gets @self’s flags set upon construction.

    +
    §Returns
    +

    @self’s flags. +Gets @self’s flags set upon construction.

    +
    §Returns

    @self’s flags.

    -
    source

    pub fn fragment(&self) -> Option<GString>

    Gets @self’s fragment, which may contain %-encoding, depending on +

    source

    pub fn fragment(&self) -> Option<GString>

    Gets @self’s fragment, which may contain %-encoding, depending on the flags with which @self was created.

    -
    §Returns
    +
    §Returns
    +

    @self’s fragment. +Gets @self’s fragment, which may contain %-encoding, depending on +the flags with which @self was created.

    +
    §Returns

    @self’s fragment.

    -
    source

    pub fn host(&self) -> Option<GString>

    Gets @self’s host. This will never have %-encoded characters, +

    source

    pub fn host(&self) -> Option<GString>

    Gets @self’s host. This will never have %-encoded characters, unless it is non-UTF-8 (which can only be the case if @self was created with UriFlags::NON_DNS).

    If @self contained an IPv6 address literal, this value will be just @@ -222,41 +362,83 @@

    §Returns
    the string form of the URI. Note that in this case there may also be a scope ID attached to the address. Eg, fe80::1234%``em1 (or fe80::1234%``25em1 if the string is still encoded).

    -
    §Returns
    +
    §Returns
    +

    @self’s host. +Gets @self’s host. This will never have %-encoded characters, +unless it is non-UTF-8 (which can only be the case if @self was +created with UriFlags::NON_DNS).

    +

    If @self contained an IPv6 address literal, this value will be just +that address, without the brackets around it that are necessary in +the string form of the URI. Note that in this case there may also +be a scope ID attached to the address. Eg, fe80::1234%``em1 (or +fe80::1234%``25em1 if the string is still encoded).

    +
    §Returns

    @self’s host.

    -
    source

    pub fn password(&self) -> Option<GString>

    Gets @self’s password, which may contain %-encoding, depending on +

    source

    pub fn password(&self) -> Option<GString>

    Gets @self’s password, which may contain %-encoding, depending on the flags with which @self was created. (If @self was not created with UriFlags::HAS_PASSWORD then this will be None.)

    -
    §Returns
    +
    §Returns
    +

    @self’s password. +Gets @self’s password, which may contain %-encoding, depending on +the flags with which @self was created. (If @self was not created +with UriFlags::HAS_PASSWORD then this will be None.)

    +
    §Returns

    @self’s password.

    -
    source

    pub fn path(&self) -> GString

    Gets @self’s path, which may contain %-encoding, depending on the +

    source

    pub fn path(&self) -> GString

    Gets @self’s path, which may contain %-encoding, depending on the flags with which @self was created.

    -
    §Returns
    +
    §Returns
    +

    @self’s path. +Gets @self’s path, which may contain %-encoding, depending on the +flags with which @self was created.

    +
    §Returns

    @self’s path.

    -
    source

    pub fn port(&self) -> i32

    Gets @self’s port.

    -
    §Returns
    +
    source

    pub fn port(&self) -> i32

    Gets @self’s port.

    +
    §Returns
    +

    @self’s port, or -1 if no port was specified. +Gets @self’s port.

    +
    §Returns

    @self’s port, or -1 if no port was specified.

    -
    source

    pub fn query(&self) -> Option<GString>

    Gets @self’s query, which may contain %-encoding, depending on the +

    source

    pub fn query(&self) -> Option<GString>

    Gets @self’s query, which may contain %-encoding, depending on the flags with which @self was created.

    For queries consisting of a series of name=value parameters, #GUriParamsIter or g_uri_parse_params() may be useful.

    -
    §Returns
    +
    §Returns
    +

    @self’s query. +Gets @self’s query, which may contain %-encoding, depending on the +flags with which @self was created.

    +

    For queries consisting of a series of name=value parameters, +#GUriParamsIter or g_uri_parse_params() may be useful.

    +
    §Returns

    @self’s query.

    -
    source

    pub fn scheme(&self) -> GString

    Gets @self’s scheme. Note that this will always be all-lowercase, +

    source

    pub fn scheme(&self) -> GString

    Gets @self’s scheme. Note that this will always be all-lowercase, regardless of the string or strings that @self was created from.

    -
    §Returns
    +
    §Returns
    +

    @self’s scheme. +Gets @self’s scheme. Note that this will always be all-lowercase, +regardless of the string or strings that @self was created from.

    +
    §Returns

    @self’s scheme.

    -
    source

    pub fn user(&self) -> Option<GString>

    Gets the ‘username’ component of @self’s userinfo, which may contain +

    source

    pub fn user(&self) -> Option<GString>

    Gets the ‘username’ component of @self’s userinfo, which may contain %-encoding, depending on the flags with which @self was created. If @self was not created with UriFlags::HAS_PASSWORD or UriFlags::HAS_AUTH_PARAMS, this is the same as g_uri_get_userinfo().

    -
    §Returns
    +
    §Returns
    +

    @self’s user. +Gets the ‘username’ component of @self’s userinfo, which may contain +%-encoding, depending on the flags with which @self was created. +If @self was not created with UriFlags::HAS_PASSWORD or +UriFlags::HAS_AUTH_PARAMS, this is the same as g_uri_get_userinfo().

    +
    §Returns

    @self’s user.

    -
    source

    pub fn userinfo(&self) -> Option<GString>

    Gets @self’s userinfo, which may contain %-encoding, depending on +

    source

    pub fn userinfo(&self) -> Option<GString>

    Gets @self’s userinfo, which may contain %-encoding, depending on the flags with which @self was created.

    -
    §Returns
    +
    §Returns
    +

    @self’s userinfo. +Gets @self’s userinfo, which may contain %-encoding, depending on +the flags with which @self was created.

    +
    §Returns

    @self’s userinfo.

    -
    source

    pub fn parse_relative( +

    source

    pub fn parse_relative( &self, uri_ref: &str, flags: UriFlags, @@ -268,9 +450,19 @@

    §uri_refa string representing a relative or absolute URI

    §flags

    flags describing how to parse @uri_ref

    -
    §Returns
    +
    §Returns
    +

    a new #GUri, or NULL on error. +Parses @uri_ref according to @flags and, if it is a +relative URI, resolves it relative to @self. +If the result is not a valid absolute URI, it will be discarded, and an error +returned.

    +
    §uri_ref
    +

    a string representing a relative or absolute URI

    +
    §flags
    +

    flags describing how to parse @uri_ref

    +
    §Returns

    a new #GUri, or NULL on error.

    -
    source

    pub fn to_str(&self) -> GString

    Returns a string representing @self.

    +
    source

    pub fn to_str(&self) -> GString

    Returns a string representing @self.

    This is not guaranteed to return a string which is identical to the string that @self was parsed from. However, if the source URI was syntactically correct (according to RFC 3986), and it was parsed @@ -280,17 +472,37 @@

    §Returns

    If @self might contain sensitive details, such as authentication parameters, or private data in its query string, and the returned string is going to be logged, then consider using g_uri_to_string_partial() to redact parts.

    -
    §Returns
    +
    §Returns
    +

    a string representing @self, +which the caller must free. +Returns a string representing @self.

    +

    This is not guaranteed to return a string which is identical to the +string that @self was parsed from. However, if the source URI was +syntactically correct (according to RFC 3986), and it was parsed +with UriFlags::ENCODED, then g_uri_to_string() is guaranteed to return +a string which is at least semantically equivalent to the source +URI (according to RFC 3986).

    +

    If @self might contain sensitive details, such as authentication parameters, +or private data in its query string, and the returned string is going to be +logged, then consider using g_uri_to_string_partial() to redact parts.

    +
    §Returns

    a string representing @self, which the caller must free.

    -
    source

    pub fn to_string_partial(&self, flags: UriHideFlags) -> GString

    Returns a string representing @self, subject to the options in +

    source

    pub fn to_string_partial(&self, flags: UriHideFlags) -> GString

    Returns a string representing @self, subject to the options in @flags. See g_uri_to_string() and #GUriHideFlags for more details.

    -
    §flags
    +
    §flags

    flags describing what parts of @self to hide

    -
    §Returns
    +
    §Returns
    +

    a string representing +@self, which the caller must free. +Returns a string representing @self, subject to the options in +@flags. See g_uri_to_string() and #GUriHideFlags for more details.

    +
    §flags
    +

    flags describing what parts of @self to hide

    +
    §Returns

    a string representing @self, which the caller must free.

    -
    source

    pub fn build( +

    source

    pub fn build( flags: UriFlags, scheme: &str, userinfo: Option<&str>, @@ -302,7 +514,7 @@

    §Returns
    ) -> Uri

    Creates a new #GUri from the given components according to @flags.

    See also g_uri_build_with_user(), which allows specifying the components of the “userinfo” separately.

    -
    §flags
    +
    §flags

    flags describing how to build the #GUri

    §scheme

    the URI scheme

    @@ -318,9 +530,30 @@
    §query

    the query component, or None

    §fragment

    the fragment, or None

    -
    §Returns
    +
    §Returns
    +

    a new #GUri +Creates a new #GUri from the given components according to @flags.

    +

    See also g_uri_build_with_user(), which allows specifying the +components of the “userinfo” separately.

    +
    §flags
    +

    flags describing how to build the #GUri

    +
    §scheme
    +

    the URI scheme

    +
    §userinfo
    +

    the userinfo component, or None

    +
    §host
    +

    the host component, or None

    +
    §port
    +

    the port, or -1

    +
    §path
    +

    the path component

    +
    §query
    +

    the query component, or None

    +
    §fragment
    +

    the fragment, or None

    +
    §Returns

    a new #GUri

    -
    source

    pub fn build_with_user( +

    source

    pub fn build_with_user( flags: UriFlags, scheme: &str, user: Option<&str>, @@ -338,9 +571,9 @@

    §Returns

    In contrast to g_uri_build(), this allows specifying the components of the ‘userinfo’ field separately. Note that @user must be non-None if either @password or @auth_params is non-None.

    -
    §flags
    +
    §flags

    flags describing how to build the #GUri

    -
    §scheme
    +
    §scheme

    the URI scheme

    §user

    the user component of the userinfo, or None

    @@ -348,19 +581,48 @@
    §passwordthe password component of the userinfo, or None

    §auth_params

    the auth params of the userinfo, or None

    -
    §host
    +
    §host

    the host component, or None

    -
    §port
    +
    §port

    the port, or -1

    -
    §path
    +
    §path

    the path component

    -
    §query
    +
    §query

    the query component, or None

    -
    §fragment
    +
    §fragment

    the fragment, or None

    -
    §Returns
    +
    §Returns
    +

    a new #GUri +Creates a new #GUri from the given components according to @flags +(UriFlags::HAS_PASSWORD is added unconditionally). The @flags must be +coherent with the passed values, in particular use %-encoded values with +UriFlags::ENCODED.

    +

    In contrast to g_uri_build(), this allows specifying the components +of the ‘userinfo’ field separately. Note that @user must be non-None +if either @password or @auth_params is non-None.

    +
    §flags
    +

    flags describing how to build the #GUri

    +
    §scheme
    +

    the URI scheme

    +
    §user
    +

    the user component of the userinfo, or None

    +
    §password
    +

    the password component of the userinfo, or None

    +
    §auth_params
    +

    the auth params of the userinfo, or None

    +
    §host
    +

    the host component, or None

    +
    §port
    +

    the port, or -1

    +
    §path
    +

    the path component

    +
    §query
    +

    the query component, or None

    +
    §fragment
    +

    the fragment, or None

    +
    §Returns

    a new #GUri

    -
    source

    pub fn escape_bytes( +

    source

    pub fn escape_bytes( unescaped: &[u8], reserved_chars_allowed: Option<&str>, ) -> GString

    Escapes arbitrary data for use in a URI.

    @@ -377,10 +639,27 @@
    §unescaped
    §reserved_chars_allowed

    a string of reserved characters that are allowed to be used, or None.

    -
    §Returns
    +
    §Returns
    +

    an escaped version of @unescaped. +The returned string should be freed when no longer needed. +Escapes arbitrary data for use in a URI.

    +

    Normally all characters that are not ‘unreserved’ (i.e. ASCII +alphanumerical characters plus dash, dot, underscore and tilde) are +escaped. But if you specify characters in @reserved_chars_allowed +they are not escaped. This is useful for the ‘reserved’ characters +in the URI specification, since those are allowed unescaped in some +portions of a URI.

    +

    Though technically incorrect, this will also allow escaping nul +bytes as %``00.

    +
    §unescaped
    +

    the unescaped input data.

    +
    §reserved_chars_allowed
    +

    a string of reserved +characters that are allowed to be used, or None.

    +
    §Returns

    an escaped version of @unescaped. The returned string should be freed when no longer needed.

    -
    source

    pub fn escape_string( +

    source

    pub fn escape_string( unescaped: &str, reserved_chars_allowed: Option<&str>, allow_utf8: bool, @@ -391,17 +670,34 @@

    §Returns
    they are not escaped. This is useful for the “reserved” characters in the URI specification, since those are allowed unescaped in some portions of a URI.

    -
    §unescaped
    +
    §unescaped

    the unescaped input string.

    -
    §reserved_chars_allowed
    +
    §reserved_chars_allowed

    a string of reserved characters that are allowed to be used, or None.

    §allow_utf8

    true if the result can include UTF-8 characters.

    -
    §Returns
    +
    §Returns
    +

    an escaped version of @unescaped. The +returned string should be freed when no longer needed. +Escapes a string for use in a URI.

    +

    Normally all characters that are not “unreserved” (i.e. ASCII +alphanumerical characters plus dash, dot, underscore and tilde) are +escaped. But if you specify characters in @reserved_chars_allowed +they are not escaped. This is useful for the “reserved” characters +in the URI specification, since those are allowed unescaped in some +portions of a URI.

    +
    §unescaped
    +

    the unescaped input string.

    +
    §reserved_chars_allowed
    +

    a string of reserved +characters that are allowed to be used, or None.

    +
    §allow_utf8
    +

    true if the result can include UTF-8 characters.

    +
    §Returns

    an escaped version of @unescaped. The returned string should be freed when no longer needed.

    -
    source

    pub fn is_valid(uri_string: &str, flags: UriFlags) -> Result<(), Error>

    Parses @uri_string according to @flags, to determine whether it is a valid +

    source

    pub fn is_valid(uri_string: &str, flags: UriFlags) -> Result<(), Error>

    Parses @uri_string according to @flags, to determine whether it is a valid absolute URI, i.e. it does not need to be resolved relative to another URI using g_uri_parse_relative().

    If it’s not a valid URI, an error is returned explaining how it’s invalid.

    @@ -409,11 +705,23 @@
    §Returns
    information on the effect of @flags.

    §uri_string

    a string containing an absolute URI

    -
    §flags
    +
    §flags

    flags for parsing @uri_string

    -
    §Returns
    +
    §Returns
    +

    true if @uri_string is a valid absolute URI, false on error. +Parses @uri_string according to @flags, to determine whether it is a valid +absolute URI, i.e. it does not need to be resolved +relative to another URI using g_uri_parse_relative().

    +

    If it’s not a valid URI, an error is returned explaining how it’s invalid.

    +

    See g_uri_split(), and the definition of #GUriFlags, for more +information on the effect of @flags.

    +
    §uri_string
    +

    a string containing an absolute URI

    +
    §flags
    +

    flags for parsing @uri_string

    +
    §Returns

    true if @uri_string is a valid absolute URI, false on error.

    -
    source

    pub fn join( +

    source

    pub fn join( flags: UriFlags, scheme: Option<&str>, userinfo: Option<&str>, @@ -433,25 +741,54 @@

    §Returns
    components of the ‘userinfo’ separately.

    UriFlags::HAS_PASSWORD and UriFlags::HAS_AUTH_PARAMS are ignored if set in @flags.

    -
    §flags
    +
    §flags
    +

    flags describing how to build the URI string

    +
    §scheme
    +

    the URI scheme, or None

    +
    §userinfo
    +

    the userinfo component, or None

    +
    §host
    +

    the host component, or None

    +
    §port
    +

    the port, or -1

    +
    §path
    +

    the path component

    +
    §query
    +

    the query component, or None

    +
    §fragment
    +

    the fragment, or None

    +
    §Returns
    +

    an absolute URI string +Joins the given components together according to @flags to create +an absolute URI string. @path may not be None (though it may be the empty +string).

    +

    When @host is present, @path must either be empty or begin with a slash (/) +character. When @host is not present, @path cannot begin with two slash +characters (//). See +RFC 3986, section 3.

    +

    See also g_uri_join_with_user(), which allows specifying the +components of the ‘userinfo’ separately.

    +

    UriFlags::HAS_PASSWORD and UriFlags::HAS_AUTH_PARAMS are ignored if set +in @flags.

    +
    §flags

    flags describing how to build the URI string

    -
    §scheme
    +
    §scheme

    the URI scheme, or None

    -
    §userinfo
    +
    §userinfo

    the userinfo component, or None

    -
    §host
    +
    §host

    the host component, or None

    -
    §port
    +
    §port

    the port, or -1

    -
    §path
    +
    §path

    the path component

    -
    §query
    +
    §query

    the query component, or None

    -
    §fragment
    +
    §fragment

    the fragment, or None

    -
    §Returns
    +
    §Returns

    an absolute URI string

    -
    source

    pub fn join_with_user( +

    source

    pub fn join_with_user( flags: UriFlags, scheme: Option<&str>, user: Option<&str>, @@ -469,72 +806,144 @@

    §Returns
    of the ‘userinfo’ separately. It otherwise behaves the same.

    UriFlags::HAS_PASSWORD and UriFlags::HAS_AUTH_PARAMS are ignored if set in @flags.

    -
    §flags
    +
    §flags

    flags describing how to build the URI string

    -
    §scheme
    +
    §scheme

    the URI scheme, or None

    -
    §user
    +
    §user

    the user component of the userinfo, or None

    -
    §password
    +
    §password

    the password component of the userinfo, or None

    -
    §auth_params
    +
    §auth_params

    the auth params of the userinfo, or None

    -
    §host
    +
    §host

    the host component, or None

    -
    §port
    +
    §port

    the port, or -1

    -
    §path
    +
    §path

    the path component

    -
    §query
    +
    §query

    the query component, or None

    -
    §fragment
    +
    §fragment

    the fragment, or None

    -
    §Returns
    +
    §Returns
    +

    an absolute URI string +Joins the given components together according to @flags to create +an absolute URI string. @path may not be None (though it may be the empty +string).

    +

    In contrast to g_uri_join(), this allows specifying the components +of the ‘userinfo’ separately. It otherwise behaves the same.

    +

    UriFlags::HAS_PASSWORD and UriFlags::HAS_AUTH_PARAMS are ignored if set +in @flags.

    +
    §flags
    +

    flags describing how to build the URI string

    +
    §scheme
    +

    the URI scheme, or None

    +
    §user
    +

    the user component of the userinfo, or None

    +
    §password
    +

    the password component of the userinfo, or +None

    +
    §auth_params
    +

    the auth params of the userinfo, or +None

    +
    §host
    +

    the host component, or None

    +
    §port
    +

    the port, or -1

    +
    §path
    +

    the path component

    +
    §query
    +

    the query component, or None

    +
    §fragment
    +

    the fragment, or None

    +
    §Returns

    an absolute URI string

    -
    source

    pub fn list_extract_uris(uri_list: &str) -> Vec<GString>

    Splits an URI list conforming to the text/uri-list +

    source

    pub fn list_extract_uris(uri_list: &str) -> Vec<GString>

    Splits an URI list conforming to the text/uri-list mime type defined in RFC 2483 into individual URIs, discarding any comments. The URIs are not validated.

    §uri_list

    an URI list

    -
    §Returns
    +
    §Returns
    +

    a newly allocated None-terminated list +of strings holding the individual URIs. The array should be freed +with g_strfreev(). +Splits an URI list conforming to the text/uri-list +mime type defined in RFC 2483 into individual URIs, +discarding any comments. The URIs are not validated.

    +
    §uri_list
    +

    an URI list

    +
    §Returns

    a newly allocated None-terminated list of strings holding the individual URIs. The array should be freed with g_strfreev().

    -
    source

    pub fn parse(uri_string: &str, flags: UriFlags) -> Result<Uri, Error>

    Parses @uri_string according to @flags. If the result is not a +

    source

    pub fn parse(uri_string: &str, flags: UriFlags) -> Result<Uri, Error>

    Parses @uri_string according to @flags. If the result is not a valid absolute URI, it will be discarded, and an error returned.

    -
    §uri_string
    +
    §uri_string

    a string representing an absolute URI

    -
    §flags
    +
    §flags

    flags describing how to parse @uri_string

    -
    §Returns
    +
    §Returns
    +

    a new #GUri, or NULL on error. +Parses @uri_string according to @flags. If the result is not a +valid absolute URI, it will be discarded, and an +error returned.

    +
    §uri_string
    +

    a string representing an absolute URI

    +
    §flags
    +

    flags describing how to parse @uri_string

    +
    §Returns

    a new #GUri, or NULL on error.

    -
    source

    pub fn parse_scheme(uri: &str) -> Option<GString>

    Gets the scheme portion of a URI string. +

    source

    pub fn parse_scheme(uri: &str) -> Option<GString>

    Gets the scheme portion of a URI string. RFC 3986 decodes the scheme as:

    URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ]

    Common schemes include file, https, svn+ssh, etc.

    §uri

    a valid URI.

    -
    §Returns
    +
    §Returns
    +

    The ‘scheme’ component of the URI, or +None on error. The returned string should be freed when no longer needed. +Gets the scheme portion of a URI string. +RFC 3986 decodes the scheme +as:

    +
    URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ]
    +

    Common schemes include file, https, svn+ssh, etc.

    +
    §uri
    +

    a valid URI.

    +
    §Returns

    The ‘scheme’ component of the URI, or None on error. The returned string should be freed when no longer needed.

    -
    source

    pub fn peek_scheme(uri: &str) -> Option<GString>

    Gets the scheme portion of a URI string. +

    source

    pub fn peek_scheme(uri: &str) -> Option<GString>

    Gets the scheme portion of a URI string. RFC 3986 decodes the scheme as:

    URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ]

    Common schemes include file, https, svn+ssh, etc.

    Unlike g_uri_parse_scheme(), the returned scheme is normalized to all-lowercase and does not need to be freed.

    -
    §uri
    +
    §uri

    a valid URI.

    -
    §Returns
    +
    §Returns
    +

    The ‘scheme’ component of the URI, or +None on error. The returned string is normalized to all-lowercase, and +interned via g_intern_string(), so it does not need to be freed. +Gets the scheme portion of a URI string. +RFC 3986 decodes the scheme +as:

    +
    URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ]
    +

    Common schemes include file, https, svn+ssh, etc.

    +

    Unlike g_uri_parse_scheme(), the returned scheme is normalized to +all-lowercase and does not need to be freed.

    +
    §uri
    +

    a valid URI.

    +
    §Returns

    The ‘scheme’ component of the URI, or None on error. The returned string is normalized to all-lowercase, and interned via g_intern_string(), so it does not need to be freed.

    -
    source

    pub fn resolve_relative( +

    source

    pub fn resolve_relative( base_uri_string: Option<&str>, uri_ref: &str, flags: UriFlags, @@ -546,14 +955,29 @@

    §Returns
    None if @uri_ref is invalid or not absolute.)

    §base_uri_string

    a string representing a base URI

    -
    §uri_ref
    +
    §uri_ref

    a string representing a relative or absolute URI

    -
    §flags
    +
    §flags

    flags describing how to parse @uri_ref

    -
    §Returns
    +
    §Returns
    +

    the resolved URI string, +or NULL on error. +Parses @uri_ref according to @flags and, if it is a +relative URI, resolves it relative to +@base_uri_string. If the result is not a valid absolute URI, it will be +discarded, and an error returned.

    +

    (If @base_uri_string is None, this just returns @uri_ref, or +None if @uri_ref is invalid or not absolute.)

    +
    §base_uri_string
    +

    a string representing a base URI

    +
    §uri_ref
    +

    a string representing a relative or absolute URI

    +
    §flags
    +

    flags describing how to parse @uri_ref

    +
    §Returns

    the resolved URI string, or NULL on error.

    -
    source

    pub fn split( +

    source

    pub fn split( uri_ref: &str, flags: UriFlags, ) -> Result<(Option<GString>, Option<GString>, Option<GString>, i32, GString, Option<GString>, Option<GString>), Error>

    Parses @uri_ref (which can be an @@ -570,35 +994,77 @@

    §Returns
    UriFlags::HAS_AUTH_PARAMS @flags are ignored by g_uri_split(), since it always returns only the full userinfo; use g_uri_split_with_user() if you want it split up.

    -
    §uri_ref
    +
    §uri_ref

    a string containing a relative or absolute URI

    -
    §flags
    +
    §flags

    flags for parsing @uri_ref

    -
    §Returns
    +
    §Returns

    true if @uri_ref parsed successfully, false on error.

    -
    §scheme
    +
    §scheme

    on return, contains the scheme (converted to lowercase), or None

    -
    §userinfo
    +
    §userinfo

    on return, contains the userinfo, or None

    -
    §host
    +
    §host

    on return, contains the host, or None

    -
    §port
    +
    §port

    on return, contains the port, or -1

    -
    §path
    +
    §path

    on return, contains the path

    -
    §query
    +
    §query

    on return, contains the query, or None

    -
    §fragment
    +
    §fragment
    +

    on return, contains +the fragment, or None +Parses @uri_ref (which can be an +absolute or relative URI) according to @flags, and +returns the pieces. Any component that doesn’t appear in @uri_ref will be +returned as None (but note that all URIs always have a path component, +though it may be the empty string).

    +

    If @flags contains UriFlags::ENCODED, then %-encoded characters in +@uri_ref will remain encoded in the output strings. (If not, +then all such characters will be decoded.) Note that decoding will +only work if the URI components are ASCII or UTF-8, so you will +need to use UriFlags::ENCODED if they are not.

    +

    Note that the UriFlags::HAS_PASSWORD and +UriFlags::HAS_AUTH_PARAMS @flags are ignored by g_uri_split(), +since it always returns only the full userinfo; use +g_uri_split_with_user() if you want it split up.

    +
    §uri_ref
    +

    a string containing a relative or absolute URI

    +
    §flags
    +

    flags for parsing @uri_ref

    +
    §Returns
    +

    true if @uri_ref parsed successfully, false +on error.

    +
    §scheme
    +

    on return, contains +the scheme (converted to lowercase), or None

    +
    §userinfo
    +

    on return, contains +the userinfo, or None

    +
    §host
    +

    on return, contains the +host, or None

    +
    §port
    +

    on return, contains the +port, or -1

    +
    §path
    +

    on return, contains the +path

    +
    §query
    +

    on return, contains the +query, or None

    +
    §fragment

    on return, contains the fragment, or None

    -
    source

    pub fn split_network( +

    source

    pub fn split_network( uri_string: &str, flags: UriFlags, ) -> Result<(Option<GString>, Option<GString>, i32), Error>

    Parses @uri_string (which must be an absolute URI) @@ -607,23 +1073,45 @@

    §fragmen mostly a wrapper around that function with simpler arguments. However, it will return an error if @uri_string is a relative URI, or does not contain a hostname component.

    -
    §uri_string
    +
    §uri_string

    a string containing an absolute URI

    -
    §flags
    +
    §flags

    flags for parsing @uri_string

    -
    §Returns
    +
    §Returns

    true if @uri_string parsed successfully, false on error.

    -
    §scheme
    +
    §scheme

    on return, contains the scheme (converted to lowercase), or None

    -
    §host
    +
    §host

    on return, contains the host, or None

    -
    §port
    +
    §port
    +

    on return, contains the +port, or -1 +Parses @uri_string (which must be an absolute URI) +according to @flags, and returns the pieces relevant to connecting to a host. +See the documentation for g_uri_split() for more details; this is +mostly a wrapper around that function with simpler arguments. +However, it will return an error if @uri_string is a relative URI, +or does not contain a hostname component.

    +
    §uri_string
    +

    a string containing an absolute URI

    +
    §flags
    +

    flags for parsing @uri_string

    +
    §Returns
    +

    true if @uri_string parsed successfully, +false on error.

    +
    §scheme
    +

    on return, contains +the scheme (converted to lowercase), or None

    +
    §host
    +

    on return, contains the +host, or None

    +
    §port

    on return, contains the port, or -1

    -
    source

    pub fn split_with_user( +

    source

    pub fn split_with_user( uri_ref: &str, flags: UriFlags, ) -> Result<(Option<GString>, Option<GString>, Option<GString>, Option<GString>, Option<GString>, i32, GString, Option<GString>, Option<GString>), Error>

    Parses @uri_ref (which can be an @@ -636,41 +1124,85 @@

    §port
    UriFlags::HAS_PASSWORD, and @auth_params will only be parsed out if @flags contains UriFlags::HAS_AUTH_PARAMS.

    -
    §uri_ref
    +
    §uri_ref

    a string containing a relative or absolute URI

    -
    §flags
    +
    §flags

    flags for parsing @uri_ref

    -
    §Returns
    +
    §Returns

    true if @uri_ref parsed successfully, false on error.

    -
    §scheme
    +
    §scheme

    on return, contains the scheme (converted to lowercase), or None

    -
    §user
    +
    §user

    on return, contains the user, or None

    -
    §password
    +
    §password

    on return, contains the password, or None

    -
    §auth_params
    +
    §auth_params

    on return, contains the auth_params, or None

    -
    §host
    +
    §host

    on return, contains the host, or None

    -
    §port
    +
    §port

    on return, contains the port, or -1

    -
    §path
    +
    §path

    on return, contains the path

    -
    §query
    +
    §query

    on return, contains the query, or None

    -
    §fragment
    +
    §fragment
    +

    on return, contains +the fragment, or None +Parses @uri_ref (which can be an +absolute or relative URI) according to @flags, and +returns the pieces. Any component that doesn’t appear in @uri_ref will be +returned as None (but note that all URIs always have a path component, +though it may be the empty string).

    +

    See g_uri_split(), and the definition of #GUriFlags, for more +information on the effect of @flags. Note that @password will only +be parsed out if @flags contains UriFlags::HAS_PASSWORD, and +@auth_params will only be parsed out if @flags contains +UriFlags::HAS_AUTH_PARAMS.

    +
    §uri_ref
    +

    a string containing a relative or absolute URI

    +
    §flags
    +

    flags for parsing @uri_ref

    +
    §Returns
    +

    true if @uri_ref parsed successfully, false +on error.

    +
    §scheme
    +

    on return, contains +the scheme (converted to lowercase), or None

    +
    §user
    +

    on return, contains +the user, or None

    +
    §password
    +

    on return, contains +the password, or None

    +
    §auth_params
    +

    on return, contains +the auth_params, or None

    +
    §host
    +

    on return, contains the +host, or None

    +
    §port
    +

    on return, contains the +port, or -1

    +
    §path
    +

    on return, contains the +path

    +
    §query
    +

    on return, contains the +query, or None

    +
    §fragment

    on return, contains the fragment, or None

    -
    source

    pub fn unescape_bytes( +

    source

    pub fn unescape_bytes( escaped_string: &str, illegal_characters: Option<&str>, ) -> Result<Bytes, Error>

    Unescapes a segment of an escaped string as binary data.

    @@ -689,11 +1221,31 @@
    §length§illegal_characters

    a string of illegal characters not to be allowed, or None.

    -
    §Returns
    +
    §Returns
    +

    an unescaped version of @escaped_string +or None on error (if decoding failed, using UriError::Failed error +code). The returned #GBytes should be unreffed when no longer needed. +Unescapes a segment of an escaped string as binary data.

    +

    Note that in contrast to g_uri_unescape_string(), this does allow +nul bytes to appear in the output.

    +

    If any of the characters in @illegal_characters appears as an escaped +character in @escaped_string, then that is an error and None will be +returned. This is useful if you want to avoid for instance having a slash +being expanded in an escaped path element, which might confuse pathname +handling.

    +
    §escaped_string
    +

    A URI-escaped string

    +
    §length
    +

    the length (in bytes) of @escaped_string to escape, or -1 if it +is nul-terminated.

    +
    §illegal_characters
    +

    a string of illegal characters +not to be allowed, or None.

    +
    §Returns

    an unescaped version of @escaped_string or None on error (if decoding failed, using UriError::Failed error code). The returned #GBytes should be unreffed when no longer needed.

    -
    source

    pub fn unescape_segment( +

    source

    pub fn unescape_segment( escaped_string: Option<&str>, escaped_string_end: Option<&str>, illegal_characters: Option<&str>, @@ -705,20 +1257,41 @@

    §Returns
    escaped path element, which might confuse pathname handling.

    Note: NUL byte is not accepted in the output, in contrast to g_uri_unescape_bytes().

    -
    §escaped_string
    +
    §escaped_string

    A string, may be None

    §escaped_string_end

    Pointer to end of @escaped_string, may be None

    -
    §illegal_characters
    +
    §illegal_characters

    An optional string of illegal characters not to be allowed, may be None

    -
    §Returns
    +
    §Returns
    +

    an unescaped version of @escaped_string, +or None on error. The returned string should be freed when no longer +needed. As a special case if None is given for @escaped_string, this +function will return None. +Unescapes a segment of an escaped string.

    +

    If any of the characters in @illegal_characters or the NUL +character appears as an escaped character in @escaped_string, then +that is an error and None will be returned. This is useful if you +want to avoid for instance having a slash being expanded in an +escaped path element, which might confuse pathname handling.

    +

    Note: NUL byte is not accepted in the output, in contrast to +g_uri_unescape_bytes().

    +
    §escaped_string
    +

    A string, may be None

    +
    §escaped_string_end
    +

    Pointer to end of @escaped_string, +may be None

    +
    §illegal_characters
    +

    An optional string of illegal +characters not to be allowed, may be None

    +
    §Returns

    an unescaped version of @escaped_string, or None on error. The returned string should be freed when no longer needed. As a special case if None is given for @escaped_string, this function will return None.

    -
    source

    pub fn unescape_string( +

    source

    pub fn unescape_string( escaped_string: &str, illegal_characters: Option<&str>, ) -> Option<GString>

    Unescapes a whole escaped string.

    @@ -727,26 +1300,40 @@
    §Returns
    that is an error and None will be returned. This is useful if you want to avoid for instance having a slash being expanded in an escaped path element, which might confuse pathname handling.

    -
    §escaped_string
    +
    §escaped_string

    an escaped string to be unescaped.

    -
    §illegal_characters
    +
    §illegal_characters

    a string of illegal characters not to be allowed, or None.

    -
    §Returns
    +
    §Returns
    +

    an unescaped version of @escaped_string. +The returned string should be freed when no longer needed. +Unescapes a whole escaped string.

    +

    If any of the characters in @illegal_characters or the NUL +character appears as an escaped character in @escaped_string, then +that is an error and None will be returned. This is useful if you +want to avoid for instance having a slash being expanded in an +escaped path element, which might confuse pathname handling.

    +
    §escaped_string
    +

    an escaped string to be unescaped.

    +
    §illegal_characters
    +

    a string of illegal characters +not to be allowed, or None.

    +
    §Returns

    an unescaped version of @escaped_string. The returned string should be freed when no longer needed.

    -

    Trait Implementations§

    source§

    impl Clone for Uri

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    +

    Trait Implementations§

    source§

    impl Clone for Uri

    source§

    fn clone(&self) -> Self

    Makes a clone of this shared reference.

    This increments the strong reference count of the reference. Dropping the reference will decrement it again.

    -
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Uri

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for Uri

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Uri> for Value

    source§

    fn from(s: Uri) -> Self

    Converts to this type from the input type.
    source§

    impl HasParamSpec for Uri

    source§

    type ParamSpec = ParamSpecBoxed

    source§

    type SetValue = Uri

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, Uri>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for Uri

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Uri

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for Uri

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Uri> for Value

    source§

    fn from(s: Uri) -> Self

    Converts to this type from the input type.
    source§

    impl HasParamSpec for Uri

    source§

    type ParamSpec = ParamSpecBoxed

    source§

    type SetValue = Uri

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, Uri>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for Uri

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Uri

    source§

    fn cmp(&self, other: &Uri) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Uri

    source§

    fn cmp(&self, other: &Uri) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Uri

    source§

    fn eq(&self, other: &Uri) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for Uri

    source§

    fn partial_cmp(&self, other: &Uri) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,
    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Uri

    source§

    fn eq(&self, other: &Uri) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for Uri

    source§

    fn partial_cmp(&self, other: &Uri) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for Uri

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for Uri

    source§

    impl Send for Uri

    source§

    impl StructuralPartialEq for Uri

    source§

    impl Sync for Uri

    Auto Trait Implementations§

    §

    impl Freeze for Uri

    §

    impl RefUnwindSafe for Uri

    §

    impl Unpin for Uri

    §

    impl UnwindSafe for Uri

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for Uri

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl Eq for Uri

    source§

    impl Send for Uri

    source§

    impl StructuralPartialEq for Uri

    source§

    impl Sync for Uri

    Auto Trait Implementations§

    §

    impl Freeze for Uri

    §

    impl RefUnwindSafe for Uri

    §

    impl Unpin for Uri

    §

    impl UnwindSafe for Uri

    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
    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 @@ -779,8 +1366,8 @@
    §Returns
    T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> ToString 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where diff --git a/git/docs/glib/struct.UriFlags.html b/git/docs/glib/struct.UriFlags.html index 0b5bb6277556..9b4affa22262 100644 --- a/git/docs/glib/struct.UriFlags.html +++ b/git/docs/glib/struct.UriFlags.html @@ -71,99 +71,133 @@ -
    glib

    Struct UriFlags

    source
    pub struct UriFlags(/* private fields */);
    Available on crate feature v2_66 only.
    Expand description

    Flags that describe a URI.

    +
    glib

    Struct UriFlags

    source
    pub struct UriFlags(/* private fields */);
    Available on crate feature v2_66 only.
    Expand description

    Flags that describe a URI.

    +

    When parsing a URI, if you need to choose different flags based on +the type of URI, you can use g_uri_peek_scheme() on the URI string +to check the scheme first, and use that to decide what flags to +parse it with. +Flags that describe a URI.

    When parsing a URI, if you need to choose different flags based on the type of URI, you can use g_uri_peek_scheme() on the URI string to check the scheme first, and use that to decide what flags to parse it with.

    -

    Implementations§

    source§

    impl UriFlags

    source

    pub const NONE: Self = _

    No flags set.

    -
    source

    pub const PARSE_RELAXED: Self = _

    Parse the URI more relaxedly than the +

    Implementations§

    source§

    impl UriFlags

    source

    pub const NONE: Self = _

    No flags set. +No flags set.

    +
    source

    pub const PARSE_RELAXED: Self = _

    Parse the URI more relaxedly than the +RFC 3986 grammar specifies, +fixing up or ignoring common mistakes in URIs coming from external +sources. This is also needed for some obscure URI schemes where ; +separates the host from the path. Don’t use this flag unless you need to. +Parse the URI more relaxedly than the RFC 3986 grammar specifies, fixing up or ignoring common mistakes in URIs coming from external sources. This is also needed for some obscure URI schemes where ; separates the host from the path. Don’t use this flag unless you need to.

    -
    source

    pub const HAS_PASSWORD: Self = _

    The userinfo field may contain a password, +

    source

    pub const HAS_PASSWORD: Self = _

    The userinfo field may contain a password, +which will be separated from the username by :. +The userinfo field may contain a password, which will be separated from the username by :.

    -
    source

    pub const HAS_AUTH_PARAMS: Self = _

    The userinfo may contain additional +

    source

    pub const HAS_AUTH_PARAMS: Self = _

    The userinfo may contain additional +authentication-related parameters, which will be separated from +the username and/or password by ;. +The userinfo may contain additional authentication-related parameters, which will be separated from the username and/or password by ;.

    -
    source

    pub const ENCODED: Self = _

    When parsing a URI, this indicates that %-encoded +

    source

    pub const ENCODED: Self = _

    When parsing a URI, this indicates that %-encoded +characters in the userinfo, path, query, and fragment fields +should not be decoded. (And likewise the host field if +NON_DNS is also set.) When building a URI, it indicates +that you have already %-encoded the components, and so #GUri +should not do any encoding itself. +When parsing a URI, this indicates that %-encoded characters in the userinfo, path, query, and fragment fields should not be decoded. (And likewise the host field if NON_DNS is also set.) When building a URI, it indicates that you have already %-encoded the components, and so #GUri should not do any encoding itself.

    -
    source

    pub const NON_DNS: Self = _

    The host component should not be assumed to be a +

    source

    pub const NON_DNS: Self = _

    The host component should not be assumed to be a +DNS hostname or IP address (for example, for smb URIs with NetBIOS +hostnames). +The host component should not be assumed to be a DNS hostname or IP address (for example, for smb URIs with NetBIOS hostnames).

    -
    source

    pub const ENCODED_QUERY: Self = _

    Same as ENCODED, for the query +

    source

    pub const ENCODED_QUERY: Self = _

    Same as ENCODED, for the query +field only. +Same as ENCODED, for the query field only.

    -
    source

    pub const ENCODED_PATH: Self = _

    Same as ENCODED, for the path only.

    -
    source

    pub const ENCODED_FRAGMENT: Self = _

    Same as ENCODED, for the +

    source

    pub const ENCODED_PATH: Self = _

    Same as ENCODED, for the path only. +Same as ENCODED, for the path only.

    +
    source

    pub const ENCODED_FRAGMENT: Self = _

    Same as ENCODED, for the +fragment only. +Same as ENCODED, for the fragment only.

    -
    source

    pub const SCHEME_NORMALIZE: Self = _

    A scheme-based normalization will be applied. +

    source

    pub const SCHEME_NORMALIZE: Self = _

    A scheme-based normalization will be applied. +For example, when parsing an HTTP URI changing omitted path to / and +omitted port to 80; and when building a URI, changing empty path to / +and default port 80). This only supports a subset of known schemes. (Since: 2.68) +A scheme-based normalization will be applied. For example, when parsing an HTTP URI changing omitted path to / and omitted port to 80; and when building a URI, changing empty path to / and default port 80). This only supports a subset of known schemes. (Since: 2.68)

    -
    source§

    impl UriFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    -
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    -
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    +
    source§

    impl UriFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    +
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    +
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    The returned value is exactly the bits set in this flags value.

    -
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    +
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    This method will return None if any unknown bits are set.

    -
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    -
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    -
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    +
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    +
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    +
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    This method will return None if name is empty or doesn’t correspond to any named flag.

    -
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    -
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    -
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    -
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    -
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    +
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    +
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    +
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    +
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

    -
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    -
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    +
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    impl UriFlags

    source

    pub const fn iter(&self) -> Iter<UriFlags>

    Yield a set of contained flags values.

    +
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    impl UriFlags

    source

    pub const fn iter(&self) -> Iter<UriFlags>

    Yield a set of contained flags values.

    Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.

    -
    source

    pub const fn iter_names(&self) -> IterNames<UriFlags>

    Yield a set of contained named flags values.

    +
    source

    pub const fn iter_names(&self) -> IterNames<UriFlags>

    Yield a set of contained named flags values.

    This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

    -

    Trait Implementations§

    source§

    impl Binary for UriFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for UriFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    type Output = UriFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for UriFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    impl BitOr for UriFlags

    source§

    fn bitor(self, other: UriFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    type Output = UriFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for UriFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    impl BitXor for UriFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    type Output = UriFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for UriFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    impl Clone for UriFlags

    source§

    fn clone(&self) -> UriFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for UriFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<UriFlags> for UriFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    -
    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
    source§

    impl Flags for UriFlags

    source§

    const FLAGS: &'static [Flag<UriFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> UriFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where +

    Trait Implementations§

    source§

    impl Binary for UriFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for UriFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    type Output = UriFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for UriFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    impl BitOr for UriFlags

    source§

    fn bitor(self, other: UriFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    type Output = UriFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for UriFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    impl BitXor for UriFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    type Output = UriFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for UriFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    impl Clone for UriFlags

    source§

    fn clone(&self) -> UriFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for UriFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<UriFlags> for UriFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    +
    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
    source§

    impl Flags for UriFlags

    source§

    const FLAGS: &'static [Flag<UriFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> UriFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> bool
    where Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)
    where Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)
    where Self: Sized,

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn toggle(&mut self, other: Self)
    where Self: Sized,

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn set(&mut self, other: Self, value: bool)
    where - Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<UriFlags> for UriFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    impl Hash for UriFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<UriFlags> for UriFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    +
    source§

    impl Hash for UriFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for UriFlags

    source§

    type Item = UriFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<UriFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for UriFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for UriFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    type Output = UriFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for UriFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for UriFlags

    source§

    fn eq(&self, other: &UriFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PublicFlags for UriFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for UriFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for UriFlags

    source§

    type Item = UriFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<UriFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for UriFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for UriFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    type Output = UriFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for UriFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for UriFlags

    source§

    fn eq(&self, other: &UriFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PublicFlags for UriFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for UriFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    type Output = UriFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for UriFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source§

    type Output = UriFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for UriFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    impl UpperHex for UriFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for UriFlags

    source§

    impl Eq for UriFlags

    source§

    impl StructuralPartialEq for UriFlags

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    source§

    impl UpperHex for UriFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for UriFlags

    source§

    impl Eq for UriFlags

    source§

    impl StructuralPartialEq for UriFlags

    Auto Trait Implementations§

    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
    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 diff --git a/git/docs/glib/struct.UriHideFlags.html b/git/docs/glib/struct.UriHideFlags.html index b454e5a08055..bbd626ae6fcb 100644 --- a/git/docs/glib/struct.UriHideFlags.html +++ b/git/docs/glib/struct.UriHideFlags.html @@ -71,75 +71,75 @@ -
    glib

    Struct UriHideFlags

    source
    pub struct UriHideFlags(/* private fields */);
    Available on crate feature v2_66 only.
    Expand description

    Flags describing what parts of the URI to hide in +

    glib

    Struct UriHideFlags

    source
    pub struct UriHideFlags(/* private fields */);
    Available on crate feature v2_66 only.
    Expand description

    Flags describing what parts of the URI to hide in g_uri_to_string_partial(). Note that PASSWORD and AUTH_PARAMS will only work if the #GUri was parsed with the corresponding flags.

    -

    Implementations§

    source§

    impl UriHideFlags

    source

    pub const NONE: Self = _

    No flags set.

    -
    source

    pub const USERINFO: Self = _

    Hide the userinfo.

    -
    source

    pub const PASSWORD: Self = _

    Hide the password.

    -
    source

    pub const AUTH_PARAMS: Self = _

    Hide the auth_params.

    -
    source

    pub const QUERY: Self = _

    Hide the query.

    -
    source

    pub const FRAGMENT: Self = _

    Hide the fragment.

    -
    source§

    impl UriHideFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    -
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    -
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    +

    Implementations§

    source§

    impl UriHideFlags

    source

    pub const NONE: Self = _

    No flags set.

    +
    source

    pub const USERINFO: Self = _

    Hide the userinfo.

    +
    source

    pub const PASSWORD: Self = _

    Hide the password.

    +
    source

    pub const AUTH_PARAMS: Self = _

    Hide the auth_params.

    +
    source

    pub const QUERY: Self = _

    Hide the query.

    +
    source

    pub const FRAGMENT: Self = _

    Hide the fragment.

    +
    source§

    impl UriHideFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    +
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    +
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    The returned value is exactly the bits set in this flags value.

    -
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    +
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    This method will return None if any unknown bits are set.

    -
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    -
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    -
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    +
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    +
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    +
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    This method will return None if name is empty or doesn’t correspond to any named flag.

    -
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    -
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    -
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    -
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    -
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    +
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    +
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    +
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    +
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

    -
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    -
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    +
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    impl UriHideFlags

    source

    pub const fn iter(&self) -> Iter<UriHideFlags>

    Yield a set of contained flags values.

    +
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    impl UriHideFlags

    source

    pub const fn iter(&self) -> Iter<UriHideFlags>

    Yield a set of contained flags values.

    Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.

    -
    source

    pub const fn iter_names(&self) -> IterNames<UriHideFlags>

    Yield a set of contained named flags values.

    +
    source

    pub const fn iter_names(&self) -> IterNames<UriHideFlags>

    Yield a set of contained named flags values.

    This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

    -

    Trait Implementations§

    source§

    impl Binary for UriHideFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for UriHideFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    type Output = UriHideFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for UriHideFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    impl BitOr for UriHideFlags

    source§

    fn bitor(self, other: UriHideFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    type Output = UriHideFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for UriHideFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    impl BitXor for UriHideFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    type Output = UriHideFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for UriHideFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    impl Clone for UriHideFlags

    source§

    fn clone(&self) -> UriHideFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for UriHideFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<UriHideFlags> for UriHideFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    -
    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
    source§

    impl Flags for UriHideFlags

    source§

    const FLAGS: &'static [Flag<UriHideFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> UriHideFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where +

    Trait Implementations§

    source§

    impl Binary for UriHideFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for UriHideFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    type Output = UriHideFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for UriHideFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    impl BitOr for UriHideFlags

    source§

    fn bitor(self, other: UriHideFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    type Output = UriHideFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for UriHideFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    impl BitXor for UriHideFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    type Output = UriHideFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for UriHideFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    impl Clone for UriHideFlags

    source§

    fn clone(&self) -> UriHideFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for UriHideFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<UriHideFlags> for UriHideFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    +
    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
    source§

    impl Flags for UriHideFlags

    source§

    const FLAGS: &'static [Flag<UriHideFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> UriHideFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> bool
    where Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)
    where Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)
    where Self: Sized,

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn toggle(&mut self, other: Self)
    where Self: Sized,

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn set(&mut self, other: Self, value: bool)
    where - Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<UriHideFlags> for UriHideFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    impl Hash for UriHideFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<UriHideFlags> for UriHideFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    +
    source§

    impl Hash for UriHideFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for UriHideFlags

    source§

    type Item = UriHideFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<UriHideFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for UriHideFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for UriHideFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    type Output = UriHideFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for UriHideFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for UriHideFlags

    source§

    fn eq(&self, other: &UriHideFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PublicFlags for UriHideFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for UriHideFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for UriHideFlags

    source§

    type Item = UriHideFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<UriHideFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for UriHideFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for UriHideFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    type Output = UriHideFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for UriHideFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for UriHideFlags

    source§

    fn eq(&self, other: &UriHideFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PublicFlags for UriHideFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for UriHideFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    type Output = UriHideFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for UriHideFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source§

    type Output = UriHideFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for UriHideFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    impl UpperHex for UriHideFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for UriHideFlags

    source§

    impl Eq for UriHideFlags

    source§

    impl StructuralPartialEq for UriHideFlags

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    source§

    impl UpperHex for UriHideFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for UriHideFlags

    source§

    impl Eq for UriHideFlags

    source§

    impl StructuralPartialEq for UriHideFlags

    Auto Trait Implementations§

    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
    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 diff --git a/git/docs/glib/struct.UriParamsFlags.html b/git/docs/glib/struct.UriParamsFlags.html index 66bba5ea92f9..4cb09baf6708 100644 --- a/git/docs/glib/struct.UriParamsFlags.html +++ b/git/docs/glib/struct.UriParamsFlags.html @@ -71,72 +71,72 @@ -
    glib

    Struct UriParamsFlags

    source
    pub struct UriParamsFlags(/* private fields */);
    Available on crate feature v2_66 only.
    Expand description

    Flags modifying the way parameters are handled by g_uri_parse_params() and +

    glib

    Struct UriParamsFlags

    source
    pub struct UriParamsFlags(/* private fields */);
    Available on crate feature v2_66 only.
    Expand description

    Flags modifying the way parameters are handled by g_uri_parse_params() and #GUriParamsIter.

    -

    Implementations§

    source§

    impl UriParamsFlags

    source

    pub const NONE: Self = _

    No flags set.

    -
    source

    pub const CASE_INSENSITIVE: Self = _

    Parameter names are case insensitive.

    -
    source

    pub const WWW_FORM: Self = _

    Replace + with space character. Only useful for +

    Implementations§

    source§

    impl UriParamsFlags

    source

    pub const NONE: Self = _

    No flags set.

    +
    source

    pub const CASE_INSENSITIVE: Self = _

    Parameter names are case insensitive.

    +
    source

    pub const WWW_FORM: Self = _

    Replace + with space character. Only useful for URLs on the web, using the https or http schemas.

    -
    source

    pub const PARSE_RELAXED: Self = _

    source§

    impl UriParamsFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    -
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    -
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    +
    source

    pub const PARSE_RELAXED: Self = _

    source§

    impl UriParamsFlags

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    +
    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    +
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    The returned value is exactly the bits set in this flags value.

    -
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    +
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    This method will return None if any unknown bits are set.

    -
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    -
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    -
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    +
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    +
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    +
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    This method will return None if name is empty or doesn’t correspond to any named flag.

    -
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    -
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    -
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    -
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    -
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    +
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    +
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    +
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    +
    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

    -
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    -
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    +
    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    impl UriParamsFlags

    source

    pub const fn iter(&self) -> Iter<UriParamsFlags>

    Yield a set of contained flags values.

    +
    source

    pub const fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub const fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    impl UriParamsFlags

    source

    pub const fn iter(&self) -> Iter<UriParamsFlags>

    Yield a set of contained flags values.

    Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.

    -
    source

    pub const fn iter_names(&self) -> IterNames<UriParamsFlags>

    Yield a set of contained named flags values.

    +
    source

    pub const fn iter_names(&self) -> IterNames<UriParamsFlags>

    Yield a set of contained named flags values.

    This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

    -

    Trait Implementations§

    source§

    impl Binary for UriParamsFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for UriParamsFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    type Output = UriParamsFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for UriParamsFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    impl BitOr for UriParamsFlags

    source§

    fn bitor(self, other: UriParamsFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    type Output = UriParamsFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for UriParamsFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    impl BitXor for UriParamsFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    type Output = UriParamsFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for UriParamsFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    impl Clone for UriParamsFlags

    source§

    fn clone(&self) -> UriParamsFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for UriParamsFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<UriParamsFlags> for UriParamsFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    -
    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
    source§

    impl Flags for UriParamsFlags

    source§

    const FLAGS: &'static [Flag<UriParamsFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> UriParamsFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where +

    Trait Implementations§

    source§

    impl Binary for UriParamsFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for UriParamsFlags

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    type Output = UriParamsFlags

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for UriParamsFlags

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    impl BitOr for UriParamsFlags

    source§

    fn bitor(self, other: UriParamsFlags) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    type Output = UriParamsFlags

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for UriParamsFlags

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    impl BitXor for UriParamsFlags

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    type Output = UriParamsFlags

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for UriParamsFlags

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    impl Clone for UriParamsFlags

    source§

    fn clone(&self) -> UriParamsFlags

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for UriParamsFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<UriParamsFlags> for UriParamsFlags

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    +
    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
    source§

    impl Flags for UriParamsFlags

    source§

    const FLAGS: &'static [Flag<UriParamsFlags>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> UriParamsFlags

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> bool
    where Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)
    where Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)
    where Self: Sized,

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn toggle(&mut self, other: Self)
    where Self: Sized,

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn set(&mut self, other: Self, value: bool)
    where - Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<UriParamsFlags> for UriParamsFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    impl Hash for UriParamsFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<UriParamsFlags> for UriParamsFlags

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    +
    source§

    impl Hash for UriParamsFlags

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for UriParamsFlags

    source§

    type Item = UriParamsFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<UriParamsFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for UriParamsFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for UriParamsFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    type Output = UriParamsFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for UriParamsFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for UriParamsFlags

    source§

    fn eq(&self, other: &UriParamsFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PublicFlags for UriParamsFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for UriParamsFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for UriParamsFlags

    source§

    type Item = UriParamsFlags

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<UriParamsFlags>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for UriParamsFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for UriParamsFlags

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    type Output = UriParamsFlags

    The resulting type after applying the ! operator.
    source§

    impl Octal for UriParamsFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for UriParamsFlags

    source§

    fn eq(&self, other: &UriParamsFlags) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PublicFlags for UriParamsFlags

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for UriParamsFlags

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    type Output = UriParamsFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for UriParamsFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source§

    type Output = UriParamsFlags

    The resulting type after applying the - operator.
    source§

    impl SubAssign for UriParamsFlags

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    impl UpperHex for UriParamsFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for UriParamsFlags

    source§

    impl Eq for UriParamsFlags

    source§

    impl StructuralPartialEq for UriParamsFlags

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    source§

    impl UpperHex for UriParamsFlags

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for UriParamsFlags

    source§

    impl Eq for UriParamsFlags

    source§

    impl StructuralPartialEq for UriParamsFlags

    Auto Trait Implementations§

    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
    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 diff --git a/git/docs/glib/struct.VariantTy.html b/git/docs/glib/struct.VariantTy.html index 91f6c08ac05e..9836751542de 100644 --- a/git/docs/glib/struct.VariantTy.html +++ b/git/docs/glib/struct.VariantTy.html @@ -153,6 +153,6 @@
    §Panics
    and should not be overridden without very good reason.

    source§

    impl StaticType for VariantTy

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl ToOwned for VariantTy

    source§

    type Owned = VariantType

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> VariantType

    Creates owned data from borrowed data, usually by cloning. Read more
    1.63.0 · source§

    fn clone_into(&self, target: &mut Self::Owned)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl Eq for VariantTy

    source§

    impl StructuralPartialEq for VariantTy

    source§

    impl Sync for VariantTy

    Auto Trait Implementations§

    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
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> ToString for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    \ No newline at end of file diff --git a/git/docs/glib/struct.VariantType.html b/git/docs/glib/struct.VariantType.html index fc6fd90f38a0..00b0717c714e 100644 --- a/git/docs/glib/struct.VariantType.html +++ b/git/docs/glib/struct.VariantType.html @@ -368,8 +368,8 @@
    §Panics
    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> ToString 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. 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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/subclass/basic/struct.ClassStruct.html b/git/docs/glib/subclass/basic/struct.ClassStruct.html index 77efb88acbd4..bb3bd9f837c2 100644 --- a/git/docs/glib/subclass/basic/struct.ClassStruct.html +++ b/git/docs/glib/subclass/basic/struct.ClassStruct.html @@ -73,18 +73,18 @@
    glib::subclass::basic

    Struct ClassStruct

    source
    #[repr(C)]
    pub struct ClassStruct<T: ObjectSubclass> { /* private fields */ }
    Expand description

    A basic class struct that does not store any additional data or virtual methods.

    -

    Methods from Deref<Target = Class<<T as ObjectSubclass>::Type>>§

    source

    pub fn type_(&self) -> Type

    Get the type id for this class.

    +

    Methods from Deref<Target = Class<<T as ObjectSubclass>::Type>>§

    source

    pub fn type_(&self) -> Type

    Get the type id for this class.

    This is not equivalent to T::static_type() but is the type of the subclass of T where this class belongs to.

    -
    source

    pub fn upcast_ref<U: IsClass>(&self) -> &Class<U>
    where +

    source

    pub fn upcast_ref<U: IsClass>(&self) -> &Class<U>
    where T: IsA<U>,

    Casts this class to a reference to a parent type’s class.

    -
    source

    pub fn upcast_ref_mut<U: IsClass>(&mut self) -> &mut Class<U>
    where +

    source

    pub fn upcast_ref_mut<U: IsClass>(&mut self) -> &mut Class<U>
    where T: IsA<U>,

    Casts this class to a mutable reference to a parent type’s class.

    -
    source

    pub fn downcast_ref<U: IsClass + IsA<T>>(&self) -> Option<&Class<U>>

    Casts this class to a reference to a child type’s class or +

    source

    pub fn downcast_ref<U: IsClass + IsA<T>>(&self) -> Option<&Class<U>>

    Casts this class to a reference to a child type’s class or fails if this class is not implementing the child class.

    -
    source

    pub fn downcast_ref_mut<U: IsClass + IsA<T>>(&mut self) -> Option<&mut Class<U>>

    Casts this class to a mutable reference to a child type’s class or +

    source

    pub fn downcast_ref_mut<U: IsClass + IsA<T>>(&mut self) -> Option<&mut Class<U>>

    Casts this class to a mutable reference to a child type’s class or fails if this class is not implementing the child class.

    -
    source

    pub fn parent(&self) -> Option<ClassRef<'_, T>>

    Gets the parent class struct, if any.

    +
    source

    pub fn parent(&self) -> Option<ClassRef<'_, T>>

    Gets the parent class struct, if any.

    Trait Implementations§

    source§

    impl<T: ObjectSubclass> ClassStruct for ClassStruct<T>

    source§

    type Type = T

    Corresponding object subclass type for this class struct.
    source§

    fn class_init(&mut self)

    Override the vfuncs of all parent types. Read more
    source§

    impl<T: ObjectSubclass> Debug for ClassStruct<T>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<T: ObjectSubclass> Deref for ClassStruct<T>

    source§

    type Target = Class<<T as ObjectSubclass>::Type>

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl<T: ObjectSubclass> DerefMut for ClassStruct<T>

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.

    Auto Trait Implementations§

    §

    impl<T> Freeze for ClassStruct<T>

    §

    impl<T> RefUnwindSafe for ClassStruct<T>
    where diff --git a/git/docs/glib/subclass/object/index.html b/git/docs/glib/subclass/object/index.html index 50caa326ebf7..77ff97fe28b9 100644 --- a/git/docs/glib/subclass/object/index.html +++ b/git/docs/glib/subclass/object/index.html @@ -71,7 +71,7 @@ -
    glib::subclass

    Module object

    source
    Expand description

    Module that contains all types needed for creating a direct subclass of GObject +

    glib::subclass

    Module object

    source
    Expand description

    Module that contains all types needed for creating a direct subclass of GObject or implementing virtual methods of it.

    Traits§

    Provided Methods§

    source

    fn override_signal_class_handler<F>(&mut self, name: &str, class_handler: F)
    where + F: Fn(&SignalClassHandlerToken, &[Value]) -> Option<Value> + Send + Sync + 'static,

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/git/docs/glib/subclass/object/trait.ObjectImpl.html b/git/docs/glib/subclass/object/trait.ObjectImpl.html index ee7a8b45bdcf..82d6381bf2b4 100644 --- a/git/docs/glib/subclass/object/trait.ObjectImpl.html +++ b/git/docs/glib/subclass/object/trait.ObjectImpl.html @@ -71,7 +71,7 @@ -
    glib::subclass::object

    Trait ObjectImpl

    source
    pub trait ObjectImpl: ObjectSubclass<Type: IsA<Object>> {
    +
    glib::subclass::object

    Trait ObjectImpl

    source
    pub trait ObjectImpl: ObjectSubclass<Type: IsA<Object>> {
         // Provided methods
         fn properties() -> &'static [ParamSpec] { ... }
         fn signals() -> &'static [Signal] { ... }
    @@ -86,7 +86,7 @@
     finalize as implementing Drop would allow the same behavior.

    Provided Methods§

    source

    fn properties() -> &'static [ParamSpec]

    Properties installed for this type.

    source

    fn signals() -> &'static [Signal]

    Signals installed for this type.

    -
    source

    fn set_property(&self, _id: usize, _value: &Value, _pspec: &ParamSpec)

    Property setter.

    +
    source

    fn set_property(&self, _id: usize, _value: &Value, _pspec: &ParamSpec)

    Property setter.

    This is called whenever the property of this specific subclass with the given index is set. The new value is passed as glib::Value.

    value is guaranteed to be of the correct type for the given property. @@ -94,14 +94,21 @@ overridden for every type with properties. If implementations of set_property don’t emit property change notification explicitly, this will be done implicitly by the type system. However, if the notify signal is +emitted explicitly, the type system will not emit it a second time. +the generic setter for all properties of this type. Should be +overridden for every type with properties. If implementations of +set_property don’t emit property change notification explicitly, this will +be done implicitly by the type system. However, if the notify signal is emitted explicitly, the type system will not emit it a second time.

    -
    source

    fn property(&self, _id: usize, _pspec: &ParamSpec) -> Value

    Property getter.

    +
    source

    fn property(&self, _id: usize, _pspec: &ParamSpec) -> Value

    Property getter.

    This is called whenever the property value of the specific subclass with the given index should be returned.

    The returned Value must be of the correct type for the given property. the generic getter for all properties of this type. Should be +overridden for every type with properties. +the generic getter for all properties of this type. Should be overridden for every type with properties.

    -
    source

    fn constructed(&self)

    Constructed.

    +
    source

    fn constructed(&self)

    Constructed.

    This is called once construction of the instance is finished.

    Should chain up to the parent class’ implementation. the constructed function is called by Object::new() as the @@ -110,8 +117,15 @@ call is to allow for object initialisation steps that can only be performed after construction properties have been set. constructed implementors should chain up to the constructed call of their parent class to allow it +to complete its initialisation. +the constructed function is called by Object::new() as the +final step of the object creation process. At the point of the call, all +construction properties have been set on the object. The purpose of this +call is to allow for object initialisation steps that can only be performed +after construction properties have been set. constructed implementors +should chain up to the constructed call of their parent class to allow it to complete its initialisation.

    -
    source

    fn dispose(&self)

    Disposes of the object.

    +
    source

    fn dispose(&self)

    Disposes of the object.

    When dispose() ends, the object should not hold any reference to any other member object. The object is also expected to be able to answer client method invocations (with possibly an error code but no memory violation) until it is dropped. dispose() can be executed more @@ -120,8 +134,13 @@ objects, but keep the instance otherwise intact, so that client method invocations still work. It may be run multiple times (due to reference loops). Before returning, dispose should chain up to the dispose method +of the parent class. +the dispose function is supposed to drop all references to other +objects, but keep the instance otherwise intact, so that client method +invocations still work. It may be run multiple times (due to reference +loops). Before returning, dispose should chain up to the dispose method of the parent class.

    -
    source

    fn notify(&self, pspec: &ParamSpec)

    Function to be called when property change is notified for with +

    source

    fn notify(&self, pspec: &ParamSpec)

    Function to be called when property change is notified for with self.notify("property"). Emits a “notify” signal for the property property_name on self.

    When possible, eg. when signaling a property change from within the class @@ -130,8 +149,19 @@

    Note that emission of the notify signal may be blocked with ObjectExt::freeze_notify(). In this case, the signal emissions are queued and will be emitted (in reverse order) when [ObjectExt::thaw_notify()][crate::prelude::ObjectExt::thaw_notify()] is +called. +Emits a “notify” signal for the property property_name on self.

    +

    When possible, eg. when signaling a property change from within the class +that registered the property, you should use ObjectExt::notify_by_pspec() +instead.

    +

    Note that emission of the notify signal may be blocked with +ObjectExt::freeze_notify(). In this case, the signal emissions are queued +and will be emitted (in reverse order) when [ObjectExt::thaw_notify()][crate::prelude::ObjectExt::thaw_notify()] is called.

    -
    source

    fn dispatch_properties_changed(&self, pspecs: &[ParamSpec])

    emits property change notification for a bunch +

    source

    fn dispatch_properties_changed(&self, pspecs: &[ParamSpec])

    emits property change notification for a bunch +of properties. Overriding dispatch_properties_changed should be rarely +needed. +emits property change notification for a bunch of properties. Overriding dispatch_properties_changed should be rarely needed.

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/git/docs/glib/subclass/object/trait.ObjectImplExt.html b/git/docs/glib/subclass/object/trait.ObjectImplExt.html index 279b4d32c00e..0d1aaaff508e 100644 --- a/git/docs/glib/subclass/object/trait.ObjectImplExt.html +++ b/git/docs/glib/subclass/object/trait.ObjectImplExt.html @@ -71,7 +71,7 @@ -
    glib::subclass::object

    Trait ObjectImplExt

    source
    pub trait ObjectImplExt: ObjectImpl {
    +
    glib::subclass::object

    Trait ObjectImplExt

    source
    pub trait ObjectImplExt: ObjectImpl {
         // Provided methods
         fn parent_constructed(&self) { ... }
         fn parent_notify(&self, pspec: &ParamSpec) { ... }
    @@ -81,12 +81,12 @@
             token: &SignalClassHandlerToken,
             values: &[Value],
         ) -> Option<Value> { ... }
    -}

    Provided Methods§

    source

    fn parent_constructed(&self)

    Chain up to the parent class’ implementation of glib::Object::constructed().

    -
    source

    fn parent_notify(&self, pspec: &ParamSpec)

    Chain up to the parent class’ implementation of glib::Object::notify().

    -
    source

    fn parent_dispatch_properties_changed(&self, pspecs: &[ParamSpec])

    Chain up to the parent class’ implementation of glib::Object::dispatch_properties_changed().

    -
    source

    fn signal_chain_from_overridden( +}

    Provided Methods§

    source

    fn parent_constructed(&self)

    Chain up to the parent class’ implementation of glib::Object::constructed().

    +
    source

    fn parent_notify(&self, pspec: &ParamSpec)

    Chain up to the parent class’ implementation of glib::Object::notify().

    +
    source

    fn parent_dispatch_properties_changed(&self, pspecs: &[ParamSpec])

    Chain up to the parent class’ implementation of glib::Object::dispatch_properties_changed().

    +
    source

    fn signal_chain_from_overridden( &self, token: &SignalClassHandlerToken, values: &[Value], ) -> Option<Value>

    Chain up to parent class signal handler.

    -

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/git/docs/glib/subclass/type_module/index.html b/git/docs/glib/subclass/type_module/index.html index f22f91935119..7bcdb6f0e913 100644 --- a/git/docs/glib/subclass/type_module/index.html +++ b/git/docs/glib/subclass/type_module/index.html @@ -71,4 +71,4 @@ -
    glib::subclass

    Module type_module

    source

    Traits§

    \ No newline at end of file +
    glib::subclass

    Module type_module

    source

    Traits§

    \ No newline at end of file diff --git a/git/docs/glib/subclass/type_module/trait.TypeModuleImpl.html b/git/docs/glib/subclass/type_module/trait.TypeModuleImpl.html index deb28d569977..afa2190ddf4c 100644 --- a/git/docs/glib/subclass/type_module/trait.TypeModuleImpl.html +++ b/git/docs/glib/subclass/type_module/trait.TypeModuleImpl.html @@ -71,15 +71,18 @@ -
    glib::subclass::type_module

    Trait TypeModuleImpl

    source
    pub trait TypeModuleImpl: ObjectImpl + ObjectSubclass<Type: IsA<Object> + IsA<TypeModule>> {
    +
    glib::subclass::type_module

    Trait TypeModuleImpl

    source
    pub trait TypeModuleImpl: ObjectImpl + ObjectSubclass<Type: IsA<Object> + IsA<TypeModule>> {
         // Required methods
         fn load(&self) -> bool;
         fn unload(&self);
    -}

    Required Methods§

    source

    fn load(&self) -> bool

    Loads the module, registers one or more object subclasses using +}

    Required Methods§

    source

    fn load(&self) -> bool

    Loads the module, registers one or more object subclasses using register_dynamic_type and registers one or more object interfaces using register_dynamic_interface (see TypeModule).

    loads the module and registers one or more types using +[TypeModuleExtManual::register_type()][crate::prelude::TypeModuleExtManual::register_type()]. +loads the module and registers one or more types using [TypeModuleExtManual::register_type()][crate::prelude::TypeModuleExtManual::register_type()].

    -
    source

    fn unload(&self)

    Unloads the module (see TypeModuleExt::unuse).

    -

    unloads the module

    +
    source

    fn unload(&self)

    Unloads the module (see TypeModuleExt::unuse).

    +

    unloads the module +unloads the module

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/git/docs/glib/subclass/type_module/trait.TypeModuleImplExt.html b/git/docs/glib/subclass/type_module/trait.TypeModuleImplExt.html index ea9d90a850a5..6d58fac1dbd2 100644 --- a/git/docs/glib/subclass/type_module/trait.TypeModuleImplExt.html +++ b/git/docs/glib/subclass/type_module/trait.TypeModuleImplExt.html @@ -71,8 +71,8 @@ -
    glib::subclass::type_module

    Trait TypeModuleImplExt

    source
    pub trait TypeModuleImplExt: TypeModuleImpl {
    +
    glib::subclass::type_module

    Trait TypeModuleImplExt

    source
    pub trait TypeModuleImplExt: TypeModuleImpl {
         // Required methods
         fn parent_load(&self) -> bool;
         fn parent_unload(&self);
    -}

    Required Methods§

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file +}

    Required Methods§

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/git/docs/glib/subclass/types/trait.IsSubclassable.html b/git/docs/glib/subclass/types/trait.IsSubclassable.html index 45849c04144c..6653d4124eed 100644 --- a/git/docs/glib/subclass/types/trait.IsSubclassable.html +++ b/git/docs/glib/subclass/types/trait.IsSubclassable.html @@ -83,4 +83,4 @@
    source

    fn instance_init(instance: &mut InitializingObject<T>)

    Instance specific initialization.

    This is automatically called during instance initialization and must call instance_init() of the parent class.

    -

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/git/docs/glib/trait.HasParamSpec.html b/git/docs/glib/trait.HasParamSpec.html index 3194626050a8..4adcbdbc422b 100644 --- a/git/docs/glib/trait.HasParamSpec.html +++ b/git/docs/glib/trait.HasParamSpec.html @@ -71,12 +71,12 @@ -
    glib

    Trait HasParamSpec

    source
    pub trait HasParamSpec {
    +
    glib

    Trait HasParamSpec

    source
    pub trait HasParamSpec {
         type ParamSpec;
         type SetValue: ?Sized;
         type BuilderFn;
     
         // Required method
         fn param_spec_builder() -> Self::BuilderFn;
    -}

    Required Associated Types§

    source

    type ParamSpec

    source

    type SetValue: ?Sized

    Preferred value to be used as setter for the associated ParamSpec.

    -
    source

    type BuilderFn

    Required Methods§

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl HasParamSpec for bool

    source§

    impl HasParamSpec for char

    source§

    impl HasParamSpec for f32

    source§

    impl HasParamSpec for f64

    source§

    impl HasParamSpec for i8

    source§

    impl HasParamSpec for i32

    source§

    impl HasParamSpec for i64

    source§

    impl HasParamSpec for str

    source§

    impl HasParamSpec for u8

    source§

    impl HasParamSpec for u32

    source§

    impl HasParamSpec for u64

    source§

    impl HasParamSpec for Box<str>

    source§

    impl HasParamSpec for String

    source§

    impl HasParamSpec for Vec<String>

    source§

    impl HasParamSpec for Path

    source§

    impl HasParamSpec for PathBuf

    source§

    impl HasParamSpec for NonZeroI8

    source§

    impl HasParamSpec for NonZeroI32

    source§

    impl HasParamSpec for NonZeroI64

    source§

    impl HasParamSpec for NonZeroU8

    source§

    impl HasParamSpec for NonZeroU32

    source§

    impl HasParamSpec for NonZeroU64

    source§

    impl<T: HasParamSpec + ?Sized> HasParamSpec for &T

    source§

    impl<T: ToValueOptional + HasParamSpec> HasParamSpec for Option<T>

    Implementors§

    source§

    impl HasParamSpec for NormalizeMode

    source§

    impl HasParamSpec for UnicodeBreakType

    source§

    impl HasParamSpec for UnicodeScript

    source§

    impl HasParamSpec for UnicodeType

    source§

    impl HasParamSpec for Closure

    source§

    impl HasParamSpec for StrV

    source§

    impl HasParamSpec for Error

    source§

    impl HasParamSpec for MatchInfo<'static>

    source§

    impl HasParamSpec for InitiallyUnowned

    source§

    impl HasParamSpec for Object

    source§

    impl HasParamSpec for Binding

    source§

    impl HasParamSpec for BindingFlags

    source§

    impl HasParamSpec for BindingGroup

    Available on crate feature v2_72 only.
    source§

    impl HasParamSpec for BoxedAnyObject

    source§

    impl HasParamSpec for ByteArray

    source§

    impl HasParamSpec for Bytes

    source§

    impl HasParamSpec for Checksum

    source§

    impl HasParamSpec for Date

    source§

    impl HasParamSpec for DateTime

    source§

    impl HasParamSpec for GString

    source§

    impl HasParamSpec for GStringBuilder

    source§

    impl HasParamSpec for IOCondition

    source§

    impl HasParamSpec for KeyFile

    source§

    impl HasParamSpec for MainContext

    source§

    impl HasParamSpec for MainLoop

    source§

    impl HasParamSpec for MarkupParseContext

    source§

    impl HasParamSpec for Regex

    source§

    impl HasParamSpec for SignalGroup

    Available on crate feature v2_74 only.
    source§

    impl HasParamSpec for Source

    source§

    impl HasParamSpec for TimeZone

    source§

    impl HasParamSpec for TypeModule

    source§

    impl HasParamSpec for TypePlugin

    source§

    impl HasParamSpec for Uri

    Available on crate feature v2_66 only.
    source§

    impl HasParamSpec for ValueArray

    source§

    impl HasParamSpec for VariantDict

    source§

    impl HasParamSpec for Variant

    \ No newline at end of file +}

    Required Associated Types§

    source

    type ParamSpec

    source

    type SetValue: ?Sized

    Preferred value to be used as setter for the associated ParamSpec.

    +
    source

    type BuilderFn

    Required Methods§

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl HasParamSpec for bool

    source§

    impl HasParamSpec for char

    source§

    impl HasParamSpec for f32

    source§

    impl HasParamSpec for f64

    source§

    impl HasParamSpec for i8

    source§

    impl HasParamSpec for i32

    source§

    impl HasParamSpec for i64

    source§

    impl HasParamSpec for str

    source§

    impl HasParamSpec for u8

    source§

    impl HasParamSpec for u32

    source§

    impl HasParamSpec for u64

    source§

    impl HasParamSpec for Box<str>

    source§

    impl HasParamSpec for String

    source§

    impl HasParamSpec for Vec<String>

    source§

    impl HasParamSpec for Path

    source§

    impl HasParamSpec for PathBuf

    source§

    impl HasParamSpec for NonZeroI8

    source§

    impl HasParamSpec for NonZeroI32

    source§

    impl HasParamSpec for NonZeroI64

    source§

    impl HasParamSpec for NonZeroU8

    source§

    impl HasParamSpec for NonZeroU32

    source§

    impl HasParamSpec for NonZeroU64

    source§

    impl<T: HasParamSpec + ?Sized> HasParamSpec for &T

    source§

    impl<T: ToValueOptional + HasParamSpec> HasParamSpec for Option<T>

    Implementors§

    source§

    impl HasParamSpec for NormalizeMode

    source§

    impl HasParamSpec for UnicodeBreakType

    source§

    impl HasParamSpec for UnicodeScript

    source§

    impl HasParamSpec for UnicodeType

    source§

    impl HasParamSpec for Closure

    source§

    impl HasParamSpec for StrV

    source§

    impl HasParamSpec for Error

    source§

    impl HasParamSpec for MatchInfo<'static>

    source§

    impl HasParamSpec for InitiallyUnowned

    source§

    impl HasParamSpec for Object

    source§

    impl HasParamSpec for Binding

    source§

    impl HasParamSpec for BindingFlags

    source§

    impl HasParamSpec for BindingGroup

    Available on crate feature v2_72 only.
    source§

    impl HasParamSpec for BoxedAnyObject

    source§

    impl HasParamSpec for ByteArray

    source§

    impl HasParamSpec for Bytes

    source§

    impl HasParamSpec for Checksum

    source§

    impl HasParamSpec for Date

    source§

    impl HasParamSpec for DateTime

    source§

    impl HasParamSpec for GString

    source§

    impl HasParamSpec for GStringBuilder

    source§

    impl HasParamSpec for IOCondition

    source§

    impl HasParamSpec for KeyFile

    source§

    impl HasParamSpec for MainContext

    source§

    impl HasParamSpec for MainLoop

    source§

    impl HasParamSpec for MarkupParseContext

    source§

    impl HasParamSpec for Regex

    source§

    impl HasParamSpec for SignalGroup

    Available on crate feature v2_74 only.
    source§

    impl HasParamSpec for Source

    source§

    impl HasParamSpec for TimeZone

    source§

    impl HasParamSpec for TypeModule

    source§

    impl HasParamSpec for TypePlugin

    source§

    impl HasParamSpec for Uri

    Available on crate feature v2_66 only.
    source§

    impl HasParamSpec for ValueArray

    source§

    impl HasParamSpec for VariantDict

    source§

    impl HasParamSpec for Variant

    \ No newline at end of file diff --git a/git/docs/glib/trait.ParamSpecBuilderExt.html b/git/docs/glib/trait.ParamSpecBuilderExt.html index 026437b100bc..c86fd70a0f8e 100644 --- a/git/docs/glib/trait.ParamSpecBuilderExt.html +++ b/git/docs/glib/trait.ParamSpecBuilderExt.html @@ -71,7 +71,7 @@ -
    glib

    Trait ParamSpecBuilderExt

    source
    pub trait ParamSpecBuilderExt<'a>: Sized {
    +
    glib

    Trait ParamSpecBuilderExt

    source
    pub trait ParamSpecBuilderExt<'a>: Sized {
     
    Show 15 methods // Required methods fn set_nick(&mut self, nick: Option<&'a str>); fn set_blurb(&mut self, blurb: Option<&'a str>); @@ -93,20 +93,20 @@
    }
    Expand description

    A trait implemented by the various ParamSpec builder types.

    It is useful for providing a builder pattern for ParamSpec defined outside of GLib like in GStreamer or GTK 4.

    -

    Required Methods§

    source

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.

    -
    source

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.

    -
    source

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.

    -
    source

    fn current_flags(&self) -> ParamFlags

    Implementation detail.

    -

    Provided Methods§

    source

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. +

    Required Methods§

    source

    fn set_nick(&mut self, nick: Option<&'a str>)

    Implementation detail.

    +
    source

    fn set_blurb(&mut self, blurb: Option<&'a str>)

    Implementation detail.

    +
    source

    fn set_flags(&mut self, flags: ParamFlags)

    Implementation detail.

    +
    source

    fn current_flags(&self) -> ParamFlags

    Implementation detail.

    +

    Provided Methods§

    source

    fn nick(self, nick: &'a str) -> Self

    By default, the nickname of its redirect target will be used if it has one. Otherwise, self.name will be used.

    -
    source

    fn blurb(self, blurb: &'a str) -> Self

    Default: None

    -
    source

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE

    -
    source

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.

    -
    source

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.

    -
    source

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.

    -
    source

    fn construct(self) -> Self

    Mark the property as construct

    -
    source

    fn construct_only(self) -> Self

    Mark the property as construct only

    -
    source

    fn lax_validation(self) -> Self

    Mark the property as lax validation

    -
    source

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify

    -
    source

    fn deprecated(self) -> Self

    Mark the property as deprecated

    -

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecBooleanBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecCharBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecDoubleBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecFloatBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecGTypeBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecInt64Builder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecIntBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecLongBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecParamBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecPointerBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecStringBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecUCharBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecUInt64Builder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecUIntBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecULongBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecUnicharBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecValueArrayBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecVariantBuilder<'a>

    source§

    impl<'a, T: StaticType + FromGlib<i32> + IntoGlib<GlibType = i32>> ParamSpecBuilderExt<'a> for ParamSpecEnumBuilder<'a, T>

    source§

    impl<'a, T: StaticType + FromGlib<u32> + IntoGlib<GlibType = u32>> ParamSpecBuilderExt<'a> for ParamSpecFlagsBuilder<'a, T>

    source§

    impl<'a, T: StaticType> ParamSpecBuilderExt<'a> for ParamSpecBoxedBuilder<'a, T>

    source§

    impl<'a, T: StaticType> ParamSpecBuilderExt<'a> for ParamSpecObjectBuilder<'a, T>

    \ No newline at end of file +
    source

    fn blurb(self, blurb: &'a str) -> Self

    Default: None

    +
    source

    fn flags(self, flags: ParamFlags) -> Self

    Default: glib::ParamFlags::READWRITE

    +
    source

    fn read_only(self) -> Self

    Mark the property as read only and drops the READWRITE flag set by default.

    +
    source

    fn write_only(self) -> Self

    Mark the property as write only and drops the READWRITE flag set by default.

    +
    source

    fn readwrite(self) -> Self

    Mark the property as readwrite, it is the default value.

    +
    source

    fn construct(self) -> Self

    Mark the property as construct

    +
    source

    fn construct_only(self) -> Self

    Mark the property as construct only

    +
    source

    fn lax_validation(self) -> Self

    Mark the property as lax validation

    +
    source

    fn explicit_notify(self) -> Self

    Mark the property as explicit notify

    +
    source

    fn deprecated(self) -> Self

    Mark the property as deprecated

    +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecBooleanBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecCharBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecDoubleBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecFloatBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecGTypeBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecInt64Builder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecIntBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecLongBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecParamBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecPointerBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecStringBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecUCharBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecUInt64Builder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecUIntBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecULongBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecUnicharBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecValueArrayBuilder<'a>

    source§

    impl<'a> ParamSpecBuilderExt<'a> for ParamSpecVariantBuilder<'a>

    source§

    impl<'a, T: StaticType + FromGlib<i32> + IntoGlib<GlibType = i32>> ParamSpecBuilderExt<'a> for ParamSpecEnumBuilder<'a, T>

    source§

    impl<'a, T: StaticType + FromGlib<u32> + IntoGlib<GlibType = u32>> ParamSpecBuilderExt<'a> for ParamSpecFlagsBuilder<'a, T>

    source§

    impl<'a, T: StaticType> ParamSpecBuilderExt<'a> for ParamSpecBoxedBuilder<'a, T>

    source§

    impl<'a, T: StaticType> ParamSpecBuilderExt<'a> for ParamSpecObjectBuilder<'a, T>

    \ No newline at end of file diff --git a/git/docs/glib/trait.ParamSpecType.html b/git/docs/glib/trait.ParamSpecType.html index b90055fe9f6f..bf5bd59f7abc 100644 --- a/git/docs/glib/trait.ParamSpecType.html +++ b/git/docs/glib/trait.ParamSpecType.html @@ -71,7 +71,7 @@ -
    glib

    Trait ParamSpecType

    source
    pub unsafe trait ParamSpecType:
    +
    \ No newline at end of file + + 'static { }

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/git/docs/glib/translate/trait.UnsafeFrom.html b/git/docs/glib/translate/trait.UnsafeFrom.html index 9b5c0b9c8043..0b4c6be94e67 100644 --- a/git/docs/glib/translate/trait.UnsafeFrom.html +++ b/git/docs/glib/translate/trait.UnsafeFrom.html @@ -80,4 +80,4 @@ the T hold before this is called, and that after conversion to assume nothing other than the invariants of the output. Implementors of this must ensure that the invariants of the output type hold.

    -

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl UnsafeFrom<u32> for char

    source§

    unsafe fn unsafe_from(t: u32) -> Self

    Implementors§

    \ No newline at end of file +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl UnsafeFrom<u32> for char

    source§

    unsafe fn unsafe_from(t: u32) -> Self

    Implementors§

    \ No newline at end of file diff --git a/git/docs/glib/types/struct.ILong.html b/git/docs/glib/types/struct.ILong.html index d71b5efb4f4e..49f521b88525 100644 --- a/git/docs/glib/types/struct.ILong.html +++ b/git/docs/glib/types/struct.ILong.html @@ -71,7 +71,7 @@ -
    glib::types

    Struct ILong

    source
    pub struct ILong(pub c_long);

    Tuple Fields§

    §0: c_long

    Trait Implementations§

    source§

    impl Clone for ILong

    source§

    fn clone(&self) -> ILong

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ILong

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ILong

    source§

    type Target = i64

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for ILong

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl From<ILong> for Value

    source§

    fn from(v: ILong) -> Self

    Converts to this type from the input type.
    source§

    impl From<ILong> for c_long

    source§

    fn from(v: ILong) -> c_long

    Converts to this type from the input type.
    source§

    impl From<i64> for ILong

    source§

    fn from(v: c_long) -> ILong

    Converts to this type from the input type.
    source§

    impl<'a> FromValue<'a> for ILong

    source§

    type Checker = GenericValueTypeChecker<ILong>

    Value type checker.
    source§

    unsafe fn from_value(value: &'a Value) -> Self

    Get the contained value from a Value. Read more
    source§

    impl Hash for ILong

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +
    glib::types

    Struct ILong

    source
    pub struct ILong(pub c_long);

    Tuple Fields§

    §0: c_long

    Trait Implementations§

    source§

    impl Clone for ILong

    source§

    fn clone(&self) -> ILong

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ILong

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ILong

    source§

    type Target = i64

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for ILong

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl From<ILong> for Value

    source§

    fn from(v: ILong) -> Self

    Converts to this type from the input type.
    source§

    impl From<ILong> for c_long

    source§

    fn from(v: ILong) -> c_long

    Converts to this type from the input type.
    source§

    impl From<i64> for ILong

    source§

    fn from(v: c_long) -> ILong

    Converts to this type from the input type.
    source§

    impl<'a> FromValue<'a> for ILong

    source§

    type Checker = GenericValueTypeChecker<ILong>

    Value type checker.
    source§

    unsafe fn from_value(value: &'a Value) -> Self

    Get the contained value from a Value. Read more
    source§

    impl Hash for ILong

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ILong

    source§

    fn cmp(&self, other: &ILong) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where @@ -88,7 +88,7 @@ the >= operator. Read more

    source§

    impl PartialOrd for ILong

    source§

    fn partial_cmp(&self, other: &ILong) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for ILong

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl ToValue for ILong

    source§

    fn to_value(&self) -> Value

    Convert a value to a Value.
    source§

    fn value_type(&self) -> Type

    Returns the type identifier of self. Read more
    source§

    impl ValueType for ILong

    source§

    type Type = ILong

    Type to get the Type from. Read more
    source§

    impl Copy for ILong

    source§

    impl Eq for ILong

    source§

    impl StructuralPartialEq for ILong

    Auto Trait Implementations§

    §

    impl Freeze for ILong

    §

    impl RefUnwindSafe for ILong

    §

    impl Send for ILong

    §

    impl Sync for ILong

    §

    impl Unpin for ILong

    §

    impl UnwindSafe for ILong

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for ILong

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl ToValue for ILong

    source§

    fn to_value(&self) -> Value

    Convert a value to a Value.
    source§

    fn value_type(&self) -> Type

    Returns the type identifier of self. Read more
    source§

    impl ValueType for ILong

    source§

    type Type = ILong

    Type to get the Type from. Read more
    source§

    impl Copy for ILong

    source§

    impl Eq for ILong

    source§

    impl StructuralPartialEq for ILong

    Auto Trait Implementations§

    §

    impl Freeze for ILong

    §

    impl RefUnwindSafe for ILong

    §

    impl Send for ILong

    §

    impl Sync for ILong

    §

    impl Unpin for ILong

    §

    impl UnwindSafe for ILong

    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
    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 @@ -100,8 +100,8 @@

    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T, U> TryFrom<U> 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    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.
    \ No newline at end of file diff --git a/git/docs/glib/types/struct.Type.html b/git/docs/glib/types/struct.Type.html index e76cc38a0910..4452c2382b6a 100644 --- a/git/docs/glib/types/struct.Type.html +++ b/git/docs/glib/types/struct.Type.html @@ -125,8 +125,8 @@
    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> ToString 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. 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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/git/docs/glib/types/struct.ULong.html b/git/docs/glib/types/struct.ULong.html index f717f5ccfe42..3a231c4aa103 100644 --- a/git/docs/glib/types/struct.ULong.html +++ b/git/docs/glib/types/struct.ULong.html @@ -71,7 +71,7 @@ -
    glib::types

    Struct ULong

    source
    pub struct ULong(pub c_ulong);

    Tuple Fields§

    §0: c_ulong

    Trait Implementations§

    source§

    impl Clone for ULong

    source§

    fn clone(&self) -> ULong

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ULong

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ULong

    source§

    type Target = u64

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for ULong

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl From<ULong> for Value

    source§

    fn from(v: ULong) -> Self

    Converts to this type from the input type.
    source§

    impl From<ULong> for c_ulong

    source§

    fn from(v: ULong) -> c_ulong

    Converts to this type from the input type.
    source§

    impl From<u64> for ULong

    source§

    fn from(v: c_ulong) -> ULong

    Converts to this type from the input type.
    source§

    impl<'a> FromValue<'a> for ULong

    source§

    type Checker = GenericValueTypeChecker<ULong>

    Value type checker.
    source§

    unsafe fn from_value(value: &'a Value) -> Self

    Get the contained value from a Value. Read more
    source§

    impl Hash for ULong

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +
    glib::types

    Struct ULong

    source
    pub struct ULong(pub c_ulong);

    Tuple Fields§

    §0: c_ulong

    Trait Implementations§

    source§

    impl Clone for ULong

    source§

    fn clone(&self) -> ULong

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ULong

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for ULong

    source§

    type Target = u64

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for ULong

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl From<ULong> for Value

    source§

    fn from(v: ULong) -> Self

    Converts to this type from the input type.
    source§

    impl From<ULong> for c_ulong

    source§

    fn from(v: ULong) -> c_ulong

    Converts to this type from the input type.
    source§

    impl From<u64> for ULong

    source§

    fn from(v: c_ulong) -> ULong

    Converts to this type from the input type.
    source§

    impl<'a> FromValue<'a> for ULong

    source§

    type Checker = GenericValueTypeChecker<ULong>

    Value type checker.
    source§

    unsafe fn from_value(value: &'a Value) -> Self

    Get the contained value from a Value. Read more
    source§

    impl Hash for ULong

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for ULong

    source§

    fn cmp(&self, other: &ULong) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where @@ -88,7 +88,7 @@ the >= operator. Read more

    source§

    impl PartialOrd for ULong

    source§

    fn partial_cmp(&self, other: &ULong) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl StaticType for ULong

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl ToValue for ULong

    source§

    fn to_value(&self) -> Value

    Convert a value to a Value.
    source§

    fn value_type(&self) -> Type

    Returns the type identifier of self. Read more
    source§

    impl ValueType for ULong

    source§

    type Type = ULong

    Type to get the Type from. Read more
    source§

    impl Copy for ULong

    source§

    impl Eq for ULong

    source§

    impl StructuralPartialEq for ULong

    Auto Trait Implementations§

    §

    impl Freeze for ULong

    §

    impl RefUnwindSafe for ULong

    §

    impl Send for ULong

    §

    impl Sync for ULong

    §

    impl Unpin for ULong

    §

    impl UnwindSafe for ULong

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +the >= operator. Read more

    source§

    impl StaticType for ULong

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl ToValue for ULong

    source§

    fn to_value(&self) -> Value

    Convert a value to a Value.
    source§

    fn value_type(&self) -> Type

    Returns the type identifier of self. Read more
    source§

    impl ValueType for ULong

    source§

    type Type = ULong

    Type to get the Type from. Read more
    source§

    impl Copy for ULong

    source§

    impl Eq for ULong

    source§

    impl StructuralPartialEq for ULong

    Auto Trait Implementations§

    §

    impl Freeze for ULong

    §

    impl RefUnwindSafe for ULong

    §

    impl Send for ULong

    §

    impl Sync for ULong

    §

    impl Unpin for ULong

    §

    impl UnwindSafe for ULong

    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
    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 @@ -100,8 +100,8 @@

    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T, U> TryFrom<U> 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    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.
    \ No newline at end of file diff --git a/git/docs/glib/types/trait.StaticType.html b/git/docs/glib/types/trait.StaticType.html index 9ce4af343577..ad50e1ddb5bd 100644 --- a/git/docs/glib/types/trait.StaticType.html +++ b/git/docs/glib/types/trait.StaticType.html @@ -76,4 +76,4 @@ fn static_type() -> Type; }
    Expand description

    Types that are supported by GLib dynamic typing.

    Required Methods§

    source

    fn static_type() -> Type

    Returns the type identifier of Self.

    -

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl StaticType for bool

    source§

    impl StaticType for f32

    source§

    impl StaticType for f64

    source§

    impl StaticType for i8

    source§

    impl StaticType for i32

    source§

    impl StaticType for i64

    source§

    impl StaticType for str

    source§

    impl StaticType for u8

    source§

    impl StaticType for u32

    source§

    impl StaticType for u64

    source§

    impl StaticType for ()

    source§

    impl StaticType for Box<str>

    source§

    impl StaticType for String

    source§

    impl StaticType for Vec<GString>

    source§

    impl StaticType for Vec<String>

    source§

    impl StaticType for NonNull<Pointee>

    source§

    impl StaticType for Path

    source§

    impl StaticType for PathBuf

    source§

    impl StaticType for NonZeroI8

    source§

    impl StaticType for NonZeroI32

    source§

    impl StaticType for NonZeroI64

    source§

    impl StaticType for NonZeroU8

    source§

    impl StaticType for NonZeroU32

    source§

    impl StaticType for NonZeroU64

    source§

    impl<'a> StaticType for &'a [GStringPtr]

    source§

    impl<'a> StaticType for [&'a str]

    source§

    impl<'a, T: ?Sized + StaticType> StaticType for &'a T

    source§

    impl<'a, T: ?Sized + StaticType> StaticType for &'a mut T

    source§

    impl<T: ToValueOptional + StaticType> StaticType for Option<T>

    Implementors§

    source§

    impl StaticType for NormalizeMode

    source§

    impl StaticType for UnicodeBreakType

    source§

    impl StaticType for UnicodeScript

    source§

    impl StaticType for UnicodeType

    source§

    impl StaticType for Closure

    source§

    impl StaticType for StrV

    source§

    impl StaticType for Error

    source§

    impl StaticType for InitiallyUnowned

    source§

    impl StaticType for Object

    source§

    impl StaticType for Binding

    source§

    impl StaticType for BindingFlags

    source§

    impl StaticType for BindingGroup

    Available on crate feature v2_72 only.
    source§

    impl StaticType for BoxedAnyObject

    source§

    impl StaticType for ByteArray

    source§

    impl StaticType for Bytes

    source§

    impl StaticType for Checksum

    source§

    impl StaticType for Date

    source§

    impl StaticType for DateTime

    source§

    impl StaticType for GStr

    source§

    impl StaticType for GString

    source§

    impl StaticType for GStringBuilder

    source§

    impl StaticType for IOCondition

    source§

    impl StaticType for KeyFile

    source§

    impl StaticType for MainContext

    source§

    impl StaticType for MainLoop

    source§

    impl StaticType for MarkupParseContext

    source§

    impl StaticType for ParamSpec

    source§

    impl StaticType for ParamSpecBoolean

    source§

    impl StaticType for ParamSpecBoxed

    source§

    impl StaticType for ParamSpecChar

    source§

    impl StaticType for ParamSpecDouble

    source§

    impl StaticType for ParamSpecEnum

    source§

    impl StaticType for ParamSpecFlags

    source§

    impl StaticType for ParamSpecFloat

    source§

    impl StaticType for ParamSpecGType

    source§

    impl StaticType for ParamSpecInt64

    source§

    impl StaticType for ParamSpecInt

    source§

    impl StaticType for ParamSpecLong

    source§

    impl StaticType for ParamSpecObject

    source§

    impl StaticType for ParamSpecOverride

    source§

    impl StaticType for ParamSpecParam

    source§

    impl StaticType for ParamSpecPointer

    source§

    impl StaticType for ParamSpecString

    source§

    impl StaticType for ParamSpecUChar

    source§

    impl StaticType for ParamSpecUInt64

    source§

    impl StaticType for ParamSpecUInt

    source§

    impl StaticType for ParamSpecULong

    source§

    impl StaticType for ParamSpecUnichar

    source§

    impl StaticType for ParamSpecValueArray

    source§

    impl StaticType for ParamSpecVariant

    source§

    impl StaticType for Regex

    source§

    impl StaticType for SignalGroup

    Available on crate feature v2_74 only.
    source§

    impl StaticType for Source

    source§

    impl StaticType for TimeZone

    source§

    impl StaticType for TypeModule

    source§

    impl StaticType for TypePlugin

    source§

    impl StaticType for Uri

    Available on crate feature v2_66 only.
    source§

    impl StaticType for ValueArray

    source§

    impl StaticType for VariantDict

    source§

    impl StaticType for VariantTy

    source§

    impl StaticType for VariantType

    source§

    impl StaticType for BoxedValue

    source§

    impl StaticType for Variant

    source§

    impl StaticType for ILong

    source§

    impl StaticType for Type

    source§

    impl StaticType for ULong

    source§

    impl StaticType for Pointer

    source§

    impl<'input> StaticType for MatchInfo<'input>

    \ No newline at end of file +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl StaticType for bool

    source§

    impl StaticType for f32

    source§

    impl StaticType for f64

    source§

    impl StaticType for i8

    source§

    impl StaticType for i32

    source§

    impl StaticType for i64

    source§

    impl StaticType for str

    source§

    impl StaticType for u8

    source§

    impl StaticType for u32

    source§

    impl StaticType for u64

    source§

    impl StaticType for ()

    source§

    impl StaticType for Box<str>

    source§

    impl StaticType for String

    source§

    impl StaticType for Vec<GString>

    source§

    impl StaticType for Vec<String>

    source§

    impl StaticType for NonNull<Pointee>

    source§

    impl StaticType for Path

    source§

    impl StaticType for PathBuf

    source§

    impl StaticType for NonZeroI8

    source§

    impl StaticType for NonZeroI32

    source§

    impl StaticType for NonZeroI64

    source§

    impl StaticType for NonZeroU8

    source§

    impl StaticType for NonZeroU32

    source§

    impl StaticType for NonZeroU64

    source§

    impl<'a> StaticType for &'a [GStringPtr]

    source§

    impl<'a> StaticType for [&'a str]

    source§

    impl<'a, T: ?Sized + StaticType> StaticType for &'a T

    source§

    impl<'a, T: ?Sized + StaticType> StaticType for &'a mut T

    source§

    impl<T: ToValueOptional + StaticType> StaticType for Option<T>

    Implementors§

    source§

    impl StaticType for NormalizeMode

    source§

    impl StaticType for UnicodeBreakType

    source§

    impl StaticType for UnicodeScript

    source§

    impl StaticType for UnicodeType

    source§

    impl StaticType for Closure

    source§

    impl StaticType for StrV

    source§

    impl StaticType for Error

    source§

    impl StaticType for InitiallyUnowned

    source§

    impl StaticType for Object

    source§

    impl StaticType for Binding

    source§

    impl StaticType for BindingFlags

    source§

    impl StaticType for BindingGroup

    Available on crate feature v2_72 only.
    source§

    impl StaticType for BoxedAnyObject

    source§

    impl StaticType for ByteArray

    source§

    impl StaticType for Bytes

    source§

    impl StaticType for Checksum

    source§

    impl StaticType for Date

    source§

    impl StaticType for DateTime

    source§

    impl StaticType for GStr

    source§

    impl StaticType for GString

    source§

    impl StaticType for GStringBuilder

    source§

    impl StaticType for IOCondition

    source§

    impl StaticType for KeyFile

    source§

    impl StaticType for MainContext

    source§

    impl StaticType for MainLoop

    source§

    impl StaticType for MarkupParseContext

    source§

    impl StaticType for ParamSpec

    source§

    impl StaticType for ParamSpecBoolean

    source§

    impl StaticType for ParamSpecBoxed

    source§

    impl StaticType for ParamSpecChar

    source§

    impl StaticType for ParamSpecDouble

    source§

    impl StaticType for ParamSpecEnum

    source§

    impl StaticType for ParamSpecFlags

    source§

    impl StaticType for ParamSpecFloat

    source§

    impl StaticType for ParamSpecGType

    source§

    impl StaticType for ParamSpecInt64

    source§

    impl StaticType for ParamSpecInt

    source§

    impl StaticType for ParamSpecLong

    source§

    impl StaticType for ParamSpecObject

    source§

    impl StaticType for ParamSpecOverride

    source§

    impl StaticType for ParamSpecParam

    source§

    impl StaticType for ParamSpecPointer

    source§

    impl StaticType for ParamSpecString

    source§

    impl StaticType for ParamSpecUChar

    source§

    impl StaticType for ParamSpecUInt64

    source§

    impl StaticType for ParamSpecUInt

    source§

    impl StaticType for ParamSpecULong

    source§

    impl StaticType for ParamSpecUnichar

    source§

    impl StaticType for ParamSpecValueArray

    source§

    impl StaticType for ParamSpecVariant

    source§

    impl StaticType for Regex

    source§

    impl StaticType for SignalGroup

    Available on crate feature v2_74 only.
    source§

    impl StaticType for Source

    source§

    impl StaticType for TimeZone

    source§

    impl StaticType for TypeModule

    source§

    impl StaticType for TypePlugin

    source§

    impl StaticType for Uri

    Available on crate feature v2_66 only.
    source§

    impl StaticType for ValueArray

    source§

    impl StaticType for VariantDict

    source§

    impl StaticType for VariantTy

    source§

    impl StaticType for VariantType

    source§

    impl StaticType for BoxedValue

    source§

    impl StaticType for Variant

    source§

    impl StaticType for ILong

    source§

    impl StaticType for Type

    source§

    impl StaticType for ULong

    source§

    impl StaticType for Pointer

    source§

    impl<'input> StaticType for MatchInfo<'input>

    \ No newline at end of file diff --git a/git/docs/glib/types/type.Pointer.html b/git/docs/glib/types/type.Pointer.html index f124fb28ad71..d68c96531a6d 100644 --- a/git/docs/glib/types/type.Pointer.html +++ b/git/docs/glib/types/type.Pointer.html @@ -73,4 +73,4 @@
    glib::types

    Type Alias Pointer

    source
    pub type Pointer = gpointer;
    Expand description

    A GLib pointer

    A raw untyped pointer equivalent to *mut Pointee.

    -

    Trait Implementations§

    source§

    impl<'a> FromValue<'a> for Pointer

    source§

    type Checker = GenericValueTypeChecker<*mut c_void>

    Value type checker.
    source§

    unsafe fn from_value(value: &'a Value) -> Self

    Get the contained value from a Value. Read more
    source§

    impl StaticType for Pointer

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl ToValue for Pointer

    source§

    fn to_value(&self) -> Value

    Convert a value to a Value.
    source§

    fn value_type(&self) -> Type

    Returns the type identifier of self. Read more
    source§

    impl ValueType for Pointer

    source§

    type Type = *mut c_void

    Type to get the Type from. Read more
    \ No newline at end of file +

    Trait Implementations§

    source§

    impl<'a> FromValue<'a> for Pointer

    source§

    type Checker = GenericValueTypeChecker<*mut c_void>

    Value type checker.
    source§

    unsafe fn from_value(value: &'a Value) -> Self

    Get the contained value from a Value. Read more
    source§

    impl StaticType for Pointer

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl ToValue for Pointer

    source§

    fn to_value(&self) -> Value

    Convert a value to a Value.
    source§

    fn value_type(&self) -> Type

    Returns the type identifier of self. Read more
    source§

    impl ValueType for Pointer

    source§

    type Type = *mut c_void

    Type to get the Type from. Read more
    \ No newline at end of file diff --git a/git/docs/glib/value/index.html b/git/docs/glib/value/index.html index fd8b262cdc17..451a461d3a8f 100644 --- a/git/docs/glib/value/index.html +++ b/git/docs/glib/value/index.html @@ -71,7 +71,7 @@ -
    glib

    Module value

    source
    Expand description

    Value binding and helper traits.

    +
    glib

    Module value

    source
    Expand description

    Value binding and helper traits.

    The type of a Value is dynamic in that it generally isn’t known at compile time but once created a Value can’t change its type.

    diff --git a/git/docs/glib/value/struct.BoxedValue.html b/git/docs/glib/value/struct.BoxedValue.html index b3edde76f580..7ff5d538bb97 100644 --- a/git/docs/glib/value/struct.BoxedValue.html +++ b/git/docs/glib/value/struct.BoxedValue.html @@ -71,22 +71,22 @@ -
    glib::value

    Struct BoxedValue

    source
    pub struct BoxedValue(pub Value);
    Expand description

    A Value containing another Value.

    -

    Tuple Fields§

    §0: Value

    Methods from Deref<Target = Value>§

    source

    pub fn as_ptr(&self) -> *mut GValue

    source

    pub fn get<'a, T>( +
    glib::value

    Struct BoxedValue

    source
    pub struct BoxedValue(pub Value);
    Expand description

    A Value containing another Value.

    +

    Tuple Fields§

    §0: Value

    Methods from Deref<Target = Value>§

    source

    pub fn as_ptr(&self) -> *mut GValue

    source

    pub fn get<'a, T>( &'a self, ) -> Result<T, <<T as FromValue<'_>>::Checker as ValueTypeChecker>::Error>
    where T: FromValue<'a>,

    Tries to get a value of type T.

    Returns Ok if the type is correct.

    -
    source

    pub fn get_owned<T>( +

    source

    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.

    -
    source

    pub fn is<T: StaticType>(&self) -> bool

    Returns true if the type of the value corresponds to T +

    source

    pub fn is<T: StaticType>(&self) -> bool

    Returns true if the type of the value corresponds to T or is a sub-type of T.

    -
    source

    pub fn is_type(&self, type_: Type) -> bool

    Returns true if the type of the value corresponds to type_ +

    source

    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_.

    -
    source

    pub fn type_(&self) -> Type

    Returns the type of the value.

    -
    source

    pub fn transform<T: ValueType>(&self) -> Result<Value, BoolError>

    Tries to transform the value into a value of the target type +

    source

    pub fn type_(&self) -> Type

    Returns the type of the value.

    +
    source

    pub fn transform<T: ValueType>(&self) -> Result<Value, BoolError>

    Tries to transform the value into a value of the target type Tries to cast the contents of self into a type appropriate to store in dest_value, e.g. to transform a G_TYPE_INT value into a G_TYPE_FLOAT value. Performing transformations between @@ -98,9 +98,21 @@

    §dest_va

    Target value.

    §Returns

    Whether a transformation rule was found and could be applied. +Upon failing transformations, dest_value is left untouched. +Tries to cast the contents of self into a type appropriate +to store in dest_value, e.g. to transform a G_TYPE_INT value +into a G_TYPE_FLOAT value. Performing transformations between +value types might incur precision lossage. Especially +transformations into strings might reveal seemingly arbitrary +results and shouldn’t be relied upon for production code (such +as rcfile value or object property serialization).

    +
    §dest_value
    +

    Target value.

    +
    §Returns
    +

    Whether a transformation rule was found and could be applied. Upon failing transformations, dest_value is left untouched.

    -
    source

    pub fn transform_with_type(&self, type_: Type) -> Result<Value, BoolError>

    Tries to transform the value into a value of the target type

    -

    Trait Implementations§

    source§

    impl Deref for BoxedValue

    source§

    type Target = Value

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Value

    Dereferences the value.
    source§

    impl From<BoxedValue> for Value

    source§

    fn from(v: BoxedValue) -> Self

    Converts to this type from the input type.
    source§

    impl<'a> FromValue<'a> for BoxedValue

    source§

    type Checker = GenericValueTypeOrNoneChecker<BoxedValue>

    Value type checker.
    source§

    unsafe fn from_value(value: &'a Value) -> Self

    Get the contained value from a Value. Read more
    source§

    impl StaticType for BoxedValue

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl ToValue for BoxedValue

    source§

    fn to_value(&self) -> Value

    Convert a value to a Value.
    source§

    fn value_type(&self) -> Type

    Returns the type identifier of self. Read more
    source§

    impl ToValueOptional for BoxedValue

    source§

    fn to_value_optional(s: Option<&Self>) -> Value

    Convert an Option to a Value.
    source§

    impl ValueType for BoxedValue

    source§

    type Type = BoxedValue

    Type to get the Type from. Read more
    source§

    impl ValueTypeOptional for BoxedValue

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    source

    pub fn transform_with_type(&self, type_: Type) -> Result<Value, BoolError>

    Tries to transform the value into a value of the target type

    +

    Trait Implementations§

    source§

    impl Deref for BoxedValue

    source§

    type Target = Value

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Value

    Dereferences the value.
    source§

    impl From<BoxedValue> for Value

    source§

    fn from(v: BoxedValue) -> Self

    Converts to this type from the input type.
    source§

    impl<'a> FromValue<'a> for BoxedValue

    source§

    type Checker = GenericValueTypeOrNoneChecker<BoxedValue>

    Value type checker.
    source§

    unsafe fn from_value(value: &'a Value) -> Self

    Get the contained value from a Value. Read more
    source§

    impl StaticType for BoxedValue

    source§

    fn static_type() -> Type

    Returns the type identifier of Self.
    source§

    impl ToValue for BoxedValue

    source§

    fn to_value(&self) -> Value

    Convert a value to a Value.
    source§

    fn value_type(&self) -> Type

    Returns the type identifier of self. Read more
    source§

    impl ToValueOptional for BoxedValue

    source§

    fn to_value_optional(s: Option<&Self>) -> Value

    Convert an Option to a Value.
    source§

    impl ValueType for BoxedValue

    source§

    type Type = BoxedValue

    Type to get the Type from. Read more
    source§

    impl ValueTypeOptional for BoxedValue

    Auto Trait Implementations§

    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
    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> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/git/docs/glib/value/struct.NopChecker.html b/git/docs/glib/value/struct.NopChecker.html index 00652b2f1699..2482f42a0ad3 100644 --- a/git/docs/glib/value/struct.NopChecker.html +++ b/git/docs/glib/value/struct.NopChecker.html @@ -71,7 +71,7 @@ -
    glib::value

    Struct NopChecker

    source
    pub struct NopChecker;

    Trait Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +
    glib::value

    Struct NopChecker

    source
    pub struct NopChecker;

    Trait Implementations§

    Auto Trait Implementations§

    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
    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> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/git/docs/glib/value/struct.SendValue.html b/git/docs/glib/value/struct.SendValue.html index 2bb88e817159..1a829180fc5c 100644 --- a/git/docs/glib/value/struct.SendValue.html +++ b/git/docs/glib/value/struct.SendValue.html @@ -71,28 +71,28 @@ -
    glib::value

    Struct SendValue

    source
    pub struct SendValue { /* private fields */ }
    Expand description

    A version of Value for storing Send types, that implements Send +

    glib::value

    Struct SendValue

    source
    pub struct SendValue { /* private fields */ }
    Expand description

    A version of Value for storing Send types, that implements Send itself.

    See the module documentation for more details.

    GLib type: Inline allocated boxed type with stack copy semantics.

    -

    Implementations§

    source§

    impl SendValue

    source

    pub fn as_ptr(&self) -> *mut GValue

    source

    pub unsafe fn from_glib_ptr_borrow<'a>(ptr: *const GValue) -> &'a Self

    Borrows the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow_mut<'a>(ptr: *mut GValue) -> &'a mut Self

    Borrows the underlying C value mutably.

    -
    source§

    impl SendValue

    source

    pub fn into_raw(self) -> GValue

    Consumes SendValue and returns the corresponding GValue.

    -
    source

    pub fn from_owned<T: Send + Into<Value>>(t: T) -> Self

    Methods from Deref<Target = Value>§

    source

    pub fn as_ptr(&self) -> *mut GValue

    source

    pub fn get<'a, T>( +

    Implementations§

    source§

    impl SendValue

    source

    pub fn as_ptr(&self) -> *mut GValue

    source

    pub unsafe fn from_glib_ptr_borrow<'a>(ptr: *const GValue) -> &'a Self

    Borrows the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow_mut<'a>(ptr: *mut GValue) -> &'a mut Self

    Borrows the underlying C value mutably.

    +
    source§

    impl SendValue

    source

    pub fn into_raw(self) -> GValue

    Consumes SendValue and returns the corresponding GValue.

    +
    source

    pub fn from_owned<T: Send + Into<Value>>(t: T) -> Self

    Methods from Deref<Target = Value>§

    source

    pub fn as_ptr(&self) -> *mut GValue

    source

    pub fn get<'a, T>( &'a self, ) -> Result<T, <<T as FromValue<'_>>::Checker as ValueTypeChecker>::Error>
    where T: FromValue<'a>,

    Tries to get a value of type T.

    Returns Ok if the type is correct.

    -
    source

    pub fn get_owned<T>( +

    source

    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.

    -
    source

    pub fn is<T: StaticType>(&self) -> bool

    Returns true if the type of the value corresponds to T +

    source

    pub fn is<T: StaticType>(&self) -> bool

    Returns true if the type of the value corresponds to T or is a sub-type of T.

    -
    source

    pub fn is_type(&self, type_: Type) -> bool

    Returns true if the type of the value corresponds to type_ +

    source

    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_.

    -
    source

    pub fn type_(&self) -> Type

    Returns the type of the value.

    -
    source

    pub fn transform<T: ValueType>(&self) -> Result<Value, BoolError>

    Tries to transform the value into a value of the target type +

    source

    pub fn type_(&self) -> Type

    Returns the type of the value.

    +
    source

    pub fn transform<T: ValueType>(&self) -> Result<Value, BoolError>

    Tries to transform the value into a value of the target type Tries to cast the contents of self into a type appropriate to store in dest_value, e.g. to transform a G_TYPE_INT value into a G_TYPE_FLOAT value. Performing transformations between @@ -104,10 +104,22 @@

    §dest_va

    Target value.

    §Returns

    Whether a transformation rule was found and could be applied. +Upon failing transformations, dest_value is left untouched. +Tries to cast the contents of self into a type appropriate +to store in dest_value, e.g. to transform a G_TYPE_INT value +into a G_TYPE_FLOAT value. Performing transformations between +value types might incur precision lossage. Especially +transformations into strings might reveal seemingly arbitrary +results and shouldn’t be relied upon for production code (such +as rcfile value or object property serialization).

    +
    §dest_value
    +

    Target value.

    +
    §Returns
    +

    Whether a transformation rule was found and could be applied. Upon failing transformations, dest_value is left untouched.

    -
    source

    pub fn transform_with_type(&self, type_: Type) -> Result<Value, BoolError>

    Tries to transform the value into a value of the target type

    -

    Trait Implementations§

    source§

    impl Clone for SendValue

    source§

    fn clone(&self) -> Self

    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
    source§

    impl Debug for SendValue

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Deref for SendValue

    source§

    type Target = Value

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Value

    Dereferences the value.
    source§

    impl Drop for SendValue

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl<'a, T: ?Sized + ToSendValue> From<&'a T> for SendValue

    source§

    fn from(value: &'a T) -> Self

    Converts to this type from the input type.
    source§

    impl From<SendValue> for Value

    source§

    fn from(value: SendValue) -> Self

    Converts to this type from the input type.
    source§

    impl<'a> ToValue for &'a SendValue

    source§

    fn to_value(&self) -> Value

    Convert a value to a Value.
    source§

    fn value_type(&self) -> Type

    Returns the type identifier of self. Read more
    source§

    impl ToValue for SendValue

    source§

    fn to_value(&self) -> Value

    Convert a value to a Value.
    source§

    fn value_type(&self) -> Type

    Returns the type identifier of self. Read more
    source§

    impl Send for SendValue

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    source

    pub fn transform_with_type(&self, type_: Type) -> Result<Value, BoolError>

    Tries to transform the value into a value of the target type

    +

    Trait Implementations§

    source§

    impl Clone for SendValue

    source§

    fn clone(&self) -> Self

    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
    source§

    impl Debug for SendValue

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Deref for SendValue

    source§

    type Target = Value

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Value

    Dereferences the value.
    source§

    impl Drop for SendValue

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl<'a, T: ?Sized + ToSendValue> From<&'a T> for SendValue

    source§

    fn from(value: &'a T) -> Self

    Converts to this type from the input type.
    source§

    impl From<SendValue> for Value

    source§

    fn from(value: SendValue) -> Self

    Converts to this type from the input type.
    source§

    impl<'a> ToValue for &'a SendValue

    source§

    fn to_value(&self) -> Value

    Convert a value to a Value.
    source§

    fn value_type(&self) -> Type

    Returns the type identifier of self. Read more
    source§

    impl ToValue for SendValue

    source§

    fn to_value(&self) -> Value

    Convert a value to a Value.
    source§

    fn value_type(&self) -> Type

    Returns the type identifier of self. Read more
    source§

    impl Send for SendValue

    Auto Trait Implementations§

    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
    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 @@ -136,7 +148,7 @@
    §Returns
    From<T> for U chooses to do.

    source§

    impl<T> IntoClosureReturnValue for T
    where T: Into<Value>,

    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T, U> TryFrom<U> 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    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.
    \ No newline at end of file diff --git a/git/docs/glib/value/struct.Value.html b/git/docs/glib/value/struct.Value.html index 31c8ab4cc7d2..aaca1ff88833 100644 --- a/git/docs/glib/value/struct.Value.html +++ b/git/docs/glib/value/struct.Value.html @@ -71,7 +71,7 @@ -
    glib::value

    Struct Value

    source
    pub struct Value { /* private fields */ }
    Expand description

    A generic value capable of carrying various types.

    +
    glib::value

    Struct Value

    source
    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.

    @@ -85,35 +85,43 @@ types.

    Value users cannot make any assumptions about how data is stored within the 2 element data union, and the g_type member should +only be accessed through the G_VALUE_TYPE() macro. +An opaque structure used to hold different types of values.

    +

    The data within the structure has protected scope: it is accessible only +to functions within a TypeValueTable structure, or implementations of +the g_value_*() API. That is, code portions which implement new fundamental +types.

    +

    Value users cannot make any assumptions about how data is stored +within the 2 element data union, and the g_type member should only be accessed through the G_VALUE_TYPE() macro.

    GLib type: Inline allocated boxed type with stack copy semantics.

    -

    Implementations§

    source§

    impl Value

    source

    pub fn as_ptr(&self) -> *mut GValue

    source

    pub unsafe fn from_glib_ptr_borrow<'a>(ptr: *const GValue) -> &'a Self

    Borrows the underlying C value.

    -
    source

    pub unsafe fn from_glib_ptr_borrow_mut<'a>(ptr: *mut GValue) -> &'a mut Self

    Borrows the underlying C value mutably.

    -
    source§

    impl Value

    source

    pub fn from_type(type_: Type) -> Self

    Creates a new Value that is initialized with type_.

    +

    Implementations§

    source§

    impl Value

    source

    pub fn as_ptr(&self) -> *mut GValue

    source

    pub unsafe fn from_glib_ptr_borrow<'a>(ptr: *const GValue) -> &'a Self

    Borrows the underlying C value.

    +
    source

    pub unsafe fn from_glib_ptr_borrow_mut<'a>(ptr: *mut GValue) -> &'a mut Self

    Borrows the underlying C value mutably.

    +
    source§

    impl Value

    source

    pub fn from_type(type_: Type) -> Self

    Creates a new Value that is initialized with type_.

    §Panics

    If type_ can’t be stored in a Value this function panics.

    -
    source

    pub unsafe fn from_type_unchecked(type_: Type) -> Self

    Creates a new Value that is initialized with type_.

    +
    source

    pub unsafe fn from_type_unchecked(type_: Type) -> Self

    Creates a new Value that is initialized with type_.

    §SAFETY

    This must be called with a valid type_ that can be stored in Values.

    -
    source

    pub fn for_value_type<T: ValueType>() -> Self

    Creates a new Value that is initialized for a given ValueType.

    -
    source

    pub fn from_static_str(s: &'static GStr) -> Self

    Creates a new String-typed Value from a 'static string.

    -
    source

    pub fn from_interned_str(s: &'static GStr) -> Self

    Available on crate feature v2_66 only.

    Creates a new String-typed Value from a 'static string that is also assumed to be +

    source

    pub fn for_value_type<T: ValueType>() -> Self

    Creates a new Value that is initialized for a given ValueType.

    +
    source

    pub fn from_static_str(s: &'static GStr) -> Self

    Creates a new String-typed Value from a 'static string.

    +
    source

    pub fn from_interned_str(s: &'static GStr) -> Self

    Available on crate feature v2_66 only.

    Creates a new String-typed Value from a 'static string that is also assumed to be interned.

    -
    source

    pub fn get<'a, T>( +

    source

    pub fn get<'a, T>( &'a self, ) -> Result<T, <<T as FromValue<'_>>::Checker as ValueTypeChecker>::Error>
    where T: FromValue<'a>,

    Tries to get a value of type T.

    Returns Ok if the type is correct.

    -
    source

    pub fn get_owned<T>( +

    source

    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.

    -
    source

    pub fn is<T: StaticType>(&self) -> bool

    Returns true if the type of the value corresponds to T +

    source

    pub fn is<T: StaticType>(&self) -> bool

    Returns true if the type of the value corresponds to T or is a sub-type of T.

    -
    source

    pub fn is_type(&self, type_: Type) -> bool

    Returns true if the type of the value corresponds to type_ +

    source

    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_.

    -
    source

    pub fn type_(&self) -> Type

    Returns the type of the value.

    -
    source

    pub fn type_transformable(src: Type, dst: Type) -> bool

    Returns whether Values of type src can be transformed to type dst. +

    source

    pub fn type_(&self) -> Type

    Returns the type of the value.

    +
    source

    pub fn type_transformable(src: Type, dst: Type) -> bool

    Returns whether Values of type src can be transformed to type dst. Check whether transform() is able to transform values of type src_type into values of type dest_type. Note that for the types to be transformable, they must be compatible or a @@ -123,8 +131,90 @@

    §src_type§dest_type

    Target type.

    §Returns
    -

    true if the transformation is possible, false otherwise.

    -
    source

    pub fn transform<T: ValueType>(&self) -> Result<Value, BoolError>

    Tries to transform the value into a value of the target type +

    true if the transformation is possible, false otherwise. +tus indicates the child exited abnormally +(e.g. with a nonzero exit code, or via a fatal signal).

    +

    The g_spawn_sync() and g_child_watch_add() family of APIs return the +status of subprocesses encoded in a platform-specific way. +On Unix, this is guaranteed to be in the same format waitpid() returns, +and on Windows it is guaranteed to be the result of GetExitCodeProcess().

    +

    Prior to the introduction of this function in GLib 2.34, interpreting +@wait_status required use of platform-specific APIs, which is problematic +for software using GLib as a cross-platform layer.

    +

    Additionally, many programs simply want to determine whether or not +the child exited successfully, and either propagate a #GError or +print a message to standard error. In that common case, this function +can be used. Note that the error message in @error will contain +human-readable information about the wait status.

    +

    The @domain and @code of @error have special semantics in the case +where the process has an “exit code”, as opposed to being killed by +a signal. On Unix, this happens if WIFEXITED() would be true of +@wait_status. On Windows, it is always the case.

    +

    The special semantics are that the actual exit code will be the +code set in @error, and the domain will be G_SPAWN_EXIT_ERROR. +This allows you to differentiate between different exit codes.

    +

    If the process was terminated by some means other than an exit +status (for example if it was killed by a signal), the domain will be +G_SPAWN_ERROR and the code will be G_SPAWN_ERROR_FAILED.

    +

    This function just offers convenience; you can of course also check +the available platform via a macro such as G_OS_UNIX, and use +WIFEXITED() and WEXITSTATUS() on @wait_status directly. Do not attempt +to scan or parse the error message string; it may be translated and/or +change in future versions of GLib.

    +

    Prior to version 2.70, g_spawn_check_exit_status() provides the same +functionality, although under a misleading name.

    +
    §wait_status
    +

    A platform-specific wait status as returned from g_spawn_sync()

    +
    §Returns
    +

    true if child exited successfully, false otherwise (and +@error will be set) +Check whether transform() is able to transform values +of type src_type into values of type dest_type. Note that for +the types to be transformable, they must be compatible or a +transformation function must be registered.

    +
    §src_type
    +

    Source type.

    +
    §dest_type
    +

    Target type.

    +
    §Returns
    +

    true if the transformation is possible, false otherwise. +tus indicates the child exited abnormally +(e.g. with a nonzero exit code, or via a fatal signal).

    +

    The g_spawn_sync() and g_child_watch_add() family of APIs return the +status of subprocesses encoded in a platform-specific way. +On Unix, this is guaranteed to be in the same format waitpid() returns, +and on Windows it is guaranteed to be the result of GetExitCodeProcess().

    +

    Prior to the introduction of this function in GLib 2.34, interpreting +@wait_status required use of platform-specific APIs, which is problematic +for software using GLib as a cross-platform layer.

    +

    Additionally, many programs simply want to determine whether or not +the child exited successfully, and either propagate a #GError or +print a message to standard error. In that common case, this function +can be used. Note that the error message in @error will contain +human-readable information about the wait status.

    +

    The @domain and @code of @error have special semantics in the case +where the process has an “exit code”, as opposed to being killed by +a signal. On Unix, this happens if WIFEXITED() would be true of +@wait_status. On Windows, it is always the case.

    +

    The special semantics are that the actual exit code will be the +code set in @error, and the domain will be G_SPAWN_EXIT_ERROR. +This allows you to differentiate between different exit codes.

    +

    If the process was terminated by some means other than an exit +status (for example if it was killed by a signal), the domain will be +G_SPAWN_ERROR and the code will be G_SPAWN_ERROR_FAILED.

    +

    This function just offers convenience; you can of course also check +the available platform via a macro such as G_OS_UNIX, and use +WIFEXITED() and WEXITSTATUS() on @wait_status directly. Do not attempt +to scan or parse the error message string; it may be translated and/or +change in future versions of GLib.

    +

    Prior to version 2.70, g_spawn_check_exit_status() provides the same +functionality, although under a misleading name.

    +
    §wait_status
    +

    A platform-specific wait status as returned from g_spawn_sync()

    +
    §Returns
    +

    true if child exited successfully, false otherwise (and +@error will be set)

    +
    source

    pub fn transform<T: ValueType>(&self) -> Result<Value, BoolError>

    Tries to transform the value into a value of the target type Tries to cast the contents of self into a type appropriate to store in dest_value, e.g. to transform a G_TYPE_INT value into a G_TYPE_FLOAT value. Performing transformations between @@ -134,20 +224,32 @@

    §Returns
    as rcfile value or object property serialization).

    §dest_value

    Target value.

    -
    §Returns
    +
    §Returns
    +

    Whether a transformation rule was found and could be applied. +Upon failing transformations, dest_value is left untouched. +Tries to cast the contents of self into a type appropriate +to store in dest_value, e.g. to transform a G_TYPE_INT value +into a G_TYPE_FLOAT value. Performing transformations between +value types might incur precision lossage. Especially +transformations into strings might reveal seemingly arbitrary +results and shouldn’t be relied upon for production code (such +as rcfile value or object property serialization).

    +
    §dest_value
    +

    Target value.

    +
    §Returns

    Whether a transformation rule was found and could be applied. Upon failing transformations, dest_value is left untouched.

    -
    source

    pub fn transform_with_type(&self, type_: Type) -> Result<Value, BoolError>

    Tries to transform the value into a value of the target type

    -
    source

    pub fn into_raw(self) -> GValue

    Consumes Value and returns the corresponding GValue.

    -
    source

    pub fn try_into_send_value<T: Send + StaticType>( +

    source

    pub fn transform_with_type(&self, type_: Type) -> Result<Value, BoolError>

    Tries to transform the value into a value of the target type

    +
    source

    pub fn into_raw(self) -> GValue

    Consumes Value and returns the corresponding GValue.

    +
    source

    pub fn try_into_send_value<T: Send + StaticType>( self, ) -> Result<SendValue, Self>

    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.

    -
    source

    pub unsafe fn into_send_value(self) -> SendValue

    Converts a Value into a SendValue.

    +
    source

    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§

    source§

    impl Clone for Value

    source§

    fn clone(&self) -> Self

    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
    source§

    impl Debug for Value

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Value

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Extend<Value> for ValueArray

    source§

    fn extend<T: IntoIterator<Item = Value>>(&mut self, iter: T)

    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
    source§

    impl<'a, T: ?Sized + ToValue> From<&'a T> for Value

    source§

    fn from(value: &'a T) -> Self

    Converts to this type from the input type.
    source§

    impl From<*mut c_void> for Value

    source§

    fn from(v: Pointer) -> Self

    Converts to this type from the input type.
    source§

    impl From<BindingFlags> for Value

    source§

    fn from(v: BindingFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<Box<str>> for Value

    source§

    fn from(s: Box<str>) -> Self

    Converts to this type from the input type.
    source§

    impl From<BoxedValue> for Value

    source§

    fn from(v: BoxedValue) -> Self

    Converts to this type from the input type.
    source§

    impl From<ByteArray> for Value

    source§

    fn from(s: ByteArray) -> Self

    Converts to this type from the input type.
    source§

    impl From<Bytes> for Value

    source§

    fn from(s: Bytes) -> Self

    Converts to this type from the input type.
    source§

    impl From<Checksum> for Value

    source§

    fn from(o: Checksum) -> Self

    Converts to this type from the input type.
    source§

    impl From<Closure> for Value

    source§

    fn from(s: Closure) -> Self

    Converts to this type from the input type.
    source§

    impl From<ControlFlow> for Value

    source§

    fn from(v: ControlFlow) -> Self

    Converts to this type from the input type.
    source§

    impl From<DateTime> for Value

    source§

    fn from(s: DateTime) -> Self

    Converts to this type from the input type.
    source§

    impl From<Error> for Value

    source§

    fn from(o: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<GString> for Value

    source§

    fn from(s: GString) -> Self

    Converts to this type from the input type.
    source§

    impl From<ILong> for Value

    source§

    fn from(v: ILong) -> Self

    Converts to this type from the input type.
    source§

    impl From<IOCondition> for Value

    source§

    fn from(v: IOCondition) -> Self

    Converts to this type from the input type.
    source§

    impl From<KeyFile> for Value

    source§

    fn from(s: KeyFile) -> Self

    Converts to this type from the input type.
    source§

    impl From<MainContext> for Value

    source§

    fn from(s: MainContext) -> Self

    Converts to this type from the input type.
    source§

    impl From<MainLoop> for Value

    source§

    fn from(s: MainLoop) -> Self

    Converts to this type from the input type.
    source§

    impl From<MarkupParseContext> for Value

    source§

    fn from(s: MarkupParseContext) -> Self

    Converts to this type from the input type.
    source§

    impl From<MatchInfo<'static>> for Value

    source§

    fn from(s: MatchInfo<'static>) -> Self

    Converts to this type from the input type.
    source§

    impl From<NonNull<c_void>> for Value

    source§

    fn from(v: NonNull<Pointee>) -> Self

    Converts to this type from the input type.
    source§

    impl From<NonZero<i32>> for Value

    source§

    fn from(v: NonZeroI32) -> Self

    Converts to this type from the input type.
    source§

    impl From<NonZero<i64>> for Value

    source§

    fn from(v: NonZeroI64) -> Self

    Converts to this type from the input type.
    source§

    impl From<NonZero<i8>> for Value

    source§

    fn from(v: NonZeroI8) -> Self

    Converts to this type from the input type.
    source§

    impl From<NonZero<u32>> for Value

    source§

    fn from(v: NonZeroU32) -> Self

    Converts to this type from the input type.
    source§

    impl From<NonZero<u64>> for Value

    source§

    fn from(v: NonZeroU64) -> Self

    Converts to this type from the input type.
    source§

    impl From<NonZero<u8>> for Value

    source§

    fn from(v: NonZeroU8) -> Self

    Converts to this type from the input type.
    source§

    impl From<NormalizeMode> for Value

    source§

    fn from(v: NormalizeMode) -> Self

    Converts to this type from the input type.
    source§

    impl<T: Into<Value> + ToValueOptional> From<Option<T>> for Value

    source§

    fn from(t: Option<T>) -> Self

    Converts to this type from the input type.
    source§

    impl From<PathBuf> for Value

    source§

    fn from(s: PathBuf) -> Self

    Converts to this type from the input type.
    source§

    impl From<Propagation> for Value

    source§

    fn from(v: Propagation) -> Self

    Converts to this type from the input type.
    source§

    impl From<Regex> for Value

    source§

    fn from(s: Regex) -> Self

    Converts to this type from the input type.
    source§

    impl From<SendValue> for Value

    source§

    fn from(value: SendValue) -> Self

    Converts to this type from the input type.
    source§

    impl From<Source> for Value

    source§

    fn from(s: Source) -> Self

    Converts to this type from the input type.
    source§

    impl From<StrV> for Value

    source§

    fn from(s: StrV) -> Self

    Converts to this type from the input type.
    source§

    impl From<String> for Value

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<TimeZone> for Value

    source§

    fn from(s: TimeZone) -> Self

    Converts to this type from the input type.
    source§

    impl From<ULong> for Value

    source§

    fn from(v: ULong) -> Self

    Converts to this type from the input type.
    source§

    impl From<UnicodeBreakType> for Value

    source§

    fn from(v: UnicodeBreakType) -> Self

    Converts to this type from the input type.
    source§

    impl From<UnicodeScript> for Value

    source§

    fn from(v: UnicodeScript) -> Self

    Converts to this type from the input type.
    source§

    impl From<UnicodeType> for Value

    source§

    fn from(v: UnicodeType) -> Self

    Converts to this type from the input type.
    source§

    impl From<Uri> for Value

    Available on crate feature v2_66 only.
    source§

    fn from(s: Uri) -> Self

    Converts to this type from the input type.
    source§

    impl From<ValueArray> for Value

    source§

    fn from(o: ValueArray) -> Self

    Converts to this type from the input type.
    source§

    impl From<VariantDict> for Value

    source§

    fn from(s: VariantDict) -> Self

    Converts to this type from the input type.
    source§

    impl From<Vec<GString>> for Value

    source§

    fn from(v: Vec<GString>) -> Self

    Converts to this type from the input type.
    source§

    impl From<Vec<String>> for Value

    source§

    fn from(s: Vec<String>) -> Self

    Converts to this type from the input type.
    source§

    impl From<bool> for Value

    source§

    fn from(v: bool) -> Self

    Converts to this type from the input type.
    source§

    impl From<char> for Value

    source§

    fn from(v: char) -> Self

    Converts to this type from the input type.
    source§

    impl From<f32> for Value

    source§

    fn from(v: f32) -> Self

    Converts to this type from the input type.
    source§

    impl From<f64> for Value

    source§

    fn from(v: f64) -> Self

    Converts to this type from the input type.
    source§

    impl From<i32> for Value

    source§

    fn from(v: i32) -> Self

    Converts to this type from the input type.
    source§

    impl From<i64> for Value

    source§

    fn from(v: i64) -> Self

    Converts to this type from the input type.
    source§

    impl From<i8> for Value

    source§

    fn from(v: i8) -> Self

    Converts to this type from the input type.
    source§

    impl From<u32> for Value

    source§

    fn from(v: u32) -> Self

    Converts to this type from the input type.
    source§

    impl From<u64> for Value

    source§

    fn from(v: u64) -> Self

    Converts to this type from the input type.
    source§

    impl From<u8> for Value

    source§

    fn from(v: u8) -> Self

    Converts to this type from the input type.
    source§

    impl FromIterator<Value> for ValueArray

    source§

    fn from_iter<T: IntoIterator<Item = Value>>(iter: T) -> Self

    Creates a value from an iterator. Read more
    source§

    impl<'a> FromValue<'a> for &'a Value

    source§

    type Checker = NopChecker

    Value type checker.
    source§

    unsafe fn from_value(value: &'a Value) -> Self

    Get the contained value from a Value. Read more
    source§

    impl<'a> FromValue<'a> for Value

    source§

    type Checker = NopChecker

    Value type checker.
    source§

    unsafe fn from_value(value: &'a Value) -> Self

    Get the contained value from a Value. Read more
    source§

    impl<'a> ToValue for &'a Value

    source§

    fn to_value(&self) -> Value

    Convert a value to a Value.
    source§

    fn value_type(&self) -> Type

    Returns the type identifier of self. Read more
    source§

    impl ToValue for Value

    source§

    fn to_value(&self) -> Value

    Convert a value to a Value.
    source§

    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 +

    Trait Implementations§

    source§

    impl Clone for Value

    source§

    fn clone(&self) -> Self

    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
    source§

    impl Debug for Value

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Value

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Extend<Value> for ValueArray

    source§

    fn extend<T: IntoIterator<Item = Value>>(&mut self, iter: T)

    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
    source§

    impl<'a, T: ?Sized + ToValue> From<&'a T> for Value

    source§

    fn from(value: &'a T) -> Self

    Converts to this type from the input type.
    source§

    impl From<*mut c_void> for Value

    source§

    fn from(v: Pointer) -> Self

    Converts to this type from the input type.
    source§

    impl From<BindingFlags> for Value

    source§

    fn from(v: BindingFlags) -> Self

    Converts to this type from the input type.
    source§

    impl From<Box<str>> for Value

    source§

    fn from(s: Box<str>) -> Self

    Converts to this type from the input type.
    source§

    impl From<BoxedValue> for Value

    source§

    fn from(v: BoxedValue) -> Self

    Converts to this type from the input type.
    source§

    impl From<ByteArray> for Value

    source§

    fn from(s: ByteArray) -> Self

    Converts to this type from the input type.
    source§

    impl From<Bytes> for Value

    source§

    fn from(s: Bytes) -> Self

    Converts to this type from the input type.
    source§

    impl From<Checksum> for Value

    source§

    fn from(o: Checksum) -> Self

    Converts to this type from the input type.
    source§

    impl From<Closure> for Value

    source§

    fn from(s: Closure) -> Self

    Converts to this type from the input type.
    source§

    impl From<ControlFlow> for Value

    source§

    fn from(v: ControlFlow) -> Self

    Converts to this type from the input type.
    source§

    impl From<DateTime> for Value

    source§

    fn from(s: DateTime) -> Self

    Converts to this type from the input type.
    source§

    impl From<Error> for Value

    source§

    fn from(o: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<GString> for Value

    source§

    fn from(s: GString) -> Self

    Converts to this type from the input type.
    source§

    impl From<ILong> for Value

    source§

    fn from(v: ILong) -> Self

    Converts to this type from the input type.
    source§

    impl From<IOCondition> for Value

    source§

    fn from(v: IOCondition) -> Self

    Converts to this type from the input type.
    source§

    impl From<KeyFile> for Value

    source§

    fn from(s: KeyFile) -> Self

    Converts to this type from the input type.
    source§

    impl From<MainContext> for Value

    source§

    fn from(s: MainContext) -> Self

    Converts to this type from the input type.
    source§

    impl From<MainLoop> for Value

    source§

    fn from(s: MainLoop) -> Self

    Converts to this type from the input type.
    source§

    impl From<MarkupParseContext> for Value

    source§

    fn from(s: MarkupParseContext) -> Self

    Converts to this type from the input type.
    source§

    impl From<MatchInfo<'static>> for Value

    source§

    fn from(s: MatchInfo<'static>) -> Self

    Converts to this type from the input type.
    source§

    impl From<NonNull<c_void>> for Value

    source§

    fn from(v: NonNull<Pointee>) -> Self

    Converts to this type from the input type.
    source§

    impl From<NonZero<i32>> for Value

    source§

    fn from(v: NonZeroI32) -> Self

    Converts to this type from the input type.
    source§

    impl From<NonZero<i64>> for Value

    source§

    fn from(v: NonZeroI64) -> Self

    Converts to this type from the input type.
    source§

    impl From<NonZero<i8>> for Value

    source§

    fn from(v: NonZeroI8) -> Self

    Converts to this type from the input type.
    source§

    impl From<NonZero<u32>> for Value

    source§

    fn from(v: NonZeroU32) -> Self

    Converts to this type from the input type.
    source§

    impl From<NonZero<u64>> for Value

    source§

    fn from(v: NonZeroU64) -> Self

    Converts to this type from the input type.
    source§

    impl From<NonZero<u8>> for Value

    source§

    fn from(v: NonZeroU8) -> Self

    Converts to this type from the input type.
    source§

    impl From<NormalizeMode> for Value

    source§

    fn from(v: NormalizeMode) -> Self

    Converts to this type from the input type.
    source§

    impl<T: Into<Value> + ToValueOptional> From<Option<T>> for Value

    source§

    fn from(t: Option<T>) -> Self

    Converts to this type from the input type.
    source§

    impl From<PathBuf> for Value

    source§

    fn from(s: PathBuf) -> Self

    Converts to this type from the input type.
    source§

    impl From<Propagation> for Value

    source§

    fn from(v: Propagation) -> Self

    Converts to this type from the input type.
    source§

    impl From<Regex> for Value

    source§

    fn from(s: Regex) -> Self

    Converts to this type from the input type.
    source§

    impl From<SendValue> for Value

    source§

    fn from(value: SendValue) -> Self

    Converts to this type from the input type.
    source§

    impl From<Source> for Value

    source§

    fn from(s: Source) -> Self

    Converts to this type from the input type.
    source§

    impl From<StrV> for Value

    source§

    fn from(s: StrV) -> Self

    Converts to this type from the input type.
    source§

    impl From<String> for Value

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<TimeZone> for Value

    source§

    fn from(s: TimeZone) -> Self

    Converts to this type from the input type.
    source§

    impl From<ULong> for Value

    source§

    fn from(v: ULong) -> Self

    Converts to this type from the input type.
    source§

    impl From<UnicodeBreakType> for Value

    source§

    fn from(v: UnicodeBreakType) -> Self

    Converts to this type from the input type.
    source§

    impl From<UnicodeScript> for Value

    source§

    fn from(v: UnicodeScript) -> Self

    Converts to this type from the input type.
    source§

    impl From<UnicodeType> for Value

    source§

    fn from(v: UnicodeType) -> Self

    Converts to this type from the input type.
    source§

    impl From<Uri> for Value

    Available on crate feature v2_66 only.
    source§

    fn from(s: Uri) -> Self

    Converts to this type from the input type.
    source§

    impl From<ValueArray> for Value

    source§

    fn from(o: ValueArray) -> Self

    Converts to this type from the input type.
    source§

    impl From<VariantDict> for Value

    source§

    fn from(s: VariantDict) -> Self

    Converts to this type from the input type.
    source§

    impl From<Vec<GString>> for Value

    source§

    fn from(v: Vec<GString>) -> Self

    Converts to this type from the input type.
    source§

    impl From<Vec<String>> for Value

    source§

    fn from(s: Vec<String>) -> Self

    Converts to this type from the input type.
    source§

    impl From<bool> for Value

    source§

    fn from(v: bool) -> Self

    Converts to this type from the input type.
    source§

    impl From<char> for Value

    source§

    fn from(v: char) -> Self

    Converts to this type from the input type.
    source§

    impl From<f32> for Value

    source§

    fn from(v: f32) -> Self

    Converts to this type from the input type.
    source§

    impl From<f64> for Value

    source§

    fn from(v: f64) -> Self

    Converts to this type from the input type.
    source§

    impl From<i32> for Value

    source§

    fn from(v: i32) -> Self

    Converts to this type from the input type.
    source§

    impl From<i64> for Value

    source§

    fn from(v: i64) -> Self

    Converts to this type from the input type.
    source§

    impl From<i8> for Value

    source§

    fn from(v: i8) -> Self

    Converts to this type from the input type.
    source§

    impl From<u32> for Value

    source§

    fn from(v: u32) -> Self

    Converts to this type from the input type.
    source§

    impl From<u64> for Value

    source§

    fn from(v: u64) -> Self

    Converts to this type from the input type.
    source§

    impl From<u8> for Value

    source§

    fn from(v: u8) -> Self

    Converts to this type from the input type.
    source§

    impl FromIterator<Value> for ValueArray

    source§

    fn from_iter<T: IntoIterator<Item = Value>>(iter: T) -> Self

    Creates a value from an iterator. Read more
    source§

    impl<'a> FromValue<'a> for &'a Value

    source§

    type Checker = NopChecker

    Value type checker.
    source§

    unsafe fn from_value(value: &'a Value) -> Self

    Get the contained value from a Value. Read more
    source§

    impl<'a> FromValue<'a> for Value

    source§

    type Checker = NopChecker

    Value type checker.
    source§

    unsafe fn from_value(value: &'a Value) -> Self

    Get the contained value from a Value. Read more
    source§

    impl<'a> ToValue for &'a Value

    source§

    fn to_value(&self) -> Value

    Convert a value to a Value.
    source§

    fn value_type(&self) -> Type

    Returns the type identifier of self. Read more
    source§

    impl ToValue for Value

    source§

    fn to_value(&self) -> Value

    Convert a value to a Value.
    source§

    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
    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 diff --git a/git/docs/glib/value/trait.FromValue.html b/git/docs/glib/value/trait.FromValue.html index aad653d86efb..2c82cd880259 100644 --- a/git/docs/glib/value/trait.FromValue.html +++ b/git/docs/glib/value/trait.FromValue.html @@ -83,8 +83,8 @@

    Required Methods§

    source

    unsafe fn from_value(value: &'a Value) -> Self

    Get the contained value from a Value.

    §Safety

    Self::Checker::check() must be called first and must not fail.

    -

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl<'a> FromValue<'a> for &'a str

    source§

    impl<'a> FromValue<'a> for &'a [GStringPtr]

    source§

    impl<'a> FromValue<'a> for bool

    source§

    impl<'a> FromValue<'a> for char

    source§

    type Checker = CharTypeChecker

    source§

    unsafe fn from_value(value: &'a Value) -> Self

    source§

    impl<'a> FromValue<'a> for f32

    source§

    impl<'a> FromValue<'a> for f64

    source§

    impl<'a> FromValue<'a> for i8

    source§

    impl<'a> FromValue<'a> for i32

    source§

    impl<'a> FromValue<'a> for i64

    source§

    impl<'a> FromValue<'a> for u8

    source§

    impl<'a> FromValue<'a> for u32

    source§

    impl<'a> FromValue<'a> for u64

    source§

    impl<'a> FromValue<'a> for Box<str>

    source§

    impl<'a> FromValue<'a> for String

    source§

    impl<'a> FromValue<'a> for Vec<GString>

    source§

    impl<'a> FromValue<'a> for Vec<String>

    source§

    impl<'a> FromValue<'a> for NonNull<Pointee>

    source§

    impl<'a> FromValue<'a> for PathBuf

    source§

    impl<'a> FromValue<'a> for NonZeroI8

    source§

    impl<'a> FromValue<'a> for NonZeroI32

    source§

    impl<'a> FromValue<'a> for NonZeroI64

    source§

    impl<'a> FromValue<'a> for NonZeroU8

    source§

    impl<'a> FromValue<'a> for NonZeroU32

    source§

    impl<'a> FromValue<'a> for NonZeroU64

    source§

    impl<'a, 'b> FromValue<'a> for Vec<&'b FlagsValue>

    source§

    type Checker = FlagsTypeChecker

    source§

    unsafe fn from_value(value: &'a Value) -> Self

    source§

    impl<'a, T, C, E> FromValue<'a> for Option<T>
    where +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl<'a> FromValue<'a> for &'a str

    source§

    impl<'a> FromValue<'a> for &'a [GStringPtr]

    source§

    impl<'a> FromValue<'a> for bool

    source§

    impl<'a> FromValue<'a> for char

    source§

    type Checker = CharTypeChecker

    source§

    unsafe fn from_value(value: &'a Value) -> Self

    source§

    impl<'a> FromValue<'a> for f32

    source§

    impl<'a> FromValue<'a> for f64

    source§

    impl<'a> FromValue<'a> for i8

    source§

    impl<'a> FromValue<'a> for i32

    source§

    impl<'a> FromValue<'a> for i64

    source§

    impl<'a> FromValue<'a> for u8

    source§

    impl<'a> FromValue<'a> for u32

    source§

    impl<'a> FromValue<'a> for u64

    source§

    impl<'a> FromValue<'a> for Box<str>

    source§

    impl<'a> FromValue<'a> for String

    source§

    impl<'a> FromValue<'a> for Vec<GString>

    source§

    impl<'a> FromValue<'a> for Vec<String>

    source§

    impl<'a> FromValue<'a> for NonNull<Pointee>

    source§

    impl<'a> FromValue<'a> for PathBuf

    source§

    impl<'a> FromValue<'a> for NonZeroI8

    source§

    impl<'a> FromValue<'a> for NonZeroI32

    source§

    impl<'a> FromValue<'a> for NonZeroI64

    source§

    impl<'a> FromValue<'a> for NonZeroU8

    source§

    impl<'a> FromValue<'a> for NonZeroU32

    source§

    impl<'a> FromValue<'a> for NonZeroU64

    source§

    impl<'a, 'b> FromValue<'a> for Vec<&'b FlagsValue>

    source§

    type Checker = FlagsTypeChecker

    source§

    unsafe fn from_value(value: &'a Value) -> Self

    source§

    impl<'a, T, C, E> FromValue<'a> for Option<T>
    where T: FromValue<'a, Checker = C> + StaticType, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, E: Error + Send + Sized + 'static,

    Blanket implementation for all optional types.

    -
    source§

    type Checker = ValueTypeOrNoneChecker<T, C, E>

    source§

    unsafe fn from_value(value: &'a Value) -> Self

    Implementors§

    source§

    impl<'a> FromValue<'a> for &'a GStr

    source§

    impl<'a> FromValue<'a> for &'a Value

    source§

    impl<'a> FromValue<'a> for NormalizeMode

    source§

    impl<'a> FromValue<'a> for UnicodeBreakType

    source§

    impl<'a> FromValue<'a> for UnicodeScript

    source§

    impl<'a> FromValue<'a> for UnicodeType

    source§

    impl<'a> FromValue<'a> for StrV

    source§

    impl<'a> FromValue<'a> for BindingFlags

    source§

    impl<'a> FromValue<'a> for GString

    source§

    impl<'a> FromValue<'a> for IOCondition

    source§

    impl<'a> FromValue<'a> for ILong

    source§

    impl<'a> FromValue<'a> for ULong

    source§

    impl<'a> FromValue<'a> for BoxedValue

    source§

    impl<'a> FromValue<'a> for Value

    source§

    impl<'a> FromValue<'a> for Pointer

    source§

    impl<'a, 'b> FromValue<'a> for &'b EnumValue

    source§

    impl<'a, 'input: 'a> FromValue<'a> for MatchInfo<'input>

    \ No newline at end of file +
    source§

    type Checker = ValueTypeOrNoneChecker<T, C, E>

    source§

    unsafe fn from_value(value: &'a Value) -> Self

    Implementors§

    source§

    impl<'a> FromValue<'a> for &'a GStr

    source§

    impl<'a> FromValue<'a> for &'a Value

    source§

    impl<'a> FromValue<'a> for NormalizeMode

    source§

    impl<'a> FromValue<'a> for UnicodeBreakType

    source§

    impl<'a> FromValue<'a> for UnicodeScript

    source§

    impl<'a> FromValue<'a> for UnicodeType

    source§

    impl<'a> FromValue<'a> for StrV

    source§

    impl<'a> FromValue<'a> for BindingFlags

    source§

    impl<'a> FromValue<'a> for GString

    source§

    impl<'a> FromValue<'a> for IOCondition

    source§

    impl<'a> FromValue<'a> for ILong

    source§

    impl<'a> FromValue<'a> for ULong

    source§

    impl<'a> FromValue<'a> for BoxedValue

    source§

    impl<'a> FromValue<'a> for Value

    source§

    impl<'a> FromValue<'a> for Pointer

    source§

    impl<'a, 'b> FromValue<'a> for &'b EnumValue

    source§

    impl<'a, 'input: 'a> FromValue<'a> for MatchInfo<'input>

    \ No newline at end of file diff --git a/git/docs/glib/value/trait.ToSendValue.html b/git/docs/glib/value/trait.ToSendValue.html index 6ef9278fae51..6de133849c29 100644 --- a/git/docs/glib/value/trait.ToSendValue.html +++ b/git/docs/glib/value/trait.ToSendValue.html @@ -71,9 +71,9 @@ -
    glib::value

    Trait ToSendValue

    source
    pub trait ToSendValue: Send + ToValue {
    +
    glib::value

    Trait ToSendValue

    source
    pub trait ToSendValue: Send + ToValue {
         // Required method
         fn to_send_value(&self) -> SendValue;
     }
    Expand description

    Converts to SendValue.

    -

    Required Methods§

    source

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.

    -

    Implementors§

    \ No newline at end of file +

    Required Methods§

    source

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.

    +

    Implementors§

    \ No newline at end of file diff --git a/git/docs/glib/value/trait.ToValue.html b/git/docs/glib/value/trait.ToValue.html index 607638d2b0bf..2ce984362829 100644 --- a/git/docs/glib/value/trait.ToValue.html +++ b/git/docs/glib/value/trait.ToValue.html @@ -90,6 +90,6 @@

    Required Methods§

    source

    fn to_value(&self) -> Value

    Convert a value to a Value.

    source

    fn value_type(&self) -> Type

    Returns the type identifier of self.

    This is the type of the value to be returned by to_value.

    -

    Implementations on Foreign Types§

    source§

    impl ToValue for &str

    source§

    impl ToValue for &Path

    source§

    impl ToValue for bool

    source§

    impl ToValue for char

    source§

    impl ToValue for f32

    source§

    impl ToValue for f64

    source§

    impl ToValue for i8

    source§

    impl ToValue for i32

    source§

    impl ToValue for i64

    source§

    impl ToValue for str

    source§

    impl ToValue for u8

    source§

    impl ToValue for u32

    source§

    impl ToValue for u64

    source§

    impl ToValue for Box<str>

    source§

    impl ToValue for String

    source§

    impl ToValue for Vec<GString>

    source§

    impl ToValue for Vec<String>

    source§

    impl ToValue for NonNull<Pointee>

    source§

    impl ToValue for Path

    source§

    impl ToValue for PathBuf

    source§

    impl ToValue for NonZeroI8

    source§

    impl ToValue for NonZeroI32

    source§

    impl ToValue for NonZeroI64

    source§

    impl ToValue for NonZeroU8

    source§

    impl ToValue for NonZeroU32

    source§

    impl ToValue for NonZeroU64

    source§

    impl<'a> ToValue for &'a [&'a str]

    source§

    impl<'a> ToValue for [&'a str]

    source§

    impl<T: ToValue + StaticType> ToValue for &T

    Blanket implementation for all references.

    +

    Implementations on Foreign Types§

    source§

    impl ToValue for &str

    source§

    impl ToValue for &Path

    source§

    impl ToValue for bool

    source§

    impl ToValue for char

    source§

    impl ToValue for f32

    source§

    impl ToValue for f64

    source§

    impl ToValue for i8

    source§

    impl ToValue for i32

    source§

    impl ToValue for i64

    source§

    impl ToValue for str

    source§

    impl ToValue for u8

    source§

    impl ToValue for u32

    source§

    impl ToValue for u64

    source§

    impl ToValue for Box<str>

    source§

    impl ToValue for String

    source§

    impl ToValue for Vec<GString>

    source§

    impl ToValue for Vec<String>

    source§

    impl ToValue for NonNull<Pointee>

    source§

    impl ToValue for Path

    source§

    impl ToValue for PathBuf

    source§

    impl ToValue for NonZeroI8

    source§

    impl ToValue for NonZeroI32

    source§

    impl ToValue for NonZeroI64

    source§

    impl ToValue for NonZeroU8

    source§

    impl ToValue for NonZeroU32

    source§

    impl ToValue for NonZeroU64

    source§

    impl<'a> ToValue for &'a [&'a str]

    source§

    impl<'a> ToValue for [&'a str]

    source§

    impl<T: ToValue + StaticType> ToValue for &T

    Blanket implementation for all references.

    source§

    impl<T: ToValueOptional + StaticType> ToValue for Option<T>

    Blanket implementation for all optional types.

    -

    Implementors§

    \ No newline at end of file +

    Implementors§

    \ No newline at end of file diff --git a/git/docs/glib/value/trait.ToValueOptional.html b/git/docs/glib/value/trait.ToValueOptional.html index c993a112f0bf..248f408ee98c 100644 --- a/git/docs/glib/value/trait.ToValueOptional.html +++ b/git/docs/glib/value/trait.ToValueOptional.html @@ -76,4 +76,4 @@ fn to_value_optional(s: Option<&Self>) -> Value; }
    Expand description

    Trait to convert an Option to a Value for optional types.

    Required Methods§

    source

    fn to_value_optional(s: Option<&Self>) -> Value

    Convert an Option to a Value.

    -

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl ToValueOptional for str

    source§

    impl ToValueOptional for Box<str>

    source§

    impl ToValueOptional for String

    source§

    impl ToValueOptional for NonNull<Pointee>

    source§

    impl ToValueOptional for Path

    source§

    impl ToValueOptional for PathBuf

    source§

    impl ToValueOptional for NonZeroI8

    source§

    impl ToValueOptional for NonZeroI32

    source§

    impl ToValueOptional for NonZeroI64

    source§

    impl ToValueOptional for NonZeroU8

    source§

    impl ToValueOptional for NonZeroU32

    source§

    impl ToValueOptional for NonZeroU64

    source§

    impl<T: ToValueOptional + StaticType + ?Sized> ToValueOptional for &T

    Implementors§

    \ No newline at end of file +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl ToValueOptional for str

    source§

    impl ToValueOptional for Box<str>

    source§

    impl ToValueOptional for String

    source§

    impl ToValueOptional for NonNull<Pointee>

    source§

    impl ToValueOptional for Path

    source§

    impl ToValueOptional for PathBuf

    source§

    impl ToValueOptional for NonZeroI8

    source§

    impl ToValueOptional for NonZeroI32

    source§

    impl ToValueOptional for NonZeroI64

    source§

    impl ToValueOptional for NonZeroU8

    source§

    impl ToValueOptional for NonZeroU32

    source§

    impl ToValueOptional for NonZeroU64

    source§

    impl<T: ToValueOptional + StaticType + ?Sized> ToValueOptional for &T

    Implementors§

    \ No newline at end of file diff --git a/git/docs/glib/value/trait.ValueType.html b/git/docs/glib/value/trait.ValueType.html index 92e2e10c8cdc..6e2a315868c4 100644 --- a/git/docs/glib/value/trait.ValueType.html +++ b/git/docs/glib/value/trait.ValueType.html @@ -79,7 +79,7 @@ }
    Expand description

    A type that can be stored in Values.

    Required Associated Types§

    source

    type Type: StaticType

    Type to get the Type from.

    This exists only for handling optional types.

    -

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl ValueType for bool

    source§

    impl ValueType for char

    source§

    impl ValueType for f32

    source§

    impl ValueType for f64

    source§

    impl ValueType for i8

    source§

    impl ValueType for i32

    source§

    impl ValueType for i64

    source§

    impl ValueType for u8

    source§

    impl ValueType for u32

    source§

    impl ValueType for u64

    source§

    impl ValueType for Box<str>

    source§

    impl ValueType for String

    source§

    impl ValueType for Vec<GString>

    source§

    impl ValueType for Vec<String>

    source§

    impl ValueType for NonNull<Pointee>

    source§

    impl ValueType for PathBuf

    source§

    impl ValueType for NonZeroI8

    source§

    impl ValueType for NonZeroI32

    source§

    impl ValueType for NonZeroI64

    source§

    impl ValueType for NonZeroU8

    source§

    impl ValueType for NonZeroU32

    source§

    impl ValueType for NonZeroU64

    source§

    impl<T, C, E> ValueType for Option<T>
    where +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl ValueType for bool

    source§

    impl ValueType for char

    source§

    impl ValueType for f32

    source§

    impl ValueType for f64

    source§

    impl ValueType for i8

    source§

    impl ValueType for i32

    source§

    impl ValueType for i64

    source§

    impl ValueType for u8

    source§

    impl ValueType for u32

    source§

    impl ValueType for u64

    source§

    impl ValueType for Box<str>

    source§

    impl ValueType for String

    source§

    impl ValueType for Vec<GString>

    source§

    impl ValueType for Vec<String>

    source§

    impl ValueType for NonNull<Pointee>

    source§

    impl ValueType for PathBuf

    source§

    impl ValueType for NonZeroI8

    source§

    impl ValueType for NonZeroI32

    source§

    impl ValueType for NonZeroI64

    source§

    impl ValueType for NonZeroU8

    source§

    impl ValueType for NonZeroU32

    source§

    impl ValueType for NonZeroU64

    source§

    impl<T, C, E> ValueType for Option<T>
    where T: for<'a> FromValue<'a, Checker = C> + ValueTypeOptional + StaticType + 'static, C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError<E>>, - E: Error + Send + Sized + 'static,

    source§

    type Type = <T as ValueType>::Type

    Implementors§

    \ No newline at end of file + E: Error + Send + Sized + 'static,
    source§

    type Type = <T as ValueType>::Type

    Implementors§

    \ No newline at end of file diff --git a/git/docs/glib/value/trait.ValueTypeChecker.html b/git/docs/glib/value/trait.ValueTypeChecker.html index b3655eb25744..2ceee9252a36 100644 --- a/git/docs/glib/value/trait.ValueTypeChecker.html +++ b/git/docs/glib/value/trait.ValueTypeChecker.html @@ -77,7 +77,7 @@ // Required method fn check(value: &Value) -> Result<(), Self::Error>; }
    Expand description

    Trait for Value type checkers.

    -

    Required Associated Types§

    source

    type Error: Error + Send + Sized + 'static

    Required Methods§

    source

    fn check(value: &Value) -> Result<(), Self::Error>

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    source§

    impl ValueTypeChecker for EnumTypeChecker

    source§

    impl ValueTypeChecker for FlagsTypeChecker

    source§

    impl ValueTypeChecker for CharTypeChecker

    source§

    impl ValueTypeChecker for NopChecker

    source§

    impl<'a, T, C, E> ValueTypeChecker for ValueTypeOrNoneChecker<T, C, E>
    where +

    Required Associated Types§

    source

    type Error: Error + Send + Sized + 'static

    Required Methods§

    source

    fn check(value: &Value) -> Result<(), Self::Error>

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementors§

    \ No newline at end of file + E: Error + Send + Sized + 'static,
    source§

    type Error = E

    source§

    impl<T: StaticType> ValueTypeChecker for ObjectValueTypeChecker<T>

    source§

    impl<T: StaticType> ValueTypeChecker for GenericValueTypeChecker<T>

    source§

    impl<T: StaticType> ValueTypeChecker for GenericValueTypeOrNoneChecker<T>

    \ No newline at end of file diff --git a/git/docs/glib/value/trait.ValueTypeOptional.html b/git/docs/glib/value/trait.ValueTypeOptional.html index e494a35e415e..362fbc95b545 100644 --- a/git/docs/glib/value/trait.ValueTypeOptional.html +++ b/git/docs/glib/value/trait.ValueTypeOptional.html @@ -77,4 +77,4 @@ + FromValueOptional<'static> + StaticType { }
    Expand description

    A type that can be stored in Values and is optional.

    These are types were storing an Option is valid. Examples are String and all object types.

    -

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl ValueTypeOptional for Box<str>

    source§

    impl ValueTypeOptional for String

    source§

    impl ValueTypeOptional for PathBuf

    Implementors§

    \ No newline at end of file +

    Dyn Compatibility§

    This trait is not dyn compatible.

    In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl ValueTypeOptional for Box<str>

    source§

    impl ValueTypeOptional for String

    source§

    impl ValueTypeOptional for PathBuf

    Implementors§

    \ No newline at end of file diff --git a/git/docs/glib/variant/struct.Variant.html b/git/docs/glib/variant/struct.Variant.html index b2ac43c60f59..45ee8f0f8cd3 100644 --- a/git/docs/glib/variant/struct.Variant.html +++ b/git/docs/glib/variant/struct.Variant.html @@ -824,7 +824,7 @@
    §Returns

    Note: While this method consumes the VariantDict, the underlying object could still be accessed through other clones because of the reference counted clone semantics.

    -
    source§

    impl<T: StaticVariantType + Into<Variant>> From<Vec<T>> for Variant

    source§

    fn from(v: Vec<T>) -> Self

    Converts to this type from the input type.
    source§

    impl From<bool> for Variant

    source§

    fn from(v: bool) -> Self

    Converts to this type from the input type.
    source§

    impl From<f64> for Variant

    source§

    fn from(v: f64) -> Self

    Converts to this type from the input type.
    source§

    impl From<i16> for Variant

    source§

    fn from(v: i16) -> Self

    Converts to this type from the input type.
    source§

    impl From<i32> for Variant

    source§

    fn from(v: i32) -> Self

    Converts to this type from the input type.
    source§

    impl From<i64> for Variant

    source§

    fn from(v: i64) -> Self

    Converts to this type from the input type.
    source§

    impl From<u16> for Variant

    source§

    fn from(v: u16) -> Self

    Converts to this type from the input type.
    source§

    impl From<u32> for Variant

    source§

    fn from(v: u32) -> Self

    Converts to this type from the input type.
    source§

    impl From<u64> for Variant

    source§

    fn from(v: u64) -> Self

    Converts to this type from the input type.
    source§

    impl From<u8> for Variant

    source§

    fn from(v: u8) -> Self

    Converts to this type from the input type.
    source§

    impl<T: Into<Variant> + StaticVariantType> FromIterator<T> for Variant

    source§

    fn from_iter<I: IntoIterator<Item = T>>(iter: I) -> Self

    Creates a value from an iterator. Read more
    source§

    impl FromStr for Variant

    source§

    type Err = Error

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl FromVariant for Variant

    source§

    fn from_variant(variant: &Variant) -> Option<Self>

    Tries to extract a value. Read more
    source§

    impl HasParamSpec for Variant

    source§

    type ParamSpec = ParamSpecVariant

    source§

    type SetValue = Variant

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = for<'a> fn(_: &'a str, _: &'a VariantTy) -> ParamSpecVariantBuilder<'a>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for Variant

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    source§

    impl<T: StaticVariantType + Into<Variant>> From<Vec<T>> for Variant

    source§

    fn from(v: Vec<T>) -> Self

    Converts to this type from the input type.
    source§

    impl From<bool> for Variant

    source§

    fn from(v: bool) -> Self

    Converts to this type from the input type.
    source§

    impl From<f64> for Variant

    source§

    fn from(v: f64) -> Self

    Converts to this type from the input type.
    source§

    impl From<i16> for Variant

    source§

    fn from(v: i16) -> Self

    Converts to this type from the input type.
    source§

    impl From<i32> for Variant

    source§

    fn from(v: i32) -> Self

    Converts to this type from the input type.
    source§

    impl From<i64> for Variant

    source§

    fn from(v: i64) -> Self

    Converts to this type from the input type.
    source§

    impl From<u16> for Variant

    source§

    fn from(v: u16) -> Self

    Converts to this type from the input type.
    source§

    impl From<u32> for Variant

    source§

    fn from(v: u32) -> Self

    Converts to this type from the input type.
    source§

    impl From<u64> for Variant

    source§

    fn from(v: u64) -> Self

    Converts to this type from the input type.
    source§

    impl From<u8> for Variant

    source§

    fn from(v: u8) -> Self

    Converts to this type from the input type.
    source§

    impl<T: Into<Variant> + StaticVariantType> FromIterator<T> for Variant

    source§

    fn from_iter<I: IntoIterator<Item = T>>(iter: I) -> Self

    Creates a value from an iterator. Read more
    source§

    impl FromStr for Variant

    source§

    type Err = Error

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl FromVariant for Variant

    source§

    fn from_variant(variant: &Variant) -> Option<Self>

    Tries to extract a value. Read more
    source§

    impl HasParamSpec for Variant

    source§

    type ParamSpec = ParamSpecVariant

    source§

    type SetValue = Variant

    Preferred value to be used as setter for the associated ParamSpec.
    source§

    type BuilderFn = for<'a> fn(_: &'a str, _: &'a VariantTy) -> ParamSpecVariantBuilder<'a>

    source§

    fn param_spec_builder() -> Self::BuilderFn

    source§

    impl Hash for Variant

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for Variant

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Variant

    source§

    fn partial_cmp(&self, other: &Self) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the @@ -863,8 +863,8 @@
    §Returns
    T: HasParamSpec,
    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> ToString 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T> TransparentType for T

    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> TryFromClosureReturnValue for T
    where diff --git a/git/docs/graphene/struct.Box.html b/git/docs/graphene/struct.Box.html index 5c8f7a80c296..c346f1494d95 100644 --- a/git/docs/graphene/struct.Box.html +++ b/git/docs/graphene/struct.Box.html @@ -247,8 +247,8 @@
    §Returns
    T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T, U> TryFrom<U> 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    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.
    source§

    impl<'a, T, C, E> FromValueOptional<'a> for T
    where diff --git a/git/docs/graphene/struct.Euler.html b/git/docs/graphene/struct.Euler.html index 115c77b646d9..36f0176e8cf5 100644 --- a/git/docs/graphene/struct.Euler.html +++ b/git/docs/graphene/struct.Euler.html @@ -241,8 +241,8 @@
    §Returns
    T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T, U> TryFrom<U> 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    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.
    source§

    impl<'a, T, C, E> FromValueOptional<'a> for T
    where diff --git a/git/docs/graphene/struct.Frustum.html b/git/docs/graphene/struct.Frustum.html index 80adf0303f17..21beb2c01040 100644 --- a/git/docs/graphene/struct.Frustum.html +++ b/git/docs/graphene/struct.Frustum.html @@ -166,8 +166,8 @@
    §Returns
    T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T, U> TryFrom<U> 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    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.
    source§

    impl<'a, T, C, E> FromValueOptional<'a> for T
    where diff --git a/git/docs/graphene/struct.Matrix.html b/git/docs/graphene/struct.Matrix.html index 47eca6afff92..e1f60d856b8d 100644 --- a/git/docs/graphene/struct.Matrix.html +++ b/git/docs/graphene/struct.Matrix.html @@ -623,8 +623,8 @@
    §Returns
    < T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T, U> TryFrom<U> 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    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.
    source§

    impl<'a, T, C, E> FromValueOptional<'a> for T
    where diff --git a/git/docs/graphene/struct.Plane.html b/git/docs/graphene/struct.Plane.html index 60b90189d1b0..9183d70c5b41 100644 --- a/git/docs/graphene/struct.Plane.html +++ b/git/docs/graphene/struct.Plane.html @@ -190,8 +190,8 @@
    §Returns
    T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T, U> TryFrom<U> 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    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.
    source§

    impl<'a, T, C, E> FromValueOptional<'a> for T
    where diff --git a/git/docs/graphene/struct.Point.html b/git/docs/graphene/struct.Point.html index 8af468426dfa..31f25846207f 100644 --- a/git/docs/graphene/struct.Point.html +++ b/git/docs/graphene/struct.Point.html @@ -158,8 +158,8 @@
    §Returns
    T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T, U> TryFrom<U> 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    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.
    source§

    impl<'a, T, C, E> FromValueOptional<'a> for T
    where diff --git a/git/docs/graphene/struct.Point3D.html b/git/docs/graphene/struct.Point3D.html index c1874999e7ee..e3344fbf2bfc 100644 --- a/git/docs/graphene/struct.Point3D.html +++ b/git/docs/graphene/struct.Point3D.html @@ -207,8 +207,8 @@
    §Returns
    T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T, U> TryFrom<U> 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    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.
    source§

    impl<'a, T, C, E> FromValueOptional<'a> for T
    where diff --git a/git/docs/graphene/struct.Quad.html b/git/docs/graphene/struct.Quad.html index 23fcb2f4a6bb..f08d1b2fb8d5 100644 --- a/git/docs/graphene/struct.Quad.html +++ b/git/docs/graphene/struct.Quad.html @@ -148,8 +148,8 @@
    §Returns
    T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T, U> TryFrom<U> 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    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.
    source§

    impl<'a, T, C, E> FromValueOptional<'a> for T
    where diff --git a/git/docs/graphene/struct.Quaternion.html b/git/docs/graphene/struct.Quaternion.html index 7fa25e3d5899..e4584dfeb746 100644 --- a/git/docs/graphene/struct.Quaternion.html +++ b/git/docs/graphene/struct.Quaternion.html @@ -257,8 +257,8 @@
    §Returns
    T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T, U> TryFrom<U> 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    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.
    source§

    impl<'a, T, C, E> FromValueOptional<'a> for T
    where diff --git a/git/docs/graphene/struct.Ray.html b/git/docs/graphene/struct.Ray.html index 88cc7226ff74..544cf6eb3c6e 100644 --- a/git/docs/graphene/struct.Ray.html +++ b/git/docs/graphene/struct.Ray.html @@ -208,8 +208,8 @@
    §Returns
    T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T, U> TryFrom<U> 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    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.
    source§

    impl<'a, T, C, E> FromValueOptional<'a> for T
    where diff --git a/git/docs/graphene/struct.Rect.html b/git/docs/graphene/struct.Rect.html index 9554c5ac43c4..67f62eb75abe 100644 --- a/git/docs/graphene/struct.Rect.html +++ b/git/docs/graphene/struct.Rect.html @@ -313,8 +313,8 @@
    §Returns
    T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T, U> TryFrom<U> 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    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.
    source§

    impl<'a, T, C, E> FromValueOptional<'a> for T
    where diff --git a/git/docs/graphene/struct.Size.html b/git/docs/graphene/struct.Size.html index 43c7aa93e96a..ea2574b51c00 100644 --- a/git/docs/graphene/struct.Size.html +++ b/git/docs/graphene/struct.Size.html @@ -136,8 +136,8 @@
    §Returns
    T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T, U> TryFrom<U> 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    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.
    source§

    impl<'a, T, C, E> FromValueOptional<'a> for T
    where diff --git a/git/docs/graphene/struct.Sphere.html b/git/docs/graphene/struct.Sphere.html index 2768c95ee3a5..202d400ad38c 100644 --- a/git/docs/graphene/struct.Sphere.html +++ b/git/docs/graphene/struct.Sphere.html @@ -172,8 +172,8 @@
    §Returns
    T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T, U> TryFrom<U> 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    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.
    source§

    impl<'a, T, C, E> FromValueOptional<'a> for T
    where diff --git a/git/docs/graphene/struct.Triangle.html b/git/docs/graphene/struct.Triangle.html index 8223e5018231..36e629a2b465 100644 --- a/git/docs/graphene/struct.Triangle.html +++ b/git/docs/graphene/struct.Triangle.html @@ -237,8 +237,8 @@
    §Returns
    T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T, U> TryFrom<U> 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    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.
    source§

    impl<'a, T, C, E> FromValueOptional<'a> for T
    where diff --git a/git/docs/graphene/struct.Vec2.html b/git/docs/graphene/struct.Vec2.html index 6d0defba31da..6837ac9838b3 100644 --- a/git/docs/graphene/struct.Vec2.html +++ b/git/docs/graphene/struct.Vec2.html @@ -223,8 +223,8 @@
    §Returns
    < T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T, U> TryFrom<U> 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    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.
    source§

    impl<'a, T, C, E> FromValueOptional<'a> for T
    where diff --git a/git/docs/graphene/struct.Vec3.html b/git/docs/graphene/struct.Vec3.html index 0353c7b4ca42..8c3441481351 100644 --- a/git/docs/graphene/struct.Vec3.html +++ b/git/docs/graphene/struct.Vec3.html @@ -260,8 +260,8 @@
    §Returns
    < T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T, U> TryFrom<U> 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    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.
    source§

    impl<'a, T, C, E> FromValueOptional<'a> for T
    where diff --git a/git/docs/graphene/struct.Vec4.html b/git/docs/graphene/struct.Vec4.html index 491c96c44f4e..f134db1c3128 100644 --- a/git/docs/graphene/struct.Vec4.html +++ b/git/docs/graphene/struct.Vec4.html @@ -270,8 +270,8 @@
    §Returns
    < T: HasParamSpec,

    source§

    type Value = T

    source§

    fn get<R, F>(&self, f: F) -> R
    where F: Fn(&<T as PropertyGet>::Value) -> R,

    source§

    impl<T> StaticTypeExt for T
    where T: StaticType,

    source§

    fn ensure_type()

    Ensures that the type has been registered with the type system.
    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> ToSendValue for T
    where - T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    source§

    impl<T, U> TryFrom<U> 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> ToSendValue for T
    where + T: Send + ToValue + ?Sized,

    source§

    fn to_send_value(&self) -> SendValue

    Returns a SendValue clone of self.
    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> TryFromClosureReturnValue for T
    where T: for<'a> FromValue<'a> + StaticType + 'static,

    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.
    source§

    impl<'a, T, C, E> FromValueOptional<'a> for T
    where diff --git a/git/docs/index.html b/git/docs/index.html index 994d58952838..e1aea0db4a84 100644 --- a/git/docs/index.html +++ b/git/docs/index.html @@ -1,4 +1,4 @@ -Index of crates +Index of crates