1 // This file was generated by gir (https://github.com/gtk-rs/gir) 2 // from gir-files (https://github.com/gtk-rs/gir-files) 3 // DO NOT EDIT 4 5 #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] 6 #![allow( 7 clippy::approx_constant, 8 clippy::type_complexity, 9 clippy::unreadable_literal, 10 clippy::upper_case_acronyms 11 )] 12 #![cfg_attr(feature = "dox", feature(doc_cfg))] 13 14 use glib_sys as glib; 15 use gobject_sys as gobject; 16 17 mod manual; 18 19 pub use manual::*; 20 21 #[allow(unused_imports)] 22 use libc::{ 23 c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, 24 intptr_t, size_t, ssize_t, time_t, uintptr_t, FILE, 25 }; 26 27 #[allow(unused_imports)] 28 use glib::{gboolean, gconstpointer, gpointer, GType}; 29 30 // Enums 31 pub type GBusType = c_int; 32 pub const G_BUS_TYPE_STARTER: GBusType = -1; 33 pub const G_BUS_TYPE_NONE: GBusType = 0; 34 pub const G_BUS_TYPE_SYSTEM: GBusType = 1; 35 pub const G_BUS_TYPE_SESSION: GBusType = 2; 36 37 pub type GConverterResult = c_int; 38 pub const G_CONVERTER_ERROR: GConverterResult = 0; 39 pub const G_CONVERTER_CONVERTED: GConverterResult = 1; 40 pub const G_CONVERTER_FINISHED: GConverterResult = 2; 41 pub const G_CONVERTER_FLUSHED: GConverterResult = 3; 42 43 pub type GCredentialsType = c_int; 44 pub const G_CREDENTIALS_TYPE_INVALID: GCredentialsType = 0; 45 pub const G_CREDENTIALS_TYPE_LINUX_UCRED: GCredentialsType = 1; 46 pub const G_CREDENTIALS_TYPE_FREEBSD_CMSGCRED: GCredentialsType = 2; 47 pub const G_CREDENTIALS_TYPE_OPENBSD_SOCKPEERCRED: GCredentialsType = 3; 48 pub const G_CREDENTIALS_TYPE_SOLARIS_UCRED: GCredentialsType = 4; 49 pub const G_CREDENTIALS_TYPE_NETBSD_UNPCBID: GCredentialsType = 5; 50 pub const G_CREDENTIALS_TYPE_APPLE_XUCRED: GCredentialsType = 6; 51 52 pub type GDBusError = c_int; 53 pub const G_DBUS_ERROR_FAILED: GDBusError = 0; 54 pub const G_DBUS_ERROR_NO_MEMORY: GDBusError = 1; 55 pub const G_DBUS_ERROR_SERVICE_UNKNOWN: GDBusError = 2; 56 pub const G_DBUS_ERROR_NAME_HAS_NO_OWNER: GDBusError = 3; 57 pub const G_DBUS_ERROR_NO_REPLY: GDBusError = 4; 58 pub const G_DBUS_ERROR_IO_ERROR: GDBusError = 5; 59 pub const G_DBUS_ERROR_BAD_ADDRESS: GDBusError = 6; 60 pub const G_DBUS_ERROR_NOT_SUPPORTED: GDBusError = 7; 61 pub const G_DBUS_ERROR_LIMITS_EXCEEDED: GDBusError = 8; 62 pub const G_DBUS_ERROR_ACCESS_DENIED: GDBusError = 9; 63 pub const G_DBUS_ERROR_AUTH_FAILED: GDBusError = 10; 64 pub const G_DBUS_ERROR_NO_SERVER: GDBusError = 11; 65 pub const G_DBUS_ERROR_TIMEOUT: GDBusError = 12; 66 pub const G_DBUS_ERROR_NO_NETWORK: GDBusError = 13; 67 pub const G_DBUS_ERROR_ADDRESS_IN_USE: GDBusError = 14; 68 pub const G_DBUS_ERROR_DISCONNECTED: GDBusError = 15; 69 pub const G_DBUS_ERROR_INVALID_ARGS: GDBusError = 16; 70 pub const G_DBUS_ERROR_FILE_NOT_FOUND: GDBusError = 17; 71 pub const G_DBUS_ERROR_FILE_EXISTS: GDBusError = 18; 72 pub const G_DBUS_ERROR_UNKNOWN_METHOD: GDBusError = 19; 73 pub const G_DBUS_ERROR_TIMED_OUT: GDBusError = 20; 74 pub const G_DBUS_ERROR_MATCH_RULE_NOT_FOUND: GDBusError = 21; 75 pub const G_DBUS_ERROR_MATCH_RULE_INVALID: GDBusError = 22; 76 pub const G_DBUS_ERROR_SPAWN_EXEC_FAILED: GDBusError = 23; 77 pub const G_DBUS_ERROR_SPAWN_FORK_FAILED: GDBusError = 24; 78 pub const G_DBUS_ERROR_SPAWN_CHILD_EXITED: GDBusError = 25; 79 pub const G_DBUS_ERROR_SPAWN_CHILD_SIGNALED: GDBusError = 26; 80 pub const G_DBUS_ERROR_SPAWN_FAILED: GDBusError = 27; 81 pub const G_DBUS_ERROR_SPAWN_SETUP_FAILED: GDBusError = 28; 82 pub const G_DBUS_ERROR_SPAWN_CONFIG_INVALID: GDBusError = 29; 83 pub const G_DBUS_ERROR_SPAWN_SERVICE_INVALID: GDBusError = 30; 84 pub const G_DBUS_ERROR_SPAWN_SERVICE_NOT_FOUND: GDBusError = 31; 85 pub const G_DBUS_ERROR_SPAWN_PERMISSIONS_INVALID: GDBusError = 32; 86 pub const G_DBUS_ERROR_SPAWN_FILE_INVALID: GDBusError = 33; 87 pub const G_DBUS_ERROR_SPAWN_NO_MEMORY: GDBusError = 34; 88 pub const G_DBUS_ERROR_UNIX_PROCESS_ID_UNKNOWN: GDBusError = 35; 89 pub const G_DBUS_ERROR_INVALID_SIGNATURE: GDBusError = 36; 90 pub const G_DBUS_ERROR_INVALID_FILE_CONTENT: GDBusError = 37; 91 pub const G_DBUS_ERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN: GDBusError = 38; 92 pub const G_DBUS_ERROR_ADT_AUDIT_DATA_UNKNOWN: GDBusError = 39; 93 pub const G_DBUS_ERROR_OBJECT_PATH_IN_USE: GDBusError = 40; 94 pub const G_DBUS_ERROR_UNKNOWN_OBJECT: GDBusError = 41; 95 pub const G_DBUS_ERROR_UNKNOWN_INTERFACE: GDBusError = 42; 96 pub const G_DBUS_ERROR_UNKNOWN_PROPERTY: GDBusError = 43; 97 pub const G_DBUS_ERROR_PROPERTY_READ_ONLY: GDBusError = 44; 98 99 pub type GDBusMessageByteOrder = c_int; 100 pub const G_DBUS_MESSAGE_BYTE_ORDER_BIG_ENDIAN: GDBusMessageByteOrder = 66; 101 pub const G_DBUS_MESSAGE_BYTE_ORDER_LITTLE_ENDIAN: GDBusMessageByteOrder = 108; 102 103 pub type GDBusMessageHeaderField = c_int; 104 pub const G_DBUS_MESSAGE_HEADER_FIELD_INVALID: GDBusMessageHeaderField = 0; 105 pub const G_DBUS_MESSAGE_HEADER_FIELD_PATH: GDBusMessageHeaderField = 1; 106 pub const G_DBUS_MESSAGE_HEADER_FIELD_INTERFACE: GDBusMessageHeaderField = 2; 107 pub const G_DBUS_MESSAGE_HEADER_FIELD_MEMBER: GDBusMessageHeaderField = 3; 108 pub const G_DBUS_MESSAGE_HEADER_FIELD_ERROR_NAME: GDBusMessageHeaderField = 4; 109 pub const G_DBUS_MESSAGE_HEADER_FIELD_REPLY_SERIAL: GDBusMessageHeaderField = 5; 110 pub const G_DBUS_MESSAGE_HEADER_FIELD_DESTINATION: GDBusMessageHeaderField = 6; 111 pub const G_DBUS_MESSAGE_HEADER_FIELD_SENDER: GDBusMessageHeaderField = 7; 112 pub const G_DBUS_MESSAGE_HEADER_FIELD_SIGNATURE: GDBusMessageHeaderField = 8; 113 pub const G_DBUS_MESSAGE_HEADER_FIELD_NUM_UNIX_FDS: GDBusMessageHeaderField = 9; 114 115 pub type GDBusMessageType = c_int; 116 pub const G_DBUS_MESSAGE_TYPE_INVALID: GDBusMessageType = 0; 117 pub const G_DBUS_MESSAGE_TYPE_METHOD_CALL: GDBusMessageType = 1; 118 pub const G_DBUS_MESSAGE_TYPE_METHOD_RETURN: GDBusMessageType = 2; 119 pub const G_DBUS_MESSAGE_TYPE_ERROR: GDBusMessageType = 3; 120 pub const G_DBUS_MESSAGE_TYPE_SIGNAL: GDBusMessageType = 4; 121 122 pub type GDataStreamByteOrder = c_int; 123 pub const G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN: GDataStreamByteOrder = 0; 124 pub const G_DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN: GDataStreamByteOrder = 1; 125 pub const G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN: GDataStreamByteOrder = 2; 126 127 pub type GDataStreamNewlineType = c_int; 128 pub const G_DATA_STREAM_NEWLINE_TYPE_LF: GDataStreamNewlineType = 0; 129 pub const G_DATA_STREAM_NEWLINE_TYPE_CR: GDataStreamNewlineType = 1; 130 pub const G_DATA_STREAM_NEWLINE_TYPE_CR_LF: GDataStreamNewlineType = 2; 131 pub const G_DATA_STREAM_NEWLINE_TYPE_ANY: GDataStreamNewlineType = 3; 132 133 pub type GDriveStartStopType = c_int; 134 pub const G_DRIVE_START_STOP_TYPE_UNKNOWN: GDriveStartStopType = 0; 135 pub const G_DRIVE_START_STOP_TYPE_SHUTDOWN: GDriveStartStopType = 1; 136 pub const G_DRIVE_START_STOP_TYPE_NETWORK: GDriveStartStopType = 2; 137 pub const G_DRIVE_START_STOP_TYPE_MULTIDISK: GDriveStartStopType = 3; 138 pub const G_DRIVE_START_STOP_TYPE_PASSWORD: GDriveStartStopType = 4; 139 140 pub type GEmblemOrigin = c_int; 141 pub const G_EMBLEM_ORIGIN_UNKNOWN: GEmblemOrigin = 0; 142 pub const G_EMBLEM_ORIGIN_DEVICE: GEmblemOrigin = 1; 143 pub const G_EMBLEM_ORIGIN_LIVEMETADATA: GEmblemOrigin = 2; 144 pub const G_EMBLEM_ORIGIN_TAG: GEmblemOrigin = 3; 145 146 pub type GFileAttributeStatus = c_int; 147 pub const G_FILE_ATTRIBUTE_STATUS_UNSET: GFileAttributeStatus = 0; 148 pub const G_FILE_ATTRIBUTE_STATUS_SET: GFileAttributeStatus = 1; 149 pub const G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING: GFileAttributeStatus = 2; 150 151 pub type GFileAttributeType = c_int; 152 pub const G_FILE_ATTRIBUTE_TYPE_INVALID: GFileAttributeType = 0; 153 pub const G_FILE_ATTRIBUTE_TYPE_STRING: GFileAttributeType = 1; 154 pub const G_FILE_ATTRIBUTE_TYPE_BYTE_STRING: GFileAttributeType = 2; 155 pub const G_FILE_ATTRIBUTE_TYPE_BOOLEAN: GFileAttributeType = 3; 156 pub const G_FILE_ATTRIBUTE_TYPE_UINT32: GFileAttributeType = 4; 157 pub const G_FILE_ATTRIBUTE_TYPE_INT32: GFileAttributeType = 5; 158 pub const G_FILE_ATTRIBUTE_TYPE_UINT64: GFileAttributeType = 6; 159 pub const G_FILE_ATTRIBUTE_TYPE_INT64: GFileAttributeType = 7; 160 pub const G_FILE_ATTRIBUTE_TYPE_OBJECT: GFileAttributeType = 8; 161 pub const G_FILE_ATTRIBUTE_TYPE_STRINGV: GFileAttributeType = 9; 162 163 pub type GFileMonitorEvent = c_int; 164 pub const G_FILE_MONITOR_EVENT_CHANGED: GFileMonitorEvent = 0; 165 pub const G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT: GFileMonitorEvent = 1; 166 pub const G_FILE_MONITOR_EVENT_DELETED: GFileMonitorEvent = 2; 167 pub const G_FILE_MONITOR_EVENT_CREATED: GFileMonitorEvent = 3; 168 pub const G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED: GFileMonitorEvent = 4; 169 pub const G_FILE_MONITOR_EVENT_PRE_UNMOUNT: GFileMonitorEvent = 5; 170 pub const G_FILE_MONITOR_EVENT_UNMOUNTED: GFileMonitorEvent = 6; 171 pub const G_FILE_MONITOR_EVENT_MOVED: GFileMonitorEvent = 7; 172 pub const G_FILE_MONITOR_EVENT_RENAMED: GFileMonitorEvent = 8; 173 pub const G_FILE_MONITOR_EVENT_MOVED_IN: GFileMonitorEvent = 9; 174 pub const G_FILE_MONITOR_EVENT_MOVED_OUT: GFileMonitorEvent = 10; 175 176 pub type GFileType = c_int; 177 pub const G_FILE_TYPE_UNKNOWN: GFileType = 0; 178 pub const G_FILE_TYPE_REGULAR: GFileType = 1; 179 pub const G_FILE_TYPE_DIRECTORY: GFileType = 2; 180 pub const G_FILE_TYPE_SYMBOLIC_LINK: GFileType = 3; 181 pub const G_FILE_TYPE_SPECIAL: GFileType = 4; 182 pub const G_FILE_TYPE_SHORTCUT: GFileType = 5; 183 pub const G_FILE_TYPE_MOUNTABLE: GFileType = 6; 184 185 pub type GFilesystemPreviewType = c_int; 186 pub const G_FILESYSTEM_PREVIEW_TYPE_IF_ALWAYS: GFilesystemPreviewType = 0; 187 pub const G_FILESYSTEM_PREVIEW_TYPE_IF_LOCAL: GFilesystemPreviewType = 1; 188 pub const G_FILESYSTEM_PREVIEW_TYPE_NEVER: GFilesystemPreviewType = 2; 189 190 pub type GIOErrorEnum = c_int; 191 pub const G_IO_ERROR_FAILED: GIOErrorEnum = 0; 192 pub const G_IO_ERROR_NOT_FOUND: GIOErrorEnum = 1; 193 pub const G_IO_ERROR_EXISTS: GIOErrorEnum = 2; 194 pub const G_IO_ERROR_IS_DIRECTORY: GIOErrorEnum = 3; 195 pub const G_IO_ERROR_NOT_DIRECTORY: GIOErrorEnum = 4; 196 pub const G_IO_ERROR_NOT_EMPTY: GIOErrorEnum = 5; 197 pub const G_IO_ERROR_NOT_REGULAR_FILE: GIOErrorEnum = 6; 198 pub const G_IO_ERROR_NOT_SYMBOLIC_LINK: GIOErrorEnum = 7; 199 pub const G_IO_ERROR_NOT_MOUNTABLE_FILE: GIOErrorEnum = 8; 200 pub const G_IO_ERROR_FILENAME_TOO_LONG: GIOErrorEnum = 9; 201 pub const G_IO_ERROR_INVALID_FILENAME: GIOErrorEnum = 10; 202 pub const G_IO_ERROR_TOO_MANY_LINKS: GIOErrorEnum = 11; 203 pub const G_IO_ERROR_NO_SPACE: GIOErrorEnum = 12; 204 pub const G_IO_ERROR_INVALID_ARGUMENT: GIOErrorEnum = 13; 205 pub const G_IO_ERROR_PERMISSION_DENIED: GIOErrorEnum = 14; 206 pub const G_IO_ERROR_NOT_SUPPORTED: GIOErrorEnum = 15; 207 pub const G_IO_ERROR_NOT_MOUNTED: GIOErrorEnum = 16; 208 pub const G_IO_ERROR_ALREADY_MOUNTED: GIOErrorEnum = 17; 209 pub const G_IO_ERROR_CLOSED: GIOErrorEnum = 18; 210 pub const G_IO_ERROR_CANCELLED: GIOErrorEnum = 19; 211 pub const G_IO_ERROR_PENDING: GIOErrorEnum = 20; 212 pub const G_IO_ERROR_READ_ONLY: GIOErrorEnum = 21; 213 pub const G_IO_ERROR_CANT_CREATE_BACKUP: GIOErrorEnum = 22; 214 pub const G_IO_ERROR_WRONG_ETAG: GIOErrorEnum = 23; 215 pub const G_IO_ERROR_TIMED_OUT: GIOErrorEnum = 24; 216 pub const G_IO_ERROR_WOULD_RECURSE: GIOErrorEnum = 25; 217 pub const G_IO_ERROR_BUSY: GIOErrorEnum = 26; 218 pub const G_IO_ERROR_WOULD_BLOCK: GIOErrorEnum = 27; 219 pub const G_IO_ERROR_HOST_NOT_FOUND: GIOErrorEnum = 28; 220 pub const G_IO_ERROR_WOULD_MERGE: GIOErrorEnum = 29; 221 pub const G_IO_ERROR_FAILED_HANDLED: GIOErrorEnum = 30; 222 pub const G_IO_ERROR_TOO_MANY_OPEN_FILES: GIOErrorEnum = 31; 223 pub const G_IO_ERROR_NOT_INITIALIZED: GIOErrorEnum = 32; 224 pub const G_IO_ERROR_ADDRESS_IN_USE: GIOErrorEnum = 33; 225 pub const G_IO_ERROR_PARTIAL_INPUT: GIOErrorEnum = 34; 226 pub const G_IO_ERROR_INVALID_DATA: GIOErrorEnum = 35; 227 pub const G_IO_ERROR_DBUS_ERROR: GIOErrorEnum = 36; 228 pub const G_IO_ERROR_HOST_UNREACHABLE: GIOErrorEnum = 37; 229 pub const G_IO_ERROR_NETWORK_UNREACHABLE: GIOErrorEnum = 38; 230 pub const G_IO_ERROR_CONNECTION_REFUSED: GIOErrorEnum = 39; 231 pub const G_IO_ERROR_PROXY_FAILED: GIOErrorEnum = 40; 232 pub const G_IO_ERROR_PROXY_AUTH_FAILED: GIOErrorEnum = 41; 233 pub const G_IO_ERROR_PROXY_NEED_AUTH: GIOErrorEnum = 42; 234 pub const G_IO_ERROR_PROXY_NOT_ALLOWED: GIOErrorEnum = 43; 235 pub const G_IO_ERROR_BROKEN_PIPE: GIOErrorEnum = 44; 236 pub const G_IO_ERROR_CONNECTION_CLOSED: GIOErrorEnum = 44; 237 pub const G_IO_ERROR_NOT_CONNECTED: GIOErrorEnum = 45; 238 pub const G_IO_ERROR_MESSAGE_TOO_LARGE: GIOErrorEnum = 46; 239 240 pub type GIOModuleScopeFlags = c_int; 241 pub const G_IO_MODULE_SCOPE_NONE: GIOModuleScopeFlags = 0; 242 pub const G_IO_MODULE_SCOPE_BLOCK_DUPLICATES: GIOModuleScopeFlags = 1; 243 244 pub type GMemoryMonitorWarningLevel = c_int; 245 pub const G_MEMORY_MONITOR_WARNING_LEVEL_LOW: GMemoryMonitorWarningLevel = 50; 246 pub const G_MEMORY_MONITOR_WARNING_LEVEL_MEDIUM: GMemoryMonitorWarningLevel = 100; 247 pub const G_MEMORY_MONITOR_WARNING_LEVEL_CRITICAL: GMemoryMonitorWarningLevel = 255; 248 249 pub type GMountOperationResult = c_int; 250 pub const G_MOUNT_OPERATION_HANDLED: GMountOperationResult = 0; 251 pub const G_MOUNT_OPERATION_ABORTED: GMountOperationResult = 1; 252 pub const G_MOUNT_OPERATION_UNHANDLED: GMountOperationResult = 2; 253 254 pub type GNetworkConnectivity = c_int; 255 pub const G_NETWORK_CONNECTIVITY_LOCAL: GNetworkConnectivity = 1; 256 pub const G_NETWORK_CONNECTIVITY_LIMITED: GNetworkConnectivity = 2; 257 pub const G_NETWORK_CONNECTIVITY_PORTAL: GNetworkConnectivity = 3; 258 pub const G_NETWORK_CONNECTIVITY_FULL: GNetworkConnectivity = 4; 259 260 pub type GNotificationPriority = c_int; 261 pub const G_NOTIFICATION_PRIORITY_NORMAL: GNotificationPriority = 0; 262 pub const G_NOTIFICATION_PRIORITY_LOW: GNotificationPriority = 1; 263 pub const G_NOTIFICATION_PRIORITY_HIGH: GNotificationPriority = 2; 264 pub const G_NOTIFICATION_PRIORITY_URGENT: GNotificationPriority = 3; 265 266 pub type GPasswordSave = c_int; 267 pub const G_PASSWORD_SAVE_NEVER: GPasswordSave = 0; 268 pub const G_PASSWORD_SAVE_FOR_SESSION: GPasswordSave = 1; 269 pub const G_PASSWORD_SAVE_PERMANENTLY: GPasswordSave = 2; 270 271 pub type GPollableReturn = c_int; 272 pub const G_POLLABLE_RETURN_FAILED: GPollableReturn = 0; 273 pub const G_POLLABLE_RETURN_OK: GPollableReturn = 1; 274 pub const G_POLLABLE_RETURN_WOULD_BLOCK: GPollableReturn = -27; 275 276 pub type GResolverError = c_int; 277 pub const G_RESOLVER_ERROR_NOT_FOUND: GResolverError = 0; 278 pub const G_RESOLVER_ERROR_TEMPORARY_FAILURE: GResolverError = 1; 279 pub const G_RESOLVER_ERROR_INTERNAL: GResolverError = 2; 280 281 pub type GResolverRecordType = c_int; 282 pub const G_RESOLVER_RECORD_SRV: GResolverRecordType = 1; 283 pub const G_RESOLVER_RECORD_MX: GResolverRecordType = 2; 284 pub const G_RESOLVER_RECORD_TXT: GResolverRecordType = 3; 285 pub const G_RESOLVER_RECORD_SOA: GResolverRecordType = 4; 286 pub const G_RESOLVER_RECORD_NS: GResolverRecordType = 5; 287 288 pub type GResourceError = c_int; 289 pub const G_RESOURCE_ERROR_NOT_FOUND: GResourceError = 0; 290 pub const G_RESOURCE_ERROR_INTERNAL: GResourceError = 1; 291 292 pub type GSocketClientEvent = c_int; 293 pub const G_SOCKET_CLIENT_RESOLVING: GSocketClientEvent = 0; 294 pub const G_SOCKET_CLIENT_RESOLVED: GSocketClientEvent = 1; 295 pub const G_SOCKET_CLIENT_CONNECTING: GSocketClientEvent = 2; 296 pub const G_SOCKET_CLIENT_CONNECTED: GSocketClientEvent = 3; 297 pub const G_SOCKET_CLIENT_PROXY_NEGOTIATING: GSocketClientEvent = 4; 298 pub const G_SOCKET_CLIENT_PROXY_NEGOTIATED: GSocketClientEvent = 5; 299 pub const G_SOCKET_CLIENT_TLS_HANDSHAKING: GSocketClientEvent = 6; 300 pub const G_SOCKET_CLIENT_TLS_HANDSHAKED: GSocketClientEvent = 7; 301 pub const G_SOCKET_CLIENT_COMPLETE: GSocketClientEvent = 8; 302 303 pub type GSocketListenerEvent = c_int; 304 pub const G_SOCKET_LISTENER_BINDING: GSocketListenerEvent = 0; 305 pub const G_SOCKET_LISTENER_BOUND: GSocketListenerEvent = 1; 306 pub const G_SOCKET_LISTENER_LISTENING: GSocketListenerEvent = 2; 307 pub const G_SOCKET_LISTENER_LISTENED: GSocketListenerEvent = 3; 308 309 pub type GSocketProtocol = c_int; 310 pub const G_SOCKET_PROTOCOL_UNKNOWN: GSocketProtocol = -1; 311 pub const G_SOCKET_PROTOCOL_DEFAULT: GSocketProtocol = 0; 312 pub const G_SOCKET_PROTOCOL_TCP: GSocketProtocol = 6; 313 pub const G_SOCKET_PROTOCOL_UDP: GSocketProtocol = 17; 314 pub const G_SOCKET_PROTOCOL_SCTP: GSocketProtocol = 132; 315 316 pub type GSocketType = c_int; 317 pub const G_SOCKET_TYPE_INVALID: GSocketType = 0; 318 pub const G_SOCKET_TYPE_STREAM: GSocketType = 1; 319 pub const G_SOCKET_TYPE_DATAGRAM: GSocketType = 2; 320 pub const G_SOCKET_TYPE_SEQPACKET: GSocketType = 3; 321 322 pub type GTlsAuthenticationMode = c_int; 323 pub const G_TLS_AUTHENTICATION_NONE: GTlsAuthenticationMode = 0; 324 pub const G_TLS_AUTHENTICATION_REQUESTED: GTlsAuthenticationMode = 1; 325 pub const G_TLS_AUTHENTICATION_REQUIRED: GTlsAuthenticationMode = 2; 326 327 pub type GTlsCertificateRequestFlags = c_int; 328 pub const G_TLS_CERTIFICATE_REQUEST_NONE: GTlsCertificateRequestFlags = 0; 329 330 pub type GTlsChannelBindingError = c_int; 331 pub const G_TLS_CHANNEL_BINDING_ERROR_NOT_IMPLEMENTED: GTlsChannelBindingError = 0; 332 pub const G_TLS_CHANNEL_BINDING_ERROR_INVALID_STATE: GTlsChannelBindingError = 1; 333 pub const G_TLS_CHANNEL_BINDING_ERROR_NOT_AVAILABLE: GTlsChannelBindingError = 2; 334 pub const G_TLS_CHANNEL_BINDING_ERROR_NOT_SUPPORTED: GTlsChannelBindingError = 3; 335 pub const G_TLS_CHANNEL_BINDING_ERROR_GENERAL_ERROR: GTlsChannelBindingError = 4; 336 337 pub type GTlsChannelBindingType = c_int; 338 pub const G_TLS_CHANNEL_BINDING_TLS_UNIQUE: GTlsChannelBindingType = 0; 339 pub const G_TLS_CHANNEL_BINDING_TLS_SERVER_END_POINT: GTlsChannelBindingType = 1; 340 341 pub type GTlsDatabaseLookupFlags = c_int; 342 pub const G_TLS_DATABASE_LOOKUP_NONE: GTlsDatabaseLookupFlags = 0; 343 pub const G_TLS_DATABASE_LOOKUP_KEYPAIR: GTlsDatabaseLookupFlags = 1; 344 345 pub type GTlsError = c_int; 346 pub const G_TLS_ERROR_UNAVAILABLE: GTlsError = 0; 347 pub const G_TLS_ERROR_MISC: GTlsError = 1; 348 pub const G_TLS_ERROR_BAD_CERTIFICATE: GTlsError = 2; 349 pub const G_TLS_ERROR_NOT_TLS: GTlsError = 3; 350 pub const G_TLS_ERROR_HANDSHAKE: GTlsError = 4; 351 pub const G_TLS_ERROR_CERTIFICATE_REQUIRED: GTlsError = 5; 352 pub const G_TLS_ERROR_EOF: GTlsError = 6; 353 pub const G_TLS_ERROR_INAPPROPRIATE_FALLBACK: GTlsError = 7; 354 355 pub type GTlsInteractionResult = c_int; 356 pub const G_TLS_INTERACTION_UNHANDLED: GTlsInteractionResult = 0; 357 pub const G_TLS_INTERACTION_HANDLED: GTlsInteractionResult = 1; 358 pub const G_TLS_INTERACTION_FAILED: GTlsInteractionResult = 2; 359 360 pub type GTlsRehandshakeMode = c_int; 361 pub const G_TLS_REHANDSHAKE_NEVER: GTlsRehandshakeMode = 0; 362 pub const G_TLS_REHANDSHAKE_SAFELY: GTlsRehandshakeMode = 1; 363 pub const G_TLS_REHANDSHAKE_UNSAFELY: GTlsRehandshakeMode = 2; 364 365 pub type GUnixSocketAddressType = c_int; 366 pub const G_UNIX_SOCKET_ADDRESS_INVALID: GUnixSocketAddressType = 0; 367 pub const G_UNIX_SOCKET_ADDRESS_ANONYMOUS: GUnixSocketAddressType = 1; 368 pub const G_UNIX_SOCKET_ADDRESS_PATH: GUnixSocketAddressType = 2; 369 pub const G_UNIX_SOCKET_ADDRESS_ABSTRACT: GUnixSocketAddressType = 3; 370 pub const G_UNIX_SOCKET_ADDRESS_ABSTRACT_PADDED: GUnixSocketAddressType = 4; 371 372 pub type GZlibCompressorFormat = c_int; 373 pub const G_ZLIB_COMPRESSOR_FORMAT_ZLIB: GZlibCompressorFormat = 0; 374 pub const G_ZLIB_COMPRESSOR_FORMAT_GZIP: GZlibCompressorFormat = 1; 375 pub const G_ZLIB_COMPRESSOR_FORMAT_RAW: GZlibCompressorFormat = 2; 376 377 // Constants 378 pub const G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME: *const c_char = 379 b"gio-desktop-app-info-lookup\0" as *const u8 as *const c_char; 380 pub const G_DRIVE_IDENTIFIER_KIND_UNIX_DEVICE: *const c_char = 381 b"unix-device\0" as *const u8 as *const c_char; 382 pub const G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE: *const c_char = 383 b"access::can-delete\0" as *const u8 as *const c_char; 384 pub const G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE: *const c_char = 385 b"access::can-execute\0" as *const u8 as *const c_char; 386 pub const G_FILE_ATTRIBUTE_ACCESS_CAN_READ: *const c_char = 387 b"access::can-read\0" as *const u8 as *const c_char; 388 pub const G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME: *const c_char = 389 b"access::can-rename\0" as *const u8 as *const c_char; 390 pub const G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH: *const c_char = 391 b"access::can-trash\0" as *const u8 as *const c_char; 392 pub const G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE: *const c_char = 393 b"access::can-write\0" as *const u8 as *const c_char; 394 pub const G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE: *const c_char = 395 b"dos::is-archive\0" as *const u8 as *const c_char; 396 pub const G_FILE_ATTRIBUTE_DOS_IS_MOUNTPOINT: *const c_char = 397 b"dos::is-mountpoint\0" as *const u8 as *const c_char; 398 pub const G_FILE_ATTRIBUTE_DOS_IS_SYSTEM: *const c_char = 399 b"dos::is-system\0" as *const u8 as *const c_char; 400 pub const G_FILE_ATTRIBUTE_DOS_REPARSE_POINT_TAG: *const c_char = 401 b"dos::reparse-point-tag\0" as *const u8 as *const c_char; 402 pub const G_FILE_ATTRIBUTE_ETAG_VALUE: *const c_char = 403 b"etag::value\0" as *const u8 as *const c_char; 404 pub const G_FILE_ATTRIBUTE_FILESYSTEM_FREE: *const c_char = 405 b"filesystem::free\0" as *const u8 as *const c_char; 406 pub const G_FILE_ATTRIBUTE_FILESYSTEM_READONLY: *const c_char = 407 b"filesystem::readonly\0" as *const u8 as *const c_char; 408 pub const G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE: *const c_char = 409 b"filesystem::remote\0" as *const u8 as *const c_char; 410 pub const G_FILE_ATTRIBUTE_FILESYSTEM_SIZE: *const c_char = 411 b"filesystem::size\0" as *const u8 as *const c_char; 412 pub const G_FILE_ATTRIBUTE_FILESYSTEM_TYPE: *const c_char = 413 b"filesystem::type\0" as *const u8 as *const c_char; 414 pub const G_FILE_ATTRIBUTE_FILESYSTEM_USED: *const c_char = 415 b"filesystem::used\0" as *const u8 as *const c_char; 416 pub const G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW: *const c_char = 417 b"filesystem::use-preview\0" as *const u8 as *const c_char; 418 pub const G_FILE_ATTRIBUTE_GVFS_BACKEND: *const c_char = 419 b"gvfs::backend\0" as *const u8 as *const c_char; 420 pub const G_FILE_ATTRIBUTE_ID_FILE: *const c_char = b"id::file\0" as *const u8 as *const c_char; 421 pub const G_FILE_ATTRIBUTE_ID_FILESYSTEM: *const c_char = 422 b"id::filesystem\0" as *const u8 as *const c_char; 423 pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT: *const c_char = 424 b"mountable::can-eject\0" as *const u8 as *const c_char; 425 pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT: *const c_char = 426 b"mountable::can-mount\0" as *const u8 as *const c_char; 427 pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL: *const c_char = 428 b"mountable::can-poll\0" as *const u8 as *const c_char; 429 pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START: *const c_char = 430 b"mountable::can-start\0" as *const u8 as *const c_char; 431 pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED: *const c_char = 432 b"mountable::can-start-degraded\0" as *const u8 as *const c_char; 433 pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP: *const c_char = 434 b"mountable::can-stop\0" as *const u8 as *const c_char; 435 pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT: *const c_char = 436 b"mountable::can-unmount\0" as *const u8 as *const c_char; 437 pub const G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI: *const c_char = 438 b"mountable::hal-udi\0" as *const u8 as *const c_char; 439 pub const G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC: *const c_char = 440 b"mountable::is-media-check-automatic\0" as *const u8 as *const c_char; 441 pub const G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE: *const c_char = 442 b"mountable::start-stop-type\0" as *const u8 as *const c_char; 443 pub const G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE: *const c_char = 444 b"mountable::unix-device\0" as *const u8 as *const c_char; 445 pub const G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE: *const c_char = 446 b"mountable::unix-device-file\0" as *const u8 as *const c_char; 447 pub const G_FILE_ATTRIBUTE_OWNER_GROUP: *const c_char = 448 b"owner::group\0" as *const u8 as *const c_char; 449 pub const G_FILE_ATTRIBUTE_OWNER_USER: *const c_char = 450 b"owner::user\0" as *const u8 as *const c_char; 451 pub const G_FILE_ATTRIBUTE_OWNER_USER_REAL: *const c_char = 452 b"owner::user-real\0" as *const u8 as *const c_char; 453 pub const G_FILE_ATTRIBUTE_PREVIEW_ICON: *const c_char = 454 b"preview::icon\0" as *const u8 as *const c_char; 455 pub const G_FILE_ATTRIBUTE_RECENT_MODIFIED: *const c_char = 456 b"recent::modified\0" as *const u8 as *const c_char; 457 pub const G_FILE_ATTRIBUTE_SELINUX_CONTEXT: *const c_char = 458 b"selinux::context\0" as *const u8 as *const c_char; 459 pub const G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE: *const c_char = 460 b"standard::allocated-size\0" as *const u8 as *const c_char; 461 pub const G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE: *const c_char = 462 b"standard::content-type\0" as *const u8 as *const c_char; 463 pub const G_FILE_ATTRIBUTE_STANDARD_COPY_NAME: *const c_char = 464 b"standard::copy-name\0" as *const u8 as *const c_char; 465 pub const G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION: *const c_char = 466 b"standard::description\0" as *const u8 as *const c_char; 467 pub const G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME: *const c_char = 468 b"standard::display-name\0" as *const u8 as *const c_char; 469 pub const G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME: *const c_char = 470 b"standard::edit-name\0" as *const u8 as *const c_char; 471 pub const G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE: *const c_char = 472 b"standard::fast-content-type\0" as *const u8 as *const c_char; 473 pub const G_FILE_ATTRIBUTE_STANDARD_ICON: *const c_char = 474 b"standard::icon\0" as *const u8 as *const c_char; 475 pub const G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP: *const c_char = 476 b"standard::is-backup\0" as *const u8 as *const c_char; 477 pub const G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN: *const c_char = 478 b"standard::is-hidden\0" as *const u8 as *const c_char; 479 pub const G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK: *const c_char = 480 b"standard::is-symlink\0" as *const u8 as *const c_char; 481 pub const G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL: *const c_char = 482 b"standard::is-virtual\0" as *const u8 as *const c_char; 483 pub const G_FILE_ATTRIBUTE_STANDARD_IS_VOLATILE: *const c_char = 484 b"standard::is-volatile\0" as *const u8 as *const c_char; 485 pub const G_FILE_ATTRIBUTE_STANDARD_NAME: *const c_char = 486 b"standard::name\0" as *const u8 as *const c_char; 487 pub const G_FILE_ATTRIBUTE_STANDARD_SIZE: *const c_char = 488 b"standard::size\0" as *const u8 as *const c_char; 489 pub const G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER: *const c_char = 490 b"standard::sort-order\0" as *const u8 as *const c_char; 491 pub const G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON: *const c_char = 492 b"standard::symbolic-icon\0" as *const u8 as *const c_char; 493 pub const G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET: *const c_char = 494 b"standard::symlink-target\0" as *const u8 as *const c_char; 495 pub const G_FILE_ATTRIBUTE_STANDARD_TARGET_URI: *const c_char = 496 b"standard::target-uri\0" as *const u8 as *const c_char; 497 pub const G_FILE_ATTRIBUTE_STANDARD_TYPE: *const c_char = 498 b"standard::type\0" as *const u8 as *const c_char; 499 pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED: *const c_char = 500 b"thumbnail::failed\0" as *const u8 as *const c_char; 501 pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID: *const c_char = 502 b"thumbnail::is-valid\0" as *const u8 as *const c_char; 503 pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH: *const c_char = 504 b"thumbnail::path\0" as *const u8 as *const c_char; 505 pub const G_FILE_ATTRIBUTE_TIME_ACCESS: *const c_char = 506 b"time::access\0" as *const u8 as *const c_char; 507 pub const G_FILE_ATTRIBUTE_TIME_ACCESS_USEC: *const c_char = 508 b"time::access-usec\0" as *const u8 as *const c_char; 509 pub const G_FILE_ATTRIBUTE_TIME_CHANGED: *const c_char = 510 b"time::changed\0" as *const u8 as *const c_char; 511 pub const G_FILE_ATTRIBUTE_TIME_CHANGED_USEC: *const c_char = 512 b"time::changed-usec\0" as *const u8 as *const c_char; 513 pub const G_FILE_ATTRIBUTE_TIME_CREATED: *const c_char = 514 b"time::created\0" as *const u8 as *const c_char; 515 pub const G_FILE_ATTRIBUTE_TIME_CREATED_USEC: *const c_char = 516 b"time::created-usec\0" as *const u8 as *const c_char; 517 pub const G_FILE_ATTRIBUTE_TIME_MODIFIED: *const c_char = 518 b"time::modified\0" as *const u8 as *const c_char; 519 pub const G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC: *const c_char = 520 b"time::modified-usec\0" as *const u8 as *const c_char; 521 pub const G_FILE_ATTRIBUTE_TRASH_DELETION_DATE: *const c_char = 522 b"trash::deletion-date\0" as *const u8 as *const c_char; 523 pub const G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT: *const c_char = 524 b"trash::item-count\0" as *const u8 as *const c_char; 525 pub const G_FILE_ATTRIBUTE_TRASH_ORIG_PATH: *const c_char = 526 b"trash::orig-path\0" as *const u8 as *const c_char; 527 pub const G_FILE_ATTRIBUTE_UNIX_BLOCKS: *const c_char = 528 b"unix::blocks\0" as *const u8 as *const c_char; 529 pub const G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE: *const c_char = 530 b"unix::block-size\0" as *const u8 as *const c_char; 531 pub const G_FILE_ATTRIBUTE_UNIX_DEVICE: *const c_char = 532 b"unix::device\0" as *const u8 as *const c_char; 533 pub const G_FILE_ATTRIBUTE_UNIX_GID: *const c_char = b"unix::gid\0" as *const u8 as *const c_char; 534 pub const G_FILE_ATTRIBUTE_UNIX_INODE: *const c_char = 535 b"unix::inode\0" as *const u8 as *const c_char; 536 pub const G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT: *const c_char = 537 b"unix::is-mountpoint\0" as *const u8 as *const c_char; 538 pub const G_FILE_ATTRIBUTE_UNIX_MODE: *const c_char = b"unix::mode\0" as *const u8 as *const c_char; 539 pub const G_FILE_ATTRIBUTE_UNIX_NLINK: *const c_char = 540 b"unix::nlink\0" as *const u8 as *const c_char; 541 pub const G_FILE_ATTRIBUTE_UNIX_RDEV: *const c_char = b"unix::rdev\0" as *const u8 as *const c_char; 542 pub const G_FILE_ATTRIBUTE_UNIX_UID: *const c_char = b"unix::uid\0" as *const u8 as *const c_char; 543 pub const G_MEMORY_MONITOR_EXTENSION_POINT_NAME: *const c_char = 544 b"gio-memory-monitor\0" as *const u8 as *const c_char; 545 pub const G_MENU_ATTRIBUTE_ACTION: *const c_char = b"action\0" as *const u8 as *const c_char; 546 pub const G_MENU_ATTRIBUTE_ACTION_NAMESPACE: *const c_char = 547 b"action-namespace\0" as *const u8 as *const c_char; 548 pub const G_MENU_ATTRIBUTE_ICON: *const c_char = b"icon\0" as *const u8 as *const c_char; 549 pub const G_MENU_ATTRIBUTE_LABEL: *const c_char = b"label\0" as *const u8 as *const c_char; 550 pub const G_MENU_ATTRIBUTE_TARGET: *const c_char = b"target\0" as *const u8 as *const c_char; 551 pub const G_MENU_LINK_SECTION: *const c_char = b"section\0" as *const u8 as *const c_char; 552 pub const G_MENU_LINK_SUBMENU: *const c_char = b"submenu\0" as *const u8 as *const c_char; 553 pub const G_NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME: *const c_char = 554 b"gio-native-volume-monitor\0" as *const u8 as *const c_char; 555 pub const G_NETWORK_MONITOR_EXTENSION_POINT_NAME: *const c_char = 556 b"gio-network-monitor\0" as *const u8 as *const c_char; 557 pub const G_PROXY_EXTENSION_POINT_NAME: *const c_char = 558 b"gio-proxy\0" as *const u8 as *const c_char; 559 pub const G_PROXY_RESOLVER_EXTENSION_POINT_NAME: *const c_char = 560 b"gio-proxy-resolver\0" as *const u8 as *const c_char; 561 pub const G_SETTINGS_BACKEND_EXTENSION_POINT_NAME: *const c_char = 562 b"gsettings-backend\0" as *const u8 as *const c_char; 563 pub const G_TLS_BACKEND_EXTENSION_POINT_NAME: *const c_char = 564 b"gio-tls-backend\0" as *const u8 as *const c_char; 565 pub const G_TLS_DATABASE_PURPOSE_AUTHENTICATE_CLIENT: *const c_char = 566 b"1.3.6.1.5.5.7.3.2\0" as *const u8 as *const c_char; 567 pub const G_TLS_DATABASE_PURPOSE_AUTHENTICATE_SERVER: *const c_char = 568 b"1.3.6.1.5.5.7.3.1\0" as *const u8 as *const c_char; 569 pub const G_VFS_EXTENSION_POINT_NAME: *const c_char = b"gio-vfs\0" as *const u8 as *const c_char; 570 pub const G_VOLUME_IDENTIFIER_KIND_CLASS: *const c_char = b"class\0" as *const u8 as *const c_char; 571 pub const G_VOLUME_IDENTIFIER_KIND_HAL_UDI: *const c_char = 572 b"hal-udi\0" as *const u8 as *const c_char; 573 pub const G_VOLUME_IDENTIFIER_KIND_LABEL: *const c_char = b"label\0" as *const u8 as *const c_char; 574 pub const G_VOLUME_IDENTIFIER_KIND_NFS_MOUNT: *const c_char = 575 b"nfs-mount\0" as *const u8 as *const c_char; 576 pub const G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE: *const c_char = 577 b"unix-device\0" as *const u8 as *const c_char; 578 pub const G_VOLUME_IDENTIFIER_KIND_UUID: *const c_char = b"uuid\0" as *const u8 as *const c_char; 579 pub const G_VOLUME_MONITOR_EXTENSION_POINT_NAME: *const c_char = 580 b"gio-volume-monitor\0" as *const u8 as *const c_char; 581 582 // Flags 583 pub type GAppInfoCreateFlags = c_uint; 584 pub const G_APP_INFO_CREATE_NONE: GAppInfoCreateFlags = 0; 585 pub const G_APP_INFO_CREATE_NEEDS_TERMINAL: GAppInfoCreateFlags = 1; 586 pub const G_APP_INFO_CREATE_SUPPORTS_URIS: GAppInfoCreateFlags = 2; 587 pub const G_APP_INFO_CREATE_SUPPORTS_STARTUP_NOTIFICATION: GAppInfoCreateFlags = 4; 588 589 pub type GApplicationFlags = c_uint; 590 pub const G_APPLICATION_FLAGS_NONE: GApplicationFlags = 0; 591 pub const G_APPLICATION_IS_SERVICE: GApplicationFlags = 1; 592 pub const G_APPLICATION_IS_LAUNCHER: GApplicationFlags = 2; 593 pub const G_APPLICATION_HANDLES_OPEN: GApplicationFlags = 4; 594 pub const G_APPLICATION_HANDLES_COMMAND_LINE: GApplicationFlags = 8; 595 pub const G_APPLICATION_SEND_ENVIRONMENT: GApplicationFlags = 16; 596 pub const G_APPLICATION_NON_UNIQUE: GApplicationFlags = 32; 597 pub const G_APPLICATION_CAN_OVERRIDE_APP_ID: GApplicationFlags = 64; 598 pub const G_APPLICATION_ALLOW_REPLACEMENT: GApplicationFlags = 128; 599 pub const G_APPLICATION_REPLACE: GApplicationFlags = 256; 600 601 pub type GAskPasswordFlags = c_uint; 602 pub const G_ASK_PASSWORD_NEED_PASSWORD: GAskPasswordFlags = 1; 603 pub const G_ASK_PASSWORD_NEED_USERNAME: GAskPasswordFlags = 2; 604 pub const G_ASK_PASSWORD_NEED_DOMAIN: GAskPasswordFlags = 4; 605 pub const G_ASK_PASSWORD_SAVING_SUPPORTED: GAskPasswordFlags = 8; 606 pub const G_ASK_PASSWORD_ANONYMOUS_SUPPORTED: GAskPasswordFlags = 16; 607 pub const G_ASK_PASSWORD_TCRYPT: GAskPasswordFlags = 32; 608 609 pub type GBusNameOwnerFlags = c_uint; 610 pub const G_BUS_NAME_OWNER_FLAGS_NONE: GBusNameOwnerFlags = 0; 611 pub const G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT: GBusNameOwnerFlags = 1; 612 pub const G_BUS_NAME_OWNER_FLAGS_REPLACE: GBusNameOwnerFlags = 2; 613 pub const G_BUS_NAME_OWNER_FLAGS_DO_NOT_QUEUE: GBusNameOwnerFlags = 4; 614 615 pub type GBusNameWatcherFlags = c_uint; 616 pub const G_BUS_NAME_WATCHER_FLAGS_NONE: GBusNameWatcherFlags = 0; 617 pub const G_BUS_NAME_WATCHER_FLAGS_AUTO_START: GBusNameWatcherFlags = 1; 618 619 pub type GConverterFlags = c_uint; 620 pub const G_CONVERTER_NO_FLAGS: GConverterFlags = 0; 621 pub const G_CONVERTER_INPUT_AT_END: GConverterFlags = 1; 622 pub const G_CONVERTER_FLUSH: GConverterFlags = 2; 623 624 pub type GDBusCallFlags = c_uint; 625 pub const G_DBUS_CALL_FLAGS_NONE: GDBusCallFlags = 0; 626 pub const G_DBUS_CALL_FLAGS_NO_AUTO_START: GDBusCallFlags = 1; 627 pub const G_DBUS_CALL_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION: GDBusCallFlags = 2; 628 629 pub type GDBusCapabilityFlags = c_uint; 630 pub const G_DBUS_CAPABILITY_FLAGS_NONE: GDBusCapabilityFlags = 0; 631 pub const G_DBUS_CAPABILITY_FLAGS_UNIX_FD_PASSING: GDBusCapabilityFlags = 1; 632 633 pub type GDBusConnectionFlags = c_uint; 634 pub const G_DBUS_CONNECTION_FLAGS_NONE: GDBusConnectionFlags = 0; 635 pub const G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_CLIENT: GDBusConnectionFlags = 1; 636 pub const G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_SERVER: GDBusConnectionFlags = 2; 637 pub const G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS: GDBusConnectionFlags = 4; 638 pub const G_DBUS_CONNECTION_FLAGS_MESSAGE_BUS_CONNECTION: GDBusConnectionFlags = 8; 639 pub const G_DBUS_CONNECTION_FLAGS_DELAY_MESSAGE_PROCESSING: GDBusConnectionFlags = 16; 640 641 pub type GDBusInterfaceSkeletonFlags = c_uint; 642 pub const G_DBUS_INTERFACE_SKELETON_FLAGS_NONE: GDBusInterfaceSkeletonFlags = 0; 643 pub const G_DBUS_INTERFACE_SKELETON_FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD: 644 GDBusInterfaceSkeletonFlags = 1; 645 646 pub type GDBusMessageFlags = c_uint; 647 pub const G_DBUS_MESSAGE_FLAGS_NONE: GDBusMessageFlags = 0; 648 pub const G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED: GDBusMessageFlags = 1; 649 pub const G_DBUS_MESSAGE_FLAGS_NO_AUTO_START: GDBusMessageFlags = 2; 650 pub const G_DBUS_MESSAGE_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION: GDBusMessageFlags = 4; 651 652 pub type GDBusObjectManagerClientFlags = c_uint; 653 pub const G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_NONE: GDBusObjectManagerClientFlags = 0; 654 pub const G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_DO_NOT_AUTO_START: GDBusObjectManagerClientFlags = 1; 655 656 pub type GDBusPropertyInfoFlags = c_uint; 657 pub const G_DBUS_PROPERTY_INFO_FLAGS_NONE: GDBusPropertyInfoFlags = 0; 658 pub const G_DBUS_PROPERTY_INFO_FLAGS_READABLE: GDBusPropertyInfoFlags = 1; 659 pub const G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE: GDBusPropertyInfoFlags = 2; 660 661 pub type GDBusProxyFlags = c_uint; 662 pub const G_DBUS_PROXY_FLAGS_NONE: GDBusProxyFlags = 0; 663 pub const G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES: GDBusProxyFlags = 1; 664 pub const G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS: GDBusProxyFlags = 2; 665 pub const G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START: GDBusProxyFlags = 4; 666 pub const G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES: GDBusProxyFlags = 8; 667 pub const G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START_AT_CONSTRUCTION: GDBusProxyFlags = 16; 668 669 pub type GDBusSendMessageFlags = c_uint; 670 pub const G_DBUS_SEND_MESSAGE_FLAGS_NONE: GDBusSendMessageFlags = 0; 671 pub const G_DBUS_SEND_MESSAGE_FLAGS_PRESERVE_SERIAL: GDBusSendMessageFlags = 1; 672 673 pub type GDBusServerFlags = c_uint; 674 pub const G_DBUS_SERVER_FLAGS_NONE: GDBusServerFlags = 0; 675 pub const G_DBUS_SERVER_FLAGS_RUN_IN_THREAD: GDBusServerFlags = 1; 676 pub const G_DBUS_SERVER_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS: GDBusServerFlags = 2; 677 678 pub type GDBusSignalFlags = c_uint; 679 pub const G_DBUS_SIGNAL_FLAGS_NONE: GDBusSignalFlags = 0; 680 pub const G_DBUS_SIGNAL_FLAGS_NO_MATCH_RULE: GDBusSignalFlags = 1; 681 pub const G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_NAMESPACE: GDBusSignalFlags = 2; 682 pub const G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_PATH: GDBusSignalFlags = 4; 683 684 pub type GDBusSubtreeFlags = c_uint; 685 pub const G_DBUS_SUBTREE_FLAGS_NONE: GDBusSubtreeFlags = 0; 686 pub const G_DBUS_SUBTREE_FLAGS_DISPATCH_TO_UNENUMERATED_NODES: GDBusSubtreeFlags = 1; 687 688 pub type GDriveStartFlags = c_uint; 689 pub const G_DRIVE_START_NONE: GDriveStartFlags = 0; 690 691 pub type GFileAttributeInfoFlags = c_uint; 692 pub const G_FILE_ATTRIBUTE_INFO_NONE: GFileAttributeInfoFlags = 0; 693 pub const G_FILE_ATTRIBUTE_INFO_COPY_WITH_FILE: GFileAttributeInfoFlags = 1; 694 pub const G_FILE_ATTRIBUTE_INFO_COPY_WHEN_MOVED: GFileAttributeInfoFlags = 2; 695 696 pub type GFileCopyFlags = c_uint; 697 pub const G_FILE_COPY_NONE: GFileCopyFlags = 0; 698 pub const G_FILE_COPY_OVERWRITE: GFileCopyFlags = 1; 699 pub const G_FILE_COPY_BACKUP: GFileCopyFlags = 2; 700 pub const G_FILE_COPY_NOFOLLOW_SYMLINKS: GFileCopyFlags = 4; 701 pub const G_FILE_COPY_ALL_METADATA: GFileCopyFlags = 8; 702 pub const G_FILE_COPY_NO_FALLBACK_FOR_MOVE: GFileCopyFlags = 16; 703 pub const G_FILE_COPY_TARGET_DEFAULT_PERMS: GFileCopyFlags = 32; 704 705 pub type GFileCreateFlags = c_uint; 706 pub const G_FILE_CREATE_NONE: GFileCreateFlags = 0; 707 pub const G_FILE_CREATE_PRIVATE: GFileCreateFlags = 1; 708 pub const G_FILE_CREATE_REPLACE_DESTINATION: GFileCreateFlags = 2; 709 710 pub type GFileMeasureFlags = c_uint; 711 pub const G_FILE_MEASURE_NONE: GFileMeasureFlags = 0; 712 pub const G_FILE_MEASURE_REPORT_ANY_ERROR: GFileMeasureFlags = 2; 713 pub const G_FILE_MEASURE_APPARENT_SIZE: GFileMeasureFlags = 4; 714 pub const G_FILE_MEASURE_NO_XDEV: GFileMeasureFlags = 8; 715 716 pub type GFileMonitorFlags = c_uint; 717 pub const G_FILE_MONITOR_NONE: GFileMonitorFlags = 0; 718 pub const G_FILE_MONITOR_WATCH_MOUNTS: GFileMonitorFlags = 1; 719 pub const G_FILE_MONITOR_SEND_MOVED: GFileMonitorFlags = 2; 720 pub const G_FILE_MONITOR_WATCH_HARD_LINKS: GFileMonitorFlags = 4; 721 pub const G_FILE_MONITOR_WATCH_MOVES: GFileMonitorFlags = 8; 722 723 pub type GFileQueryInfoFlags = c_uint; 724 pub const G_FILE_QUERY_INFO_NONE: GFileQueryInfoFlags = 0; 725 pub const G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS: GFileQueryInfoFlags = 1; 726 727 pub type GIOStreamSpliceFlags = c_uint; 728 pub const G_IO_STREAM_SPLICE_NONE: GIOStreamSpliceFlags = 0; 729 pub const G_IO_STREAM_SPLICE_CLOSE_STREAM1: GIOStreamSpliceFlags = 1; 730 pub const G_IO_STREAM_SPLICE_CLOSE_STREAM2: GIOStreamSpliceFlags = 2; 731 pub const G_IO_STREAM_SPLICE_WAIT_FOR_BOTH: GIOStreamSpliceFlags = 4; 732 733 pub type GMountMountFlags = c_uint; 734 pub const G_MOUNT_MOUNT_NONE: GMountMountFlags = 0; 735 736 pub type GMountUnmountFlags = c_uint; 737 pub const G_MOUNT_UNMOUNT_NONE: GMountUnmountFlags = 0; 738 pub const G_MOUNT_UNMOUNT_FORCE: GMountUnmountFlags = 1; 739 740 pub type GOutputStreamSpliceFlags = c_uint; 741 pub const G_OUTPUT_STREAM_SPLICE_NONE: GOutputStreamSpliceFlags = 0; 742 pub const G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE: GOutputStreamSpliceFlags = 1; 743 pub const G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET: GOutputStreamSpliceFlags = 2; 744 745 pub type GResolverNameLookupFlags = c_uint; 746 pub const G_RESOLVER_NAME_LOOKUP_FLAGS_DEFAULT: GResolverNameLookupFlags = 0; 747 pub const G_RESOLVER_NAME_LOOKUP_FLAGS_IPV4_ONLY: GResolverNameLookupFlags = 1; 748 pub const G_RESOLVER_NAME_LOOKUP_FLAGS_IPV6_ONLY: GResolverNameLookupFlags = 2; 749 750 pub type GResourceFlags = c_uint; 751 pub const G_RESOURCE_FLAGS_NONE: GResourceFlags = 0; 752 pub const G_RESOURCE_FLAGS_COMPRESSED: GResourceFlags = 1; 753 754 pub type GResourceLookupFlags = c_uint; 755 pub const G_RESOURCE_LOOKUP_FLAGS_NONE: GResourceLookupFlags = 0; 756 757 pub type GSettingsBindFlags = c_uint; 758 pub const G_SETTINGS_BIND_DEFAULT: GSettingsBindFlags = 0; 759 pub const G_SETTINGS_BIND_GET: GSettingsBindFlags = 1; 760 pub const G_SETTINGS_BIND_SET: GSettingsBindFlags = 2; 761 pub const G_SETTINGS_BIND_NO_SENSITIVITY: GSettingsBindFlags = 4; 762 pub const G_SETTINGS_BIND_GET_NO_CHANGES: GSettingsBindFlags = 8; 763 pub const G_SETTINGS_BIND_INVERT_BOOLEAN: GSettingsBindFlags = 16; 764 765 pub type GSubprocessFlags = c_uint; 766 pub const G_SUBPROCESS_FLAGS_NONE: GSubprocessFlags = 0; 767 pub const G_SUBPROCESS_FLAGS_STDIN_PIPE: GSubprocessFlags = 1; 768 pub const G_SUBPROCESS_FLAGS_STDIN_INHERIT: GSubprocessFlags = 2; 769 pub const G_SUBPROCESS_FLAGS_STDOUT_PIPE: GSubprocessFlags = 4; 770 pub const G_SUBPROCESS_FLAGS_STDOUT_SILENCE: GSubprocessFlags = 8; 771 pub const G_SUBPROCESS_FLAGS_STDERR_PIPE: GSubprocessFlags = 16; 772 pub const G_SUBPROCESS_FLAGS_STDERR_SILENCE: GSubprocessFlags = 32; 773 pub const G_SUBPROCESS_FLAGS_STDERR_MERGE: GSubprocessFlags = 64; 774 pub const G_SUBPROCESS_FLAGS_INHERIT_FDS: GSubprocessFlags = 128; 775 776 pub type GTestDBusFlags = c_uint; 777 pub const G_TEST_DBUS_NONE: GTestDBusFlags = 0; 778 779 pub type GTlsCertificateFlags = c_uint; 780 pub const G_TLS_CERTIFICATE_UNKNOWN_CA: GTlsCertificateFlags = 1; 781 pub const G_TLS_CERTIFICATE_BAD_IDENTITY: GTlsCertificateFlags = 2; 782 pub const G_TLS_CERTIFICATE_NOT_ACTIVATED: GTlsCertificateFlags = 4; 783 pub const G_TLS_CERTIFICATE_EXPIRED: GTlsCertificateFlags = 8; 784 pub const G_TLS_CERTIFICATE_REVOKED: GTlsCertificateFlags = 16; 785 pub const G_TLS_CERTIFICATE_INSECURE: GTlsCertificateFlags = 32; 786 pub const G_TLS_CERTIFICATE_GENERIC_ERROR: GTlsCertificateFlags = 64; 787 pub const G_TLS_CERTIFICATE_VALIDATE_ALL: GTlsCertificateFlags = 127; 788 789 pub type GTlsDatabaseVerifyFlags = c_uint; 790 pub const G_TLS_DATABASE_VERIFY_NONE: GTlsDatabaseVerifyFlags = 0; 791 792 pub type GTlsPasswordFlags = c_uint; 793 pub const G_TLS_PASSWORD_NONE: GTlsPasswordFlags = 0; 794 pub const G_TLS_PASSWORD_RETRY: GTlsPasswordFlags = 2; 795 pub const G_TLS_PASSWORD_MANY_TRIES: GTlsPasswordFlags = 4; 796 pub const G_TLS_PASSWORD_FINAL_TRY: GTlsPasswordFlags = 8; 797 798 // Callbacks 799 pub type GAsyncReadyCallback = 800 Option<unsafe extern "C" fn(*mut gobject::GObject, *mut GAsyncResult, gpointer)>; 801 pub type GBusAcquiredCallback = 802 Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>; 803 pub type GBusNameAcquiredCallback = 804 Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>; 805 pub type GBusNameAppearedCallback = 806 Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, *const c_char, gpointer)>; 807 pub type GBusNameLostCallback = 808 Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>; 809 pub type GBusNameVanishedCallback = 810 Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>; 811 pub type GCancellableSourceFunc = 812 Option<unsafe extern "C" fn(*mut GCancellable, gpointer) -> gboolean>; 813 pub type GDBusInterfaceGetPropertyFunc = Option< 814 unsafe extern "C" fn( 815 *mut GDBusConnection, 816 *const c_char, 817 *const c_char, 818 *const c_char, 819 *const c_char, 820 *mut *mut glib::GError, 821 gpointer, 822 ) -> *mut glib::GVariant, 823 >; 824 pub type GDBusInterfaceMethodCallFunc = Option< 825 unsafe extern "C" fn( 826 *mut GDBusConnection, 827 *const c_char, 828 *const c_char, 829 *const c_char, 830 *const c_char, 831 *mut glib::GVariant, 832 *mut GDBusMethodInvocation, 833 gpointer, 834 ), 835 >; 836 pub type GDBusInterfaceSetPropertyFunc = Option< 837 unsafe extern "C" fn( 838 *mut GDBusConnection, 839 *const c_char, 840 *const c_char, 841 *const c_char, 842 *const c_char, 843 *mut glib::GVariant, 844 *mut *mut glib::GError, 845 gpointer, 846 ) -> gboolean, 847 >; 848 pub type GDBusMessageFilterFunction = Option< 849 unsafe extern "C" fn( 850 *mut GDBusConnection, 851 *mut GDBusMessage, 852 gboolean, 853 gpointer, 854 ) -> *mut GDBusMessage, 855 >; 856 pub type GDBusProxyTypeFunc = Option< 857 unsafe extern "C" fn( 858 *mut GDBusObjectManagerClient, 859 *const c_char, 860 *const c_char, 861 gpointer, 862 ) -> GType, 863 >; 864 pub type GDBusSignalCallback = Option< 865 unsafe extern "C" fn( 866 *mut GDBusConnection, 867 *const c_char, 868 *const c_char, 869 *const c_char, 870 *const c_char, 871 *mut glib::GVariant, 872 gpointer, 873 ), 874 >; 875 pub type GDBusSubtreeDispatchFunc = Option< 876 unsafe extern "C" fn( 877 *mut GDBusConnection, 878 *const c_char, 879 *const c_char, 880 *const c_char, 881 *const c_char, 882 *mut gpointer, 883 gpointer, 884 ) -> *const GDBusInterfaceVTable, 885 >; 886 pub type GDBusSubtreeEnumerateFunc = Option< 887 unsafe extern "C" fn( 888 *mut GDBusConnection, 889 *const c_char, 890 *const c_char, 891 gpointer, 892 ) -> *mut *mut c_char, 893 >; 894 pub type GDBusSubtreeIntrospectFunc = Option< 895 unsafe extern "C" fn( 896 *mut GDBusConnection, 897 *const c_char, 898 *const c_char, 899 *const c_char, 900 gpointer, 901 ) -> *mut *mut GDBusInterfaceInfo, 902 >; 903 pub type GDatagramBasedSourceFunc = 904 Option<unsafe extern "C" fn(*mut GDatagramBased, glib::GIOCondition, gpointer) -> gboolean>; 905 pub type GDesktopAppLaunchCallback = 906 Option<unsafe extern "C" fn(*mut GDesktopAppInfo, glib::GPid, gpointer)>; 907 pub type GFileMeasureProgressCallback = 908 Option<unsafe extern "C" fn(gboolean, u64, u64, u64, gpointer)>; 909 pub type GFileProgressCallback = Option<unsafe extern "C" fn(i64, i64, gpointer)>; 910 pub type GFileReadMoreCallback = 911 Option<unsafe extern "C" fn(*const c_char, i64, gpointer) -> gboolean>; 912 pub type GIOSchedulerJobFunc = 913 Option<unsafe extern "C" fn(*mut GIOSchedulerJob, *mut GCancellable, gpointer) -> gboolean>; 914 pub type GPollableSourceFunc = 915 Option<unsafe extern "C" fn(*mut gobject::GObject, gpointer) -> gboolean>; 916 pub type GReallocFunc = Option<unsafe extern "C" fn(gpointer, size_t) -> gpointer>; 917 pub type GSettingsBindGetMapping = 918 Option<unsafe extern "C" fn(*mut gobject::GValue, *mut glib::GVariant, gpointer) -> gboolean>; 919 pub type GSettingsBindSetMapping = Option< 920 unsafe extern "C" fn( 921 *const gobject::GValue, 922 *const glib::GVariantType, 923 gpointer, 924 ) -> *mut glib::GVariant, 925 >; 926 pub type GSettingsGetMapping = 927 Option<unsafe extern "C" fn(*mut glib::GVariant, *mut gpointer, gpointer) -> gboolean>; 928 pub type GSimpleAsyncThreadFunc = 929 Option<unsafe extern "C" fn(*mut GSimpleAsyncResult, *mut gobject::GObject, *mut GCancellable)>; 930 pub type GSocketSourceFunc = 931 Option<unsafe extern "C" fn(*mut GSocket, glib::GIOCondition, gpointer) -> gboolean>; 932 pub type GTaskThreadFunc = 933 Option<unsafe extern "C" fn(*mut GTask, *mut gobject::GObject, gpointer, *mut GCancellable)>; 934 pub type GVfsFileLookupFunc = 935 Option<unsafe extern "C" fn(*mut GVfs, *const c_char, gpointer) -> *mut GFile>; 936 937 // Records 938 #[repr(C)] 939 #[derive(Copy, Clone)] 940 pub struct GActionEntry { 941 pub name: *const c_char, 942 pub activate: Option<unsafe extern "C" fn(*mut GSimpleAction, *mut glib::GVariant, gpointer)>, 943 pub parameter_type: *const c_char, 944 pub state: *const c_char, 945 pub change_state: 946 Option<unsafe extern "C" fn(*mut GSimpleAction, *mut glib::GVariant, gpointer)>, 947 pub padding: [size_t; 3], 948 } 949 950 impl ::std::fmt::Debug for GActionEntry { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result951 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 952 f.debug_struct(&format!("GActionEntry @ {:p}", self)) 953 .field("name", &self.name) 954 .field("activate", &self.activate) 955 .field("parameter_type", &self.parameter_type) 956 .field("state", &self.state) 957 .field("change_state", &self.change_state) 958 .finish() 959 } 960 } 961 962 #[repr(C)] 963 #[derive(Copy, Clone)] 964 pub struct GActionGroupInterface { 965 pub g_iface: gobject::GTypeInterface, 966 pub has_action: Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> gboolean>, 967 pub list_actions: Option<unsafe extern "C" fn(*mut GActionGroup) -> *mut *mut c_char>, 968 pub get_action_enabled: 969 Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> gboolean>, 970 pub get_action_parameter_type: 971 Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *const glib::GVariantType>, 972 pub get_action_state_type: 973 Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *const glib::GVariantType>, 974 pub get_action_state_hint: 975 Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *mut glib::GVariant>, 976 pub get_action_state: 977 Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *mut glib::GVariant>, 978 pub change_action_state: 979 Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, *mut glib::GVariant)>, 980 pub activate_action: 981 Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, *mut glib::GVariant)>, 982 pub action_added: Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char)>, 983 pub action_removed: Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char)>, 984 pub action_enabled_changed: 985 Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, gboolean)>, 986 pub action_state_changed: 987 Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, *mut glib::GVariant)>, 988 pub query_action: Option< 989 unsafe extern "C" fn( 990 *mut GActionGroup, 991 *const c_char, 992 *mut gboolean, 993 *mut *const glib::GVariantType, 994 *mut *const glib::GVariantType, 995 *mut *mut glib::GVariant, 996 *mut *mut glib::GVariant, 997 ) -> gboolean, 998 >, 999 } 1000 1001 impl ::std::fmt::Debug for GActionGroupInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1002 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1003 f.debug_struct(&format!("GActionGroupInterface @ {:p}", self)) 1004 .field("g_iface", &self.g_iface) 1005 .field("has_action", &self.has_action) 1006 .field("list_actions", &self.list_actions) 1007 .field("get_action_enabled", &self.get_action_enabled) 1008 .field("get_action_parameter_type", &self.get_action_parameter_type) 1009 .field("get_action_state_type", &self.get_action_state_type) 1010 .field("get_action_state_hint", &self.get_action_state_hint) 1011 .field("get_action_state", &self.get_action_state) 1012 .field("change_action_state", &self.change_action_state) 1013 .field("activate_action", &self.activate_action) 1014 .field("action_added", &self.action_added) 1015 .field("action_removed", &self.action_removed) 1016 .field("action_enabled_changed", &self.action_enabled_changed) 1017 .field("action_state_changed", &self.action_state_changed) 1018 .field("query_action", &self.query_action) 1019 .finish() 1020 } 1021 } 1022 1023 #[repr(C)] 1024 #[derive(Copy, Clone)] 1025 pub struct GActionInterface { 1026 pub g_iface: gobject::GTypeInterface, 1027 pub get_name: Option<unsafe extern "C" fn(*mut GAction) -> *const c_char>, 1028 pub get_parameter_type: Option<unsafe extern "C" fn(*mut GAction) -> *const glib::GVariantType>, 1029 pub get_state_type: Option<unsafe extern "C" fn(*mut GAction) -> *const glib::GVariantType>, 1030 pub get_state_hint: Option<unsafe extern "C" fn(*mut GAction) -> *mut glib::GVariant>, 1031 pub get_enabled: Option<unsafe extern "C" fn(*mut GAction) -> gboolean>, 1032 pub get_state: Option<unsafe extern "C" fn(*mut GAction) -> *mut glib::GVariant>, 1033 pub change_state: Option<unsafe extern "C" fn(*mut GAction, *mut glib::GVariant)>, 1034 pub activate: Option<unsafe extern "C" fn(*mut GAction, *mut glib::GVariant)>, 1035 } 1036 1037 impl ::std::fmt::Debug for GActionInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1038 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1039 f.debug_struct(&format!("GActionInterface @ {:p}", self)) 1040 .field("g_iface", &self.g_iface) 1041 .field("get_name", &self.get_name) 1042 .field("get_parameter_type", &self.get_parameter_type) 1043 .field("get_state_type", &self.get_state_type) 1044 .field("get_state_hint", &self.get_state_hint) 1045 .field("get_enabled", &self.get_enabled) 1046 .field("get_state", &self.get_state) 1047 .field("change_state", &self.change_state) 1048 .field("activate", &self.activate) 1049 .finish() 1050 } 1051 } 1052 1053 #[repr(C)] 1054 #[derive(Copy, Clone)] 1055 pub struct GActionMapInterface { 1056 pub g_iface: gobject::GTypeInterface, 1057 pub lookup_action: Option<unsafe extern "C" fn(*mut GActionMap, *const c_char) -> *mut GAction>, 1058 pub add_action: Option<unsafe extern "C" fn(*mut GActionMap, *mut GAction)>, 1059 pub remove_action: Option<unsafe extern "C" fn(*mut GActionMap, *const c_char)>, 1060 } 1061 1062 impl ::std::fmt::Debug for GActionMapInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1063 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1064 f.debug_struct(&format!("GActionMapInterface @ {:p}", self)) 1065 .field("g_iface", &self.g_iface) 1066 .field("lookup_action", &self.lookup_action) 1067 .field("add_action", &self.add_action) 1068 .field("remove_action", &self.remove_action) 1069 .finish() 1070 } 1071 } 1072 1073 #[repr(C)] 1074 #[derive(Copy, Clone)] 1075 pub struct GAppInfoIface { 1076 pub g_iface: gobject::GTypeInterface, 1077 pub dup: Option<unsafe extern "C" fn(*mut GAppInfo) -> *mut GAppInfo>, 1078 pub equal: Option<unsafe extern "C" fn(*mut GAppInfo, *mut GAppInfo) -> gboolean>, 1079 pub get_id: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>, 1080 pub get_name: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>, 1081 pub get_description: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>, 1082 pub get_executable: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>, 1083 pub get_icon: Option<unsafe extern "C" fn(*mut GAppInfo) -> *mut GIcon>, 1084 pub launch: Option< 1085 unsafe extern "C" fn( 1086 *mut GAppInfo, 1087 *mut glib::GList, 1088 *mut GAppLaunchContext, 1089 *mut *mut glib::GError, 1090 ) -> gboolean, 1091 >, 1092 pub supports_uris: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>, 1093 pub supports_files: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>, 1094 pub launch_uris: Option< 1095 unsafe extern "C" fn( 1096 *mut GAppInfo, 1097 *mut glib::GList, 1098 *mut GAppLaunchContext, 1099 *mut *mut glib::GError, 1100 ) -> gboolean, 1101 >, 1102 pub should_show: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>, 1103 pub set_as_default_for_type: Option< 1104 unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean, 1105 >, 1106 pub set_as_default_for_extension: Option< 1107 unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean, 1108 >, 1109 pub add_supports_type: Option< 1110 unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean, 1111 >, 1112 pub can_remove_supports_type: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>, 1113 pub remove_supports_type: Option< 1114 unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean, 1115 >, 1116 pub can_delete: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>, 1117 pub do_delete: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>, 1118 pub get_commandline: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>, 1119 pub get_display_name: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>, 1120 pub set_as_last_used_for_type: Option< 1121 unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean, 1122 >, 1123 pub get_supported_types: Option<unsafe extern "C" fn(*mut GAppInfo) -> *mut *const c_char>, 1124 pub launch_uris_async: Option< 1125 unsafe extern "C" fn( 1126 *mut GAppInfo, 1127 *mut glib::GList, 1128 *mut GAppLaunchContext, 1129 *mut GCancellable, 1130 GAsyncReadyCallback, 1131 gpointer, 1132 ), 1133 >, 1134 pub launch_uris_finish: Option< 1135 unsafe extern "C" fn(*mut GAppInfo, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 1136 >, 1137 } 1138 1139 impl ::std::fmt::Debug for GAppInfoIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1140 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1141 f.debug_struct(&format!("GAppInfoIface @ {:p}", self)) 1142 .field("g_iface", &self.g_iface) 1143 .field("dup", &self.dup) 1144 .field("equal", &self.equal) 1145 .field("get_id", &self.get_id) 1146 .field("get_name", &self.get_name) 1147 .field("get_description", &self.get_description) 1148 .field("get_executable", &self.get_executable) 1149 .field("get_icon", &self.get_icon) 1150 .field("launch", &self.launch) 1151 .field("supports_uris", &self.supports_uris) 1152 .field("supports_files", &self.supports_files) 1153 .field("launch_uris", &self.launch_uris) 1154 .field("should_show", &self.should_show) 1155 .field("set_as_default_for_type", &self.set_as_default_for_type) 1156 .field( 1157 "set_as_default_for_extension", 1158 &self.set_as_default_for_extension, 1159 ) 1160 .field("add_supports_type", &self.add_supports_type) 1161 .field("can_remove_supports_type", &self.can_remove_supports_type) 1162 .field("remove_supports_type", &self.remove_supports_type) 1163 .field("can_delete", &self.can_delete) 1164 .field("do_delete", &self.do_delete) 1165 .field("get_commandline", &self.get_commandline) 1166 .field("get_display_name", &self.get_display_name) 1167 .field("set_as_last_used_for_type", &self.set_as_last_used_for_type) 1168 .field("get_supported_types", &self.get_supported_types) 1169 .field("launch_uris_async", &self.launch_uris_async) 1170 .field("launch_uris_finish", &self.launch_uris_finish) 1171 .finish() 1172 } 1173 } 1174 1175 #[repr(C)] 1176 #[derive(Copy, Clone)] 1177 pub struct GAppLaunchContextClass { 1178 pub parent_class: gobject::GObjectClass, 1179 pub get_display: Option< 1180 unsafe extern "C" fn( 1181 *mut GAppLaunchContext, 1182 *mut GAppInfo, 1183 *mut glib::GList, 1184 ) -> *mut c_char, 1185 >, 1186 pub get_startup_notify_id: Option< 1187 unsafe extern "C" fn( 1188 *mut GAppLaunchContext, 1189 *mut GAppInfo, 1190 *mut glib::GList, 1191 ) -> *mut c_char, 1192 >, 1193 pub launch_failed: Option<unsafe extern "C" fn(*mut GAppLaunchContext, *const c_char)>, 1194 pub launched: 1195 Option<unsafe extern "C" fn(*mut GAppLaunchContext, *mut GAppInfo, *mut glib::GVariant)>, 1196 pub _g_reserved1: Option<unsafe extern "C" fn()>, 1197 pub _g_reserved2: Option<unsafe extern "C" fn()>, 1198 pub _g_reserved3: Option<unsafe extern "C" fn()>, 1199 pub _g_reserved4: Option<unsafe extern "C" fn()>, 1200 } 1201 1202 impl ::std::fmt::Debug for GAppLaunchContextClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1203 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1204 f.debug_struct(&format!("GAppLaunchContextClass @ {:p}", self)) 1205 .field("parent_class", &self.parent_class) 1206 .field("get_display", &self.get_display) 1207 .field("get_startup_notify_id", &self.get_startup_notify_id) 1208 .field("launch_failed", &self.launch_failed) 1209 .field("launched", &self.launched) 1210 .field("_g_reserved1", &self._g_reserved1) 1211 .field("_g_reserved2", &self._g_reserved2) 1212 .field("_g_reserved3", &self._g_reserved3) 1213 .field("_g_reserved4", &self._g_reserved4) 1214 .finish() 1215 } 1216 } 1217 1218 #[repr(C)] 1219 pub struct _GAppLaunchContextPrivate(c_void); 1220 1221 pub type GAppLaunchContextPrivate = *mut _GAppLaunchContextPrivate; 1222 1223 #[repr(C)] 1224 #[derive(Copy, Clone)] 1225 pub struct GApplicationClass { 1226 pub parent_class: gobject::GObjectClass, 1227 pub startup: Option<unsafe extern "C" fn(*mut GApplication)>, 1228 pub activate: Option<unsafe extern "C" fn(*mut GApplication)>, 1229 pub open: 1230 Option<unsafe extern "C" fn(*mut GApplication, *mut *mut GFile, c_int, *const c_char)>, 1231 pub command_line: 1232 Option<unsafe extern "C" fn(*mut GApplication, *mut GApplicationCommandLine) -> c_int>, 1233 pub local_command_line: Option< 1234 unsafe extern "C" fn(*mut GApplication, *mut *mut *mut c_char, *mut c_int) -> gboolean, 1235 >, 1236 pub before_emit: Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariant)>, 1237 pub after_emit: Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariant)>, 1238 pub add_platform_data: 1239 Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariantBuilder)>, 1240 pub quit_mainloop: Option<unsafe extern "C" fn(*mut GApplication)>, 1241 pub run_mainloop: Option<unsafe extern "C" fn(*mut GApplication)>, 1242 pub shutdown: Option<unsafe extern "C" fn(*mut GApplication)>, 1243 pub dbus_register: Option< 1244 unsafe extern "C" fn( 1245 *mut GApplication, 1246 *mut GDBusConnection, 1247 *const c_char, 1248 *mut *mut glib::GError, 1249 ) -> gboolean, 1250 >, 1251 pub dbus_unregister: 1252 Option<unsafe extern "C" fn(*mut GApplication, *mut GDBusConnection, *const c_char)>, 1253 pub handle_local_options: 1254 Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariantDict) -> c_int>, 1255 pub name_lost: Option<unsafe extern "C" fn(*mut GApplication) -> gboolean>, 1256 pub padding: [gpointer; 7], 1257 } 1258 1259 impl ::std::fmt::Debug for GApplicationClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1260 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1261 f.debug_struct(&format!("GApplicationClass @ {:p}", self)) 1262 .field("startup", &self.startup) 1263 .field("activate", &self.activate) 1264 .field("open", &self.open) 1265 .field("command_line", &self.command_line) 1266 .field("local_command_line", &self.local_command_line) 1267 .field("before_emit", &self.before_emit) 1268 .field("after_emit", &self.after_emit) 1269 .field("add_platform_data", &self.add_platform_data) 1270 .field("quit_mainloop", &self.quit_mainloop) 1271 .field("run_mainloop", &self.run_mainloop) 1272 .field("shutdown", &self.shutdown) 1273 .field("dbus_register", &self.dbus_register) 1274 .field("dbus_unregister", &self.dbus_unregister) 1275 .field("handle_local_options", &self.handle_local_options) 1276 .field("name_lost", &self.name_lost) 1277 .finish() 1278 } 1279 } 1280 1281 #[repr(C)] 1282 #[derive(Copy, Clone)] 1283 pub struct GApplicationCommandLineClass { 1284 pub parent_class: gobject::GObjectClass, 1285 pub print_literal: Option<unsafe extern "C" fn(*mut GApplicationCommandLine, *const c_char)>, 1286 pub printerr_literal: Option<unsafe extern "C" fn(*mut GApplicationCommandLine, *const c_char)>, 1287 pub get_stdin: Option<unsafe extern "C" fn(*mut GApplicationCommandLine) -> *mut GInputStream>, 1288 pub padding: [gpointer; 11], 1289 } 1290 1291 impl ::std::fmt::Debug for GApplicationCommandLineClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1292 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1293 f.debug_struct(&format!("GApplicationCommandLineClass @ {:p}", self)) 1294 .field("print_literal", &self.print_literal) 1295 .field("printerr_literal", &self.printerr_literal) 1296 .field("get_stdin", &self.get_stdin) 1297 .finish() 1298 } 1299 } 1300 1301 #[repr(C)] 1302 pub struct _GApplicationCommandLinePrivate(c_void); 1303 1304 pub type GApplicationCommandLinePrivate = *mut _GApplicationCommandLinePrivate; 1305 1306 #[repr(C)] 1307 pub struct _GApplicationPrivate(c_void); 1308 1309 pub type GApplicationPrivate = *mut _GApplicationPrivate; 1310 1311 #[repr(C)] 1312 #[derive(Copy, Clone)] 1313 pub struct GAsyncInitableIface { 1314 pub g_iface: gobject::GTypeInterface, 1315 pub init_async: Option< 1316 unsafe extern "C" fn( 1317 *mut GAsyncInitable, 1318 c_int, 1319 *mut GCancellable, 1320 GAsyncReadyCallback, 1321 gpointer, 1322 ), 1323 >, 1324 pub init_finish: Option< 1325 unsafe extern "C" fn( 1326 *mut GAsyncInitable, 1327 *mut GAsyncResult, 1328 *mut *mut glib::GError, 1329 ) -> gboolean, 1330 >, 1331 } 1332 1333 impl ::std::fmt::Debug for GAsyncInitableIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1334 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1335 f.debug_struct(&format!("GAsyncInitableIface @ {:p}", self)) 1336 .field("g_iface", &self.g_iface) 1337 .field("init_async", &self.init_async) 1338 .field("init_finish", &self.init_finish) 1339 .finish() 1340 } 1341 } 1342 1343 #[repr(C)] 1344 #[derive(Copy, Clone)] 1345 pub struct GAsyncResultIface { 1346 pub g_iface: gobject::GTypeInterface, 1347 pub get_user_data: Option<unsafe extern "C" fn(*mut GAsyncResult) -> gpointer>, 1348 pub get_source_object: Option<unsafe extern "C" fn(*mut GAsyncResult) -> *mut gobject::GObject>, 1349 pub is_tagged: Option<unsafe extern "C" fn(*mut GAsyncResult, gpointer) -> gboolean>, 1350 } 1351 1352 impl ::std::fmt::Debug for GAsyncResultIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1353 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1354 f.debug_struct(&format!("GAsyncResultIface @ {:p}", self)) 1355 .field("g_iface", &self.g_iface) 1356 .field("get_user_data", &self.get_user_data) 1357 .field("get_source_object", &self.get_source_object) 1358 .field("is_tagged", &self.is_tagged) 1359 .finish() 1360 } 1361 } 1362 1363 #[repr(C)] 1364 #[derive(Copy, Clone)] 1365 pub struct GBufferedInputStreamClass { 1366 pub parent_class: GFilterInputStreamClass, 1367 pub fill: Option< 1368 unsafe extern "C" fn( 1369 *mut GBufferedInputStream, 1370 ssize_t, 1371 *mut GCancellable, 1372 *mut *mut glib::GError, 1373 ) -> ssize_t, 1374 >, 1375 pub fill_async: Option< 1376 unsafe extern "C" fn( 1377 *mut GBufferedInputStream, 1378 ssize_t, 1379 c_int, 1380 *mut GCancellable, 1381 GAsyncReadyCallback, 1382 gpointer, 1383 ), 1384 >, 1385 pub fill_finish: Option< 1386 unsafe extern "C" fn( 1387 *mut GBufferedInputStream, 1388 *mut GAsyncResult, 1389 *mut *mut glib::GError, 1390 ) -> ssize_t, 1391 >, 1392 pub _g_reserved1: Option<unsafe extern "C" fn()>, 1393 pub _g_reserved2: Option<unsafe extern "C" fn()>, 1394 pub _g_reserved3: Option<unsafe extern "C" fn()>, 1395 pub _g_reserved4: Option<unsafe extern "C" fn()>, 1396 pub _g_reserved5: Option<unsafe extern "C" fn()>, 1397 } 1398 1399 impl ::std::fmt::Debug for GBufferedInputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1400 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1401 f.debug_struct(&format!("GBufferedInputStreamClass @ {:p}", self)) 1402 .field("parent_class", &self.parent_class) 1403 .field("fill", &self.fill) 1404 .field("fill_async", &self.fill_async) 1405 .field("fill_finish", &self.fill_finish) 1406 .field("_g_reserved1", &self._g_reserved1) 1407 .field("_g_reserved2", &self._g_reserved2) 1408 .field("_g_reserved3", &self._g_reserved3) 1409 .field("_g_reserved4", &self._g_reserved4) 1410 .field("_g_reserved5", &self._g_reserved5) 1411 .finish() 1412 } 1413 } 1414 1415 #[repr(C)] 1416 pub struct _GBufferedInputStreamPrivate(c_void); 1417 1418 pub type GBufferedInputStreamPrivate = *mut _GBufferedInputStreamPrivate; 1419 1420 #[repr(C)] 1421 #[derive(Copy, Clone)] 1422 pub struct GBufferedOutputStreamClass { 1423 pub parent_class: GFilterOutputStreamClass, 1424 pub _g_reserved1: Option<unsafe extern "C" fn()>, 1425 pub _g_reserved2: Option<unsafe extern "C" fn()>, 1426 } 1427 1428 impl ::std::fmt::Debug for GBufferedOutputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1429 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1430 f.debug_struct(&format!("GBufferedOutputStreamClass @ {:p}", self)) 1431 .field("parent_class", &self.parent_class) 1432 .field("_g_reserved1", &self._g_reserved1) 1433 .field("_g_reserved2", &self._g_reserved2) 1434 .finish() 1435 } 1436 } 1437 1438 #[repr(C)] 1439 pub struct _GBufferedOutputStreamPrivate(c_void); 1440 1441 pub type GBufferedOutputStreamPrivate = *mut _GBufferedOutputStreamPrivate; 1442 1443 #[repr(C)] 1444 #[derive(Copy, Clone)] 1445 pub struct GCancellableClass { 1446 pub parent_class: gobject::GObjectClass, 1447 pub cancelled: Option<unsafe extern "C" fn(*mut GCancellable)>, 1448 pub _g_reserved1: Option<unsafe extern "C" fn()>, 1449 pub _g_reserved2: Option<unsafe extern "C" fn()>, 1450 pub _g_reserved3: Option<unsafe extern "C" fn()>, 1451 pub _g_reserved4: Option<unsafe extern "C" fn()>, 1452 pub _g_reserved5: Option<unsafe extern "C" fn()>, 1453 } 1454 1455 impl ::std::fmt::Debug for GCancellableClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1456 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1457 f.debug_struct(&format!("GCancellableClass @ {:p}", self)) 1458 .field("parent_class", &self.parent_class) 1459 .field("cancelled", &self.cancelled) 1460 .field("_g_reserved1", &self._g_reserved1) 1461 .field("_g_reserved2", &self._g_reserved2) 1462 .field("_g_reserved3", &self._g_reserved3) 1463 .field("_g_reserved4", &self._g_reserved4) 1464 .field("_g_reserved5", &self._g_reserved5) 1465 .finish() 1466 } 1467 } 1468 1469 #[repr(C)] 1470 pub struct _GCancellablePrivate(c_void); 1471 1472 pub type GCancellablePrivate = *mut _GCancellablePrivate; 1473 1474 #[repr(C)] 1475 #[derive(Copy, Clone)] 1476 pub struct GCharsetConverterClass { 1477 pub parent_class: gobject::GObjectClass, 1478 } 1479 1480 impl ::std::fmt::Debug for GCharsetConverterClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1481 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1482 f.debug_struct(&format!("GCharsetConverterClass @ {:p}", self)) 1483 .field("parent_class", &self.parent_class) 1484 .finish() 1485 } 1486 } 1487 1488 #[repr(C)] 1489 #[derive(Copy, Clone)] 1490 pub struct GConverterIface { 1491 pub g_iface: gobject::GTypeInterface, 1492 pub convert: Option< 1493 unsafe extern "C" fn( 1494 *mut GConverter, 1495 *mut u8, 1496 size_t, 1497 *mut u8, 1498 size_t, 1499 GConverterFlags, 1500 *mut size_t, 1501 *mut size_t, 1502 *mut *mut glib::GError, 1503 ) -> GConverterResult, 1504 >, 1505 pub reset: Option<unsafe extern "C" fn(*mut GConverter)>, 1506 } 1507 1508 impl ::std::fmt::Debug for GConverterIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1509 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1510 f.debug_struct(&format!("GConverterIface @ {:p}", self)) 1511 .field("g_iface", &self.g_iface) 1512 .field("convert", &self.convert) 1513 .field("reset", &self.reset) 1514 .finish() 1515 } 1516 } 1517 1518 #[repr(C)] 1519 #[derive(Copy, Clone)] 1520 pub struct GConverterInputStreamClass { 1521 pub parent_class: GFilterInputStreamClass, 1522 pub _g_reserved1: Option<unsafe extern "C" fn()>, 1523 pub _g_reserved2: Option<unsafe extern "C" fn()>, 1524 pub _g_reserved3: Option<unsafe extern "C" fn()>, 1525 pub _g_reserved4: Option<unsafe extern "C" fn()>, 1526 pub _g_reserved5: Option<unsafe extern "C" fn()>, 1527 } 1528 1529 impl ::std::fmt::Debug for GConverterInputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1530 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1531 f.debug_struct(&format!("GConverterInputStreamClass @ {:p}", self)) 1532 .field("parent_class", &self.parent_class) 1533 .field("_g_reserved1", &self._g_reserved1) 1534 .field("_g_reserved2", &self._g_reserved2) 1535 .field("_g_reserved3", &self._g_reserved3) 1536 .field("_g_reserved4", &self._g_reserved4) 1537 .field("_g_reserved5", &self._g_reserved5) 1538 .finish() 1539 } 1540 } 1541 1542 #[repr(C)] 1543 pub struct _GConverterInputStreamPrivate(c_void); 1544 1545 pub type GConverterInputStreamPrivate = *mut _GConverterInputStreamPrivate; 1546 1547 #[repr(C)] 1548 #[derive(Copy, Clone)] 1549 pub struct GConverterOutputStreamClass { 1550 pub parent_class: GFilterOutputStreamClass, 1551 pub _g_reserved1: Option<unsafe extern "C" fn()>, 1552 pub _g_reserved2: Option<unsafe extern "C" fn()>, 1553 pub _g_reserved3: Option<unsafe extern "C" fn()>, 1554 pub _g_reserved4: Option<unsafe extern "C" fn()>, 1555 pub _g_reserved5: Option<unsafe extern "C" fn()>, 1556 } 1557 1558 impl ::std::fmt::Debug for GConverterOutputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1559 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1560 f.debug_struct(&format!("GConverterOutputStreamClass @ {:p}", self)) 1561 .field("parent_class", &self.parent_class) 1562 .field("_g_reserved1", &self._g_reserved1) 1563 .field("_g_reserved2", &self._g_reserved2) 1564 .field("_g_reserved3", &self._g_reserved3) 1565 .field("_g_reserved4", &self._g_reserved4) 1566 .field("_g_reserved5", &self._g_reserved5) 1567 .finish() 1568 } 1569 } 1570 1571 #[repr(C)] 1572 pub struct _GConverterOutputStreamPrivate(c_void); 1573 1574 pub type GConverterOutputStreamPrivate = *mut _GConverterOutputStreamPrivate; 1575 1576 #[repr(C)] 1577 pub struct _GCredentialsClass(c_void); 1578 1579 pub type GCredentialsClass = *mut _GCredentialsClass; 1580 1581 #[repr(C)] 1582 #[derive(Copy, Clone)] 1583 pub struct GDBusAnnotationInfo { 1584 pub ref_count: c_int, 1585 pub key: *mut c_char, 1586 pub value: *mut c_char, 1587 pub annotations: *mut *mut GDBusAnnotationInfo, 1588 } 1589 1590 impl ::std::fmt::Debug for GDBusAnnotationInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1591 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1592 f.debug_struct(&format!("GDBusAnnotationInfo @ {:p}", self)) 1593 .field("key", &self.key) 1594 .field("value", &self.value) 1595 .field("annotations", &self.annotations) 1596 .finish() 1597 } 1598 } 1599 1600 #[repr(C)] 1601 #[derive(Copy, Clone)] 1602 pub struct GDBusArgInfo { 1603 pub ref_count: c_int, 1604 pub name: *mut c_char, 1605 pub signature: *mut c_char, 1606 pub annotations: *mut *mut GDBusAnnotationInfo, 1607 } 1608 1609 impl ::std::fmt::Debug for GDBusArgInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1610 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1611 f.debug_struct(&format!("GDBusArgInfo @ {:p}", self)) 1612 .field("name", &self.name) 1613 .field("signature", &self.signature) 1614 .field("annotations", &self.annotations) 1615 .finish() 1616 } 1617 } 1618 1619 #[repr(C)] 1620 #[derive(Copy, Clone)] 1621 pub struct GDBusErrorEntry { 1622 pub error_code: c_int, 1623 pub dbus_error_name: *const c_char, 1624 } 1625 1626 impl ::std::fmt::Debug for GDBusErrorEntry { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1627 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1628 f.debug_struct(&format!("GDBusErrorEntry @ {:p}", self)) 1629 .field("error_code", &self.error_code) 1630 .field("dbus_error_name", &self.dbus_error_name) 1631 .finish() 1632 } 1633 } 1634 1635 #[repr(C)] 1636 #[derive(Copy, Clone)] 1637 pub struct GDBusInterfaceIface { 1638 pub parent_iface: gobject::GTypeInterface, 1639 pub get_info: Option<unsafe extern "C" fn(*mut GDBusInterface) -> *mut GDBusInterfaceInfo>, 1640 pub get_object: Option<unsafe extern "C" fn(*mut GDBusInterface) -> *mut GDBusObject>, 1641 pub set_object: Option<unsafe extern "C" fn(*mut GDBusInterface, *mut GDBusObject)>, 1642 pub dup_object: Option<unsafe extern "C" fn(*mut GDBusInterface) -> *mut GDBusObject>, 1643 } 1644 1645 impl ::std::fmt::Debug for GDBusInterfaceIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1646 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1647 f.debug_struct(&format!("GDBusInterfaceIface @ {:p}", self)) 1648 .field("parent_iface", &self.parent_iface) 1649 .field("get_info", &self.get_info) 1650 .field("get_object", &self.get_object) 1651 .field("set_object", &self.set_object) 1652 .field("dup_object", &self.dup_object) 1653 .finish() 1654 } 1655 } 1656 1657 #[repr(C)] 1658 #[derive(Copy, Clone)] 1659 pub struct GDBusInterfaceInfo { 1660 pub ref_count: c_int, 1661 pub name: *mut c_char, 1662 pub methods: *mut *mut GDBusMethodInfo, 1663 pub signals: *mut *mut GDBusSignalInfo, 1664 pub properties: *mut *mut GDBusPropertyInfo, 1665 pub annotations: *mut *mut GDBusAnnotationInfo, 1666 } 1667 1668 impl ::std::fmt::Debug for GDBusInterfaceInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1669 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1670 f.debug_struct(&format!("GDBusInterfaceInfo @ {:p}", self)) 1671 .field("name", &self.name) 1672 .field("methods", &self.methods) 1673 .field("signals", &self.signals) 1674 .field("properties", &self.properties) 1675 .field("annotations", &self.annotations) 1676 .finish() 1677 } 1678 } 1679 1680 #[repr(C)] 1681 #[derive(Copy, Clone)] 1682 pub struct GDBusInterfaceSkeletonClass { 1683 pub parent_class: gobject::GObjectClass, 1684 pub get_info: 1685 Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton) -> *mut GDBusInterfaceInfo>, 1686 pub get_vtable: 1687 Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton) -> *mut GDBusInterfaceVTable>, 1688 pub get_properties: 1689 Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton) -> *mut glib::GVariant>, 1690 pub flush: Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton)>, 1691 pub vfunc_padding: [gpointer; 8], 1692 pub g_authorize_method: Option< 1693 unsafe extern "C" fn(*mut GDBusInterfaceSkeleton, *mut GDBusMethodInvocation) -> gboolean, 1694 >, 1695 pub signal_padding: [gpointer; 8], 1696 } 1697 1698 impl ::std::fmt::Debug for GDBusInterfaceSkeletonClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1699 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1700 f.debug_struct(&format!("GDBusInterfaceSkeletonClass @ {:p}", self)) 1701 .field("parent_class", &self.parent_class) 1702 .field("get_info", &self.get_info) 1703 .field("get_vtable", &self.get_vtable) 1704 .field("get_properties", &self.get_properties) 1705 .field("flush", &self.flush) 1706 .field("g_authorize_method", &self.g_authorize_method) 1707 .finish() 1708 } 1709 } 1710 1711 #[repr(C)] 1712 pub struct _GDBusInterfaceSkeletonPrivate(c_void); 1713 1714 pub type GDBusInterfaceSkeletonPrivate = *mut _GDBusInterfaceSkeletonPrivate; 1715 1716 #[repr(C)] 1717 #[derive(Copy, Clone)] 1718 pub struct GDBusInterfaceVTable { 1719 pub method_call: GDBusInterfaceMethodCallFunc, 1720 pub get_property: GDBusInterfaceGetPropertyFunc, 1721 pub set_property: GDBusInterfaceSetPropertyFunc, 1722 pub padding: [gpointer; 8], 1723 } 1724 1725 impl ::std::fmt::Debug for GDBusInterfaceVTable { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1726 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1727 f.debug_struct(&format!("GDBusInterfaceVTable @ {:p}", self)) 1728 .field("method_call", &self.method_call) 1729 .field("get_property", &self.get_property) 1730 .field("set_property", &self.set_property) 1731 .finish() 1732 } 1733 } 1734 1735 #[repr(C)] 1736 #[derive(Copy, Clone)] 1737 pub struct GDBusMethodInfo { 1738 pub ref_count: c_int, 1739 pub name: *mut c_char, 1740 pub in_args: *mut *mut GDBusArgInfo, 1741 pub out_args: *mut *mut GDBusArgInfo, 1742 pub annotations: *mut *mut GDBusAnnotationInfo, 1743 } 1744 1745 impl ::std::fmt::Debug for GDBusMethodInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1746 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1747 f.debug_struct(&format!("GDBusMethodInfo @ {:p}", self)) 1748 .field("name", &self.name) 1749 .field("in_args", &self.in_args) 1750 .field("out_args", &self.out_args) 1751 .field("annotations", &self.annotations) 1752 .finish() 1753 } 1754 } 1755 1756 #[repr(C)] 1757 #[derive(Copy, Clone)] 1758 pub struct GDBusNodeInfo { 1759 pub ref_count: c_int, 1760 pub path: *mut c_char, 1761 pub interfaces: *mut *mut GDBusInterfaceInfo, 1762 pub nodes: *mut *mut GDBusNodeInfo, 1763 pub annotations: *mut *mut GDBusAnnotationInfo, 1764 } 1765 1766 impl ::std::fmt::Debug for GDBusNodeInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1767 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1768 f.debug_struct(&format!("GDBusNodeInfo @ {:p}", self)) 1769 .field("path", &self.path) 1770 .field("interfaces", &self.interfaces) 1771 .field("nodes", &self.nodes) 1772 .field("annotations", &self.annotations) 1773 .finish() 1774 } 1775 } 1776 1777 #[repr(C)] 1778 #[derive(Copy, Clone)] 1779 pub struct GDBusObjectIface { 1780 pub parent_iface: gobject::GTypeInterface, 1781 pub get_object_path: Option<unsafe extern "C" fn(*mut GDBusObject) -> *const c_char>, 1782 pub get_interfaces: Option<unsafe extern "C" fn(*mut GDBusObject) -> *mut glib::GList>, 1783 pub get_interface: 1784 Option<unsafe extern "C" fn(*mut GDBusObject, *const c_char) -> *mut GDBusInterface>, 1785 pub interface_added: Option<unsafe extern "C" fn(*mut GDBusObject, *mut GDBusInterface)>, 1786 pub interface_removed: Option<unsafe extern "C" fn(*mut GDBusObject, *mut GDBusInterface)>, 1787 } 1788 1789 impl ::std::fmt::Debug for GDBusObjectIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1790 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1791 f.debug_struct(&format!("GDBusObjectIface @ {:p}", self)) 1792 .field("parent_iface", &self.parent_iface) 1793 .field("get_object_path", &self.get_object_path) 1794 .field("get_interfaces", &self.get_interfaces) 1795 .field("get_interface", &self.get_interface) 1796 .field("interface_added", &self.interface_added) 1797 .field("interface_removed", &self.interface_removed) 1798 .finish() 1799 } 1800 } 1801 1802 #[repr(C)] 1803 #[derive(Copy, Clone)] 1804 pub struct GDBusObjectManagerClientClass { 1805 pub parent_class: gobject::GObjectClass, 1806 pub interface_proxy_signal: Option< 1807 unsafe extern "C" fn( 1808 *mut GDBusObjectManagerClient, 1809 *mut GDBusObjectProxy, 1810 *mut GDBusProxy, 1811 *const c_char, 1812 *const c_char, 1813 *mut glib::GVariant, 1814 ), 1815 >, 1816 pub interface_proxy_properties_changed: Option< 1817 unsafe extern "C" fn( 1818 *mut GDBusObjectManagerClient, 1819 *mut GDBusObjectProxy, 1820 *mut GDBusProxy, 1821 *mut glib::GVariant, 1822 *const *const c_char, 1823 ), 1824 >, 1825 pub padding: [gpointer; 8], 1826 } 1827 1828 impl ::std::fmt::Debug for GDBusObjectManagerClientClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1829 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1830 f.debug_struct(&format!("GDBusObjectManagerClientClass @ {:p}", self)) 1831 .field("parent_class", &self.parent_class) 1832 .field("interface_proxy_signal", &self.interface_proxy_signal) 1833 .field( 1834 "interface_proxy_properties_changed", 1835 &self.interface_proxy_properties_changed, 1836 ) 1837 .finish() 1838 } 1839 } 1840 1841 #[repr(C)] 1842 pub struct _GDBusObjectManagerClientPrivate(c_void); 1843 1844 pub type GDBusObjectManagerClientPrivate = *mut _GDBusObjectManagerClientPrivate; 1845 1846 #[repr(C)] 1847 #[derive(Copy, Clone)] 1848 pub struct GDBusObjectManagerIface { 1849 pub parent_iface: gobject::GTypeInterface, 1850 pub get_object_path: Option<unsafe extern "C" fn(*mut GDBusObjectManager) -> *const c_char>, 1851 pub get_objects: Option<unsafe extern "C" fn(*mut GDBusObjectManager) -> *mut glib::GList>, 1852 pub get_object: 1853 Option<unsafe extern "C" fn(*mut GDBusObjectManager, *const c_char) -> *mut GDBusObject>, 1854 pub get_interface: Option< 1855 unsafe extern "C" fn( 1856 *mut GDBusObjectManager, 1857 *const c_char, 1858 *const c_char, 1859 ) -> *mut GDBusInterface, 1860 >, 1861 pub object_added: Option<unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject)>, 1862 pub object_removed: Option<unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject)>, 1863 pub interface_added: Option< 1864 unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject, *mut GDBusInterface), 1865 >, 1866 pub interface_removed: Option< 1867 unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject, *mut GDBusInterface), 1868 >, 1869 } 1870 1871 impl ::std::fmt::Debug for GDBusObjectManagerIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1872 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1873 f.debug_struct(&format!("GDBusObjectManagerIface @ {:p}", self)) 1874 .field("parent_iface", &self.parent_iface) 1875 .field("get_object_path", &self.get_object_path) 1876 .field("get_objects", &self.get_objects) 1877 .field("get_object", &self.get_object) 1878 .field("get_interface", &self.get_interface) 1879 .field("object_added", &self.object_added) 1880 .field("object_removed", &self.object_removed) 1881 .field("interface_added", &self.interface_added) 1882 .field("interface_removed", &self.interface_removed) 1883 .finish() 1884 } 1885 } 1886 1887 #[repr(C)] 1888 #[derive(Copy, Clone)] 1889 pub struct GDBusObjectManagerServerClass { 1890 pub parent_class: gobject::GObjectClass, 1891 pub padding: [gpointer; 8], 1892 } 1893 1894 impl ::std::fmt::Debug for GDBusObjectManagerServerClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1895 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1896 f.debug_struct(&format!("GDBusObjectManagerServerClass @ {:p}", self)) 1897 .field("parent_class", &self.parent_class) 1898 .finish() 1899 } 1900 } 1901 1902 #[repr(C)] 1903 pub struct _GDBusObjectManagerServerPrivate(c_void); 1904 1905 pub type GDBusObjectManagerServerPrivate = *mut _GDBusObjectManagerServerPrivate; 1906 1907 #[repr(C)] 1908 #[derive(Copy, Clone)] 1909 pub struct GDBusObjectProxyClass { 1910 pub parent_class: gobject::GObjectClass, 1911 pub padding: [gpointer; 8], 1912 } 1913 1914 impl ::std::fmt::Debug for GDBusObjectProxyClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1915 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1916 f.debug_struct(&format!("GDBusObjectProxyClass @ {:p}", self)) 1917 .field("parent_class", &self.parent_class) 1918 .finish() 1919 } 1920 } 1921 1922 #[repr(C)] 1923 pub struct _GDBusObjectProxyPrivate(c_void); 1924 1925 pub type GDBusObjectProxyPrivate = *mut _GDBusObjectProxyPrivate; 1926 1927 #[repr(C)] 1928 #[derive(Copy, Clone)] 1929 pub struct GDBusObjectSkeletonClass { 1930 pub parent_class: gobject::GObjectClass, 1931 pub authorize_method: Option< 1932 unsafe extern "C" fn( 1933 *mut GDBusObjectSkeleton, 1934 *mut GDBusInterfaceSkeleton, 1935 *mut GDBusMethodInvocation, 1936 ) -> gboolean, 1937 >, 1938 pub padding: [gpointer; 8], 1939 } 1940 1941 impl ::std::fmt::Debug for GDBusObjectSkeletonClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1942 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1943 f.debug_struct(&format!("GDBusObjectSkeletonClass @ {:p}", self)) 1944 .field("parent_class", &self.parent_class) 1945 .field("authorize_method", &self.authorize_method) 1946 .finish() 1947 } 1948 } 1949 1950 #[repr(C)] 1951 pub struct _GDBusObjectSkeletonPrivate(c_void); 1952 1953 pub type GDBusObjectSkeletonPrivate = *mut _GDBusObjectSkeletonPrivate; 1954 1955 #[repr(C)] 1956 #[derive(Copy, Clone)] 1957 pub struct GDBusPropertyInfo { 1958 pub ref_count: c_int, 1959 pub name: *mut c_char, 1960 pub signature: *mut c_char, 1961 pub flags: GDBusPropertyInfoFlags, 1962 pub annotations: *mut *mut GDBusAnnotationInfo, 1963 } 1964 1965 impl ::std::fmt::Debug for GDBusPropertyInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1966 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1967 f.debug_struct(&format!("GDBusPropertyInfo @ {:p}", self)) 1968 .field("name", &self.name) 1969 .field("signature", &self.signature) 1970 .field("flags", &self.flags) 1971 .field("annotations", &self.annotations) 1972 .finish() 1973 } 1974 } 1975 1976 #[repr(C)] 1977 #[derive(Copy, Clone)] 1978 pub struct GDBusProxyClass { 1979 pub parent_class: gobject::GObjectClass, 1980 pub g_properties_changed: 1981 Option<unsafe extern "C" fn(*mut GDBusProxy, *mut glib::GVariant, *const *const c_char)>, 1982 pub g_signal: Option< 1983 unsafe extern "C" fn(*mut GDBusProxy, *const c_char, *const c_char, *mut glib::GVariant), 1984 >, 1985 pub padding: [gpointer; 32], 1986 } 1987 1988 impl ::std::fmt::Debug for GDBusProxyClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1989 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1990 f.debug_struct(&format!("GDBusProxyClass @ {:p}", self)) 1991 .field("g_properties_changed", &self.g_properties_changed) 1992 .field("g_signal", &self.g_signal) 1993 .finish() 1994 } 1995 } 1996 1997 #[repr(C)] 1998 pub struct _GDBusProxyPrivate(c_void); 1999 2000 pub type GDBusProxyPrivate = *mut _GDBusProxyPrivate; 2001 2002 #[repr(C)] 2003 #[derive(Copy, Clone)] 2004 pub struct GDBusSignalInfo { 2005 pub ref_count: c_int, 2006 pub name: *mut c_char, 2007 pub args: *mut *mut GDBusArgInfo, 2008 pub annotations: *mut *mut GDBusAnnotationInfo, 2009 } 2010 2011 impl ::std::fmt::Debug for GDBusSignalInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2012 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2013 f.debug_struct(&format!("GDBusSignalInfo @ {:p}", self)) 2014 .field("name", &self.name) 2015 .field("args", &self.args) 2016 .field("annotations", &self.annotations) 2017 .finish() 2018 } 2019 } 2020 2021 #[repr(C)] 2022 #[derive(Copy, Clone)] 2023 pub struct GDBusSubtreeVTable { 2024 pub enumerate: GDBusSubtreeEnumerateFunc, 2025 pub introspect: GDBusSubtreeIntrospectFunc, 2026 pub dispatch: GDBusSubtreeDispatchFunc, 2027 pub padding: [gpointer; 8], 2028 } 2029 2030 impl ::std::fmt::Debug for GDBusSubtreeVTable { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2031 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2032 f.debug_struct(&format!("GDBusSubtreeVTable @ {:p}", self)) 2033 .field("enumerate", &self.enumerate) 2034 .field("introspect", &self.introspect) 2035 .field("dispatch", &self.dispatch) 2036 .finish() 2037 } 2038 } 2039 2040 #[repr(C)] 2041 #[derive(Copy, Clone)] 2042 pub struct GDataInputStreamClass { 2043 pub parent_class: GBufferedInputStreamClass, 2044 pub _g_reserved1: Option<unsafe extern "C" fn()>, 2045 pub _g_reserved2: Option<unsafe extern "C" fn()>, 2046 pub _g_reserved3: Option<unsafe extern "C" fn()>, 2047 pub _g_reserved4: Option<unsafe extern "C" fn()>, 2048 pub _g_reserved5: Option<unsafe extern "C" fn()>, 2049 } 2050 2051 impl ::std::fmt::Debug for GDataInputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2052 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2053 f.debug_struct(&format!("GDataInputStreamClass @ {:p}", self)) 2054 .field("parent_class", &self.parent_class) 2055 .field("_g_reserved1", &self._g_reserved1) 2056 .field("_g_reserved2", &self._g_reserved2) 2057 .field("_g_reserved3", &self._g_reserved3) 2058 .field("_g_reserved4", &self._g_reserved4) 2059 .field("_g_reserved5", &self._g_reserved5) 2060 .finish() 2061 } 2062 } 2063 2064 #[repr(C)] 2065 pub struct _GDataInputStreamPrivate(c_void); 2066 2067 pub type GDataInputStreamPrivate = *mut _GDataInputStreamPrivate; 2068 2069 #[repr(C)] 2070 #[derive(Copy, Clone)] 2071 pub struct GDataOutputStreamClass { 2072 pub parent_class: GFilterOutputStreamClass, 2073 pub _g_reserved1: Option<unsafe extern "C" fn()>, 2074 pub _g_reserved2: Option<unsafe extern "C" fn()>, 2075 pub _g_reserved3: Option<unsafe extern "C" fn()>, 2076 pub _g_reserved4: Option<unsafe extern "C" fn()>, 2077 pub _g_reserved5: Option<unsafe extern "C" fn()>, 2078 } 2079 2080 impl ::std::fmt::Debug for GDataOutputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2081 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2082 f.debug_struct(&format!("GDataOutputStreamClass @ {:p}", self)) 2083 .field("parent_class", &self.parent_class) 2084 .field("_g_reserved1", &self._g_reserved1) 2085 .field("_g_reserved2", &self._g_reserved2) 2086 .field("_g_reserved3", &self._g_reserved3) 2087 .field("_g_reserved4", &self._g_reserved4) 2088 .field("_g_reserved5", &self._g_reserved5) 2089 .finish() 2090 } 2091 } 2092 2093 #[repr(C)] 2094 pub struct _GDataOutputStreamPrivate(c_void); 2095 2096 pub type GDataOutputStreamPrivate = *mut _GDataOutputStreamPrivate; 2097 2098 #[repr(C)] 2099 #[derive(Copy, Clone)] 2100 pub struct GDatagramBasedInterface { 2101 pub g_iface: gobject::GTypeInterface, 2102 pub receive_messages: Option< 2103 unsafe extern "C" fn( 2104 *mut GDatagramBased, 2105 *mut GInputMessage, 2106 c_uint, 2107 c_int, 2108 i64, 2109 *mut GCancellable, 2110 *mut *mut glib::GError, 2111 ) -> c_int, 2112 >, 2113 pub send_messages: Option< 2114 unsafe extern "C" fn( 2115 *mut GDatagramBased, 2116 *mut GOutputMessage, 2117 c_uint, 2118 c_int, 2119 i64, 2120 *mut GCancellable, 2121 *mut *mut glib::GError, 2122 ) -> c_int, 2123 >, 2124 pub create_source: Option< 2125 unsafe extern "C" fn( 2126 *mut GDatagramBased, 2127 glib::GIOCondition, 2128 *mut GCancellable, 2129 ) -> *mut glib::GSource, 2130 >, 2131 pub condition_check: 2132 Option<unsafe extern "C" fn(*mut GDatagramBased, glib::GIOCondition) -> glib::GIOCondition>, 2133 pub condition_wait: Option< 2134 unsafe extern "C" fn( 2135 *mut GDatagramBased, 2136 glib::GIOCondition, 2137 i64, 2138 *mut GCancellable, 2139 *mut *mut glib::GError, 2140 ) -> gboolean, 2141 >, 2142 } 2143 2144 impl ::std::fmt::Debug for GDatagramBasedInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2145 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2146 f.debug_struct(&format!("GDatagramBasedInterface @ {:p}", self)) 2147 .field("g_iface", &self.g_iface) 2148 .field("receive_messages", &self.receive_messages) 2149 .field("send_messages", &self.send_messages) 2150 .field("create_source", &self.create_source) 2151 .field("condition_check", &self.condition_check) 2152 .field("condition_wait", &self.condition_wait) 2153 .finish() 2154 } 2155 } 2156 2157 #[repr(C)] 2158 #[derive(Copy, Clone)] 2159 pub struct GDesktopAppInfoClass { 2160 pub parent_class: gobject::GObjectClass, 2161 } 2162 2163 impl ::std::fmt::Debug for GDesktopAppInfoClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2164 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2165 f.debug_struct(&format!("GDesktopAppInfoClass @ {:p}", self)) 2166 .field("parent_class", &self.parent_class) 2167 .finish() 2168 } 2169 } 2170 2171 #[repr(C)] 2172 #[derive(Copy, Clone)] 2173 pub struct GDesktopAppInfoLookupIface { 2174 pub g_iface: gobject::GTypeInterface, 2175 pub get_default_for_uri_scheme: 2176 Option<unsafe extern "C" fn(*mut GDesktopAppInfoLookup, *const c_char) -> *mut GAppInfo>, 2177 } 2178 2179 impl ::std::fmt::Debug for GDesktopAppInfoLookupIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2180 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2181 f.debug_struct(&format!("GDesktopAppInfoLookupIface @ {:p}", self)) 2182 .field("g_iface", &self.g_iface) 2183 .field( 2184 "get_default_for_uri_scheme", 2185 &self.get_default_for_uri_scheme, 2186 ) 2187 .finish() 2188 } 2189 } 2190 2191 #[repr(C)] 2192 #[derive(Copy, Clone)] 2193 pub struct GDriveIface { 2194 pub g_iface: gobject::GTypeInterface, 2195 pub changed: Option<unsafe extern "C" fn(*mut GDrive)>, 2196 pub disconnected: Option<unsafe extern "C" fn(*mut GDrive)>, 2197 pub eject_button: Option<unsafe extern "C" fn(*mut GDrive)>, 2198 pub get_name: Option<unsafe extern "C" fn(*mut GDrive) -> *const c_char>, 2199 pub get_icon: Option<unsafe extern "C" fn(*mut GDrive) -> *mut GIcon>, 2200 pub has_volumes: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, 2201 pub get_volumes: Option<unsafe extern "C" fn(*mut GDrive) -> *mut glib::GList>, 2202 pub is_media_removable: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, 2203 pub has_media: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, 2204 pub is_media_check_automatic: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, 2205 pub can_eject: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, 2206 pub can_poll_for_media: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, 2207 pub eject: Option< 2208 unsafe extern "C" fn( 2209 *mut GDrive, 2210 GMountUnmountFlags, 2211 *mut GCancellable, 2212 GAsyncReadyCallback, 2213 gpointer, 2214 ), 2215 >, 2216 pub eject_finish: Option< 2217 unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 2218 >, 2219 pub poll_for_media: 2220 Option<unsafe extern "C" fn(*mut GDrive, *mut GCancellable, GAsyncReadyCallback, gpointer)>, 2221 pub poll_for_media_finish: Option< 2222 unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 2223 >, 2224 pub get_identifier: Option<unsafe extern "C" fn(*mut GDrive, *const c_char) -> *mut c_char>, 2225 pub enumerate_identifiers: Option<unsafe extern "C" fn(*mut GDrive) -> *mut *mut c_char>, 2226 pub get_start_stop_type: Option<unsafe extern "C" fn(*mut GDrive) -> GDriveStartStopType>, 2227 pub can_start: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, 2228 pub can_start_degraded: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, 2229 pub start: Option< 2230 unsafe extern "C" fn( 2231 *mut GDrive, 2232 GDriveStartFlags, 2233 *mut GMountOperation, 2234 *mut GCancellable, 2235 GAsyncReadyCallback, 2236 gpointer, 2237 ), 2238 >, 2239 pub start_finish: Option< 2240 unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 2241 >, 2242 pub can_stop: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, 2243 pub stop: Option< 2244 unsafe extern "C" fn( 2245 *mut GDrive, 2246 GMountUnmountFlags, 2247 *mut GMountOperation, 2248 *mut GCancellable, 2249 GAsyncReadyCallback, 2250 gpointer, 2251 ), 2252 >, 2253 pub stop_finish: Option< 2254 unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 2255 >, 2256 pub stop_button: Option<unsafe extern "C" fn(*mut GDrive)>, 2257 pub eject_with_operation: Option< 2258 unsafe extern "C" fn( 2259 *mut GDrive, 2260 GMountUnmountFlags, 2261 *mut GMountOperation, 2262 *mut GCancellable, 2263 GAsyncReadyCallback, 2264 gpointer, 2265 ), 2266 >, 2267 pub eject_with_operation_finish: Option< 2268 unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 2269 >, 2270 pub get_sort_key: Option<unsafe extern "C" fn(*mut GDrive) -> *const c_char>, 2271 pub get_symbolic_icon: Option<unsafe extern "C" fn(*mut GDrive) -> *mut GIcon>, 2272 pub is_removable: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, 2273 } 2274 2275 impl ::std::fmt::Debug for GDriveIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2276 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2277 f.debug_struct(&format!("GDriveIface @ {:p}", self)) 2278 .field("g_iface", &self.g_iface) 2279 .field("changed", &self.changed) 2280 .field("disconnected", &self.disconnected) 2281 .field("eject_button", &self.eject_button) 2282 .field("get_name", &self.get_name) 2283 .field("get_icon", &self.get_icon) 2284 .field("has_volumes", &self.has_volumes) 2285 .field("get_volumes", &self.get_volumes) 2286 .field("is_media_removable", &self.is_media_removable) 2287 .field("has_media", &self.has_media) 2288 .field("is_media_check_automatic", &self.is_media_check_automatic) 2289 .field("can_eject", &self.can_eject) 2290 .field("can_poll_for_media", &self.can_poll_for_media) 2291 .field("eject", &self.eject) 2292 .field("eject_finish", &self.eject_finish) 2293 .field("poll_for_media", &self.poll_for_media) 2294 .field("poll_for_media_finish", &self.poll_for_media_finish) 2295 .field("get_identifier", &self.get_identifier) 2296 .field("enumerate_identifiers", &self.enumerate_identifiers) 2297 .field("get_start_stop_type", &self.get_start_stop_type) 2298 .field("can_start", &self.can_start) 2299 .field("can_start_degraded", &self.can_start_degraded) 2300 .field("start", &self.start) 2301 .field("start_finish", &self.start_finish) 2302 .field("can_stop", &self.can_stop) 2303 .field("stop", &self.stop) 2304 .field("stop_finish", &self.stop_finish) 2305 .field("stop_button", &self.stop_button) 2306 .field("eject_with_operation", &self.eject_with_operation) 2307 .field( 2308 "eject_with_operation_finish", 2309 &self.eject_with_operation_finish, 2310 ) 2311 .field("get_sort_key", &self.get_sort_key) 2312 .field("get_symbolic_icon", &self.get_symbolic_icon) 2313 .field("is_removable", &self.is_removable) 2314 .finish() 2315 } 2316 } 2317 2318 #[repr(C)] 2319 #[derive(Copy, Clone)] 2320 pub struct GDtlsClientConnectionInterface { 2321 pub g_iface: gobject::GTypeInterface, 2322 } 2323 2324 impl ::std::fmt::Debug for GDtlsClientConnectionInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2325 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2326 f.debug_struct(&format!("GDtlsClientConnectionInterface @ {:p}", self)) 2327 .field("g_iface", &self.g_iface) 2328 .finish() 2329 } 2330 } 2331 2332 #[repr(C)] 2333 #[derive(Copy, Clone)] 2334 pub struct GDtlsConnectionInterface { 2335 pub g_iface: gobject::GTypeInterface, 2336 pub accept_certificate: Option< 2337 unsafe extern "C" fn( 2338 *mut GDtlsConnection, 2339 *mut GTlsCertificate, 2340 GTlsCertificateFlags, 2341 ) -> gboolean, 2342 >, 2343 pub handshake: Option< 2344 unsafe extern "C" fn( 2345 *mut GDtlsConnection, 2346 *mut GCancellable, 2347 *mut *mut glib::GError, 2348 ) -> gboolean, 2349 >, 2350 pub handshake_async: Option< 2351 unsafe extern "C" fn( 2352 *mut GDtlsConnection, 2353 c_int, 2354 *mut GCancellable, 2355 GAsyncReadyCallback, 2356 gpointer, 2357 ), 2358 >, 2359 pub handshake_finish: Option< 2360 unsafe extern "C" fn( 2361 *mut GDtlsConnection, 2362 *mut GAsyncResult, 2363 *mut *mut glib::GError, 2364 ) -> gboolean, 2365 >, 2366 pub shutdown: Option< 2367 unsafe extern "C" fn( 2368 *mut GDtlsConnection, 2369 gboolean, 2370 gboolean, 2371 *mut GCancellable, 2372 *mut *mut glib::GError, 2373 ) -> gboolean, 2374 >, 2375 pub shutdown_async: Option< 2376 unsafe extern "C" fn( 2377 *mut GDtlsConnection, 2378 gboolean, 2379 gboolean, 2380 c_int, 2381 *mut GCancellable, 2382 GAsyncReadyCallback, 2383 gpointer, 2384 ), 2385 >, 2386 pub shutdown_finish: Option< 2387 unsafe extern "C" fn( 2388 *mut GDtlsConnection, 2389 *mut GAsyncResult, 2390 *mut *mut glib::GError, 2391 ) -> gboolean, 2392 >, 2393 pub set_advertised_protocols: 2394 Option<unsafe extern "C" fn(*mut GDtlsConnection, *const *const c_char)>, 2395 pub get_negotiated_protocol: 2396 Option<unsafe extern "C" fn(*mut GDtlsConnection) -> *const c_char>, 2397 pub get_binding_data: Option< 2398 unsafe extern "C" fn( 2399 *mut GDtlsConnection, 2400 GTlsChannelBindingType, 2401 *mut glib::GByteArray, 2402 *mut *mut glib::GError, 2403 ) -> gboolean, 2404 >, 2405 } 2406 2407 impl ::std::fmt::Debug for GDtlsConnectionInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2408 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2409 f.debug_struct(&format!("GDtlsConnectionInterface @ {:p}", self)) 2410 .field("g_iface", &self.g_iface) 2411 .field("accept_certificate", &self.accept_certificate) 2412 .field("handshake", &self.handshake) 2413 .field("handshake_async", &self.handshake_async) 2414 .field("handshake_finish", &self.handshake_finish) 2415 .field("shutdown", &self.shutdown) 2416 .field("shutdown_async", &self.shutdown_async) 2417 .field("shutdown_finish", &self.shutdown_finish) 2418 .field("set_advertised_protocols", &self.set_advertised_protocols) 2419 .field("get_negotiated_protocol", &self.get_negotiated_protocol) 2420 .field("get_binding_data", &self.get_binding_data) 2421 .finish() 2422 } 2423 } 2424 2425 #[repr(C)] 2426 #[derive(Copy, Clone)] 2427 pub struct GDtlsServerConnectionInterface { 2428 pub g_iface: gobject::GTypeInterface, 2429 } 2430 2431 impl ::std::fmt::Debug for GDtlsServerConnectionInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2432 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2433 f.debug_struct(&format!("GDtlsServerConnectionInterface @ {:p}", self)) 2434 .field("g_iface", &self.g_iface) 2435 .finish() 2436 } 2437 } 2438 2439 #[repr(C)] 2440 pub struct _GEmblemClass(c_void); 2441 2442 pub type GEmblemClass = *mut _GEmblemClass; 2443 2444 #[repr(C)] 2445 #[derive(Copy, Clone)] 2446 pub struct GEmblemedIconClass { 2447 pub parent_class: gobject::GObjectClass, 2448 } 2449 2450 impl ::std::fmt::Debug for GEmblemedIconClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2451 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2452 f.debug_struct(&format!("GEmblemedIconClass @ {:p}", self)) 2453 .field("parent_class", &self.parent_class) 2454 .finish() 2455 } 2456 } 2457 2458 #[repr(C)] 2459 pub struct _GEmblemedIconPrivate(c_void); 2460 2461 pub type GEmblemedIconPrivate = *mut _GEmblemedIconPrivate; 2462 2463 #[repr(C)] 2464 #[derive(Copy, Clone)] 2465 pub struct GFileAttributeInfo { 2466 pub name: *mut c_char, 2467 pub type_: GFileAttributeType, 2468 pub flags: GFileAttributeInfoFlags, 2469 } 2470 2471 impl ::std::fmt::Debug for GFileAttributeInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2472 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2473 f.debug_struct(&format!("GFileAttributeInfo @ {:p}", self)) 2474 .field("name", &self.name) 2475 .field("type_", &self.type_) 2476 .field("flags", &self.flags) 2477 .finish() 2478 } 2479 } 2480 2481 #[repr(C)] 2482 #[derive(Copy, Clone)] 2483 pub struct GFileAttributeInfoList { 2484 pub infos: *mut GFileAttributeInfo, 2485 pub n_infos: c_int, 2486 } 2487 2488 impl ::std::fmt::Debug for GFileAttributeInfoList { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2489 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2490 f.debug_struct(&format!("GFileAttributeInfoList @ {:p}", self)) 2491 .field("infos", &self.infos) 2492 .field("n_infos", &self.n_infos) 2493 .finish() 2494 } 2495 } 2496 2497 #[repr(C)] 2498 pub struct GFileAttributeMatcher(c_void); 2499 2500 impl ::std::fmt::Debug for GFileAttributeMatcher { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2501 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2502 f.debug_struct(&format!("GFileAttributeMatcher @ {:p}", self)) 2503 .finish() 2504 } 2505 } 2506 2507 #[repr(C)] 2508 #[derive(Copy, Clone)] 2509 pub struct GFileDescriptorBasedIface { 2510 pub g_iface: gobject::GTypeInterface, 2511 pub get_fd: Option<unsafe extern "C" fn(*mut GFileDescriptorBased) -> c_int>, 2512 } 2513 2514 impl ::std::fmt::Debug for GFileDescriptorBasedIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2515 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2516 f.debug_struct(&format!("GFileDescriptorBasedIface @ {:p}", self)) 2517 .field("g_iface", &self.g_iface) 2518 .field("get_fd", &self.get_fd) 2519 .finish() 2520 } 2521 } 2522 2523 #[repr(C)] 2524 #[derive(Copy, Clone)] 2525 pub struct GFileEnumeratorClass { 2526 pub parent_class: gobject::GObjectClass, 2527 pub next_file: Option< 2528 unsafe extern "C" fn( 2529 *mut GFileEnumerator, 2530 *mut GCancellable, 2531 *mut *mut glib::GError, 2532 ) -> *mut GFileInfo, 2533 >, 2534 pub close_fn: Option< 2535 unsafe extern "C" fn( 2536 *mut GFileEnumerator, 2537 *mut GCancellable, 2538 *mut *mut glib::GError, 2539 ) -> gboolean, 2540 >, 2541 pub next_files_async: Option< 2542 unsafe extern "C" fn( 2543 *mut GFileEnumerator, 2544 c_int, 2545 c_int, 2546 *mut GCancellable, 2547 GAsyncReadyCallback, 2548 gpointer, 2549 ), 2550 >, 2551 pub next_files_finish: Option< 2552 unsafe extern "C" fn( 2553 *mut GFileEnumerator, 2554 *mut GAsyncResult, 2555 *mut *mut glib::GError, 2556 ) -> *mut glib::GList, 2557 >, 2558 pub close_async: Option< 2559 unsafe extern "C" fn( 2560 *mut GFileEnumerator, 2561 c_int, 2562 *mut GCancellable, 2563 GAsyncReadyCallback, 2564 gpointer, 2565 ), 2566 >, 2567 pub close_finish: Option< 2568 unsafe extern "C" fn( 2569 *mut GFileEnumerator, 2570 *mut GAsyncResult, 2571 *mut *mut glib::GError, 2572 ) -> gboolean, 2573 >, 2574 pub _g_reserved1: Option<unsafe extern "C" fn()>, 2575 pub _g_reserved2: Option<unsafe extern "C" fn()>, 2576 pub _g_reserved3: Option<unsafe extern "C" fn()>, 2577 pub _g_reserved4: Option<unsafe extern "C" fn()>, 2578 pub _g_reserved5: Option<unsafe extern "C" fn()>, 2579 pub _g_reserved6: Option<unsafe extern "C" fn()>, 2580 pub _g_reserved7: Option<unsafe extern "C" fn()>, 2581 } 2582 2583 impl ::std::fmt::Debug for GFileEnumeratorClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2584 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2585 f.debug_struct(&format!("GFileEnumeratorClass @ {:p}", self)) 2586 .field("parent_class", &self.parent_class) 2587 .field("next_file", &self.next_file) 2588 .field("close_fn", &self.close_fn) 2589 .field("next_files_async", &self.next_files_async) 2590 .field("next_files_finish", &self.next_files_finish) 2591 .field("close_async", &self.close_async) 2592 .field("close_finish", &self.close_finish) 2593 .field("_g_reserved1", &self._g_reserved1) 2594 .field("_g_reserved2", &self._g_reserved2) 2595 .field("_g_reserved3", &self._g_reserved3) 2596 .field("_g_reserved4", &self._g_reserved4) 2597 .field("_g_reserved5", &self._g_reserved5) 2598 .field("_g_reserved6", &self._g_reserved6) 2599 .field("_g_reserved7", &self._g_reserved7) 2600 .finish() 2601 } 2602 } 2603 2604 #[repr(C)] 2605 pub struct _GFileEnumeratorPrivate(c_void); 2606 2607 pub type GFileEnumeratorPrivate = *mut _GFileEnumeratorPrivate; 2608 2609 #[repr(C)] 2610 #[derive(Copy, Clone)] 2611 pub struct GFileIOStreamClass { 2612 pub parent_class: GIOStreamClass, 2613 pub tell: Option<unsafe extern "C" fn(*mut GFileIOStream) -> i64>, 2614 pub can_seek: Option<unsafe extern "C" fn(*mut GFileIOStream) -> gboolean>, 2615 pub seek: Option< 2616 unsafe extern "C" fn( 2617 *mut GFileIOStream, 2618 i64, 2619 glib::GSeekType, 2620 *mut GCancellable, 2621 *mut *mut glib::GError, 2622 ) -> gboolean, 2623 >, 2624 pub can_truncate: Option<unsafe extern "C" fn(*mut GFileIOStream) -> gboolean>, 2625 pub truncate_fn: Option< 2626 unsafe extern "C" fn( 2627 *mut GFileIOStream, 2628 i64, 2629 *mut GCancellable, 2630 *mut *mut glib::GError, 2631 ) -> gboolean, 2632 >, 2633 pub query_info: Option< 2634 unsafe extern "C" fn( 2635 *mut GFileIOStream, 2636 *const c_char, 2637 *mut GCancellable, 2638 *mut *mut glib::GError, 2639 ) -> *mut GFileInfo, 2640 >, 2641 pub query_info_async: Option< 2642 unsafe extern "C" fn( 2643 *mut GFileIOStream, 2644 *const c_char, 2645 c_int, 2646 *mut GCancellable, 2647 GAsyncReadyCallback, 2648 gpointer, 2649 ), 2650 >, 2651 pub query_info_finish: Option< 2652 unsafe extern "C" fn( 2653 *mut GFileIOStream, 2654 *mut GAsyncResult, 2655 *mut *mut glib::GError, 2656 ) -> *mut GFileInfo, 2657 >, 2658 pub get_etag: Option<unsafe extern "C" fn(*mut GFileIOStream) -> *mut c_char>, 2659 pub _g_reserved1: Option<unsafe extern "C" fn()>, 2660 pub _g_reserved2: Option<unsafe extern "C" fn()>, 2661 pub _g_reserved3: Option<unsafe extern "C" fn()>, 2662 pub _g_reserved4: Option<unsafe extern "C" fn()>, 2663 pub _g_reserved5: Option<unsafe extern "C" fn()>, 2664 } 2665 2666 impl ::std::fmt::Debug for GFileIOStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2667 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2668 f.debug_struct(&format!("GFileIOStreamClass @ {:p}", self)) 2669 .field("parent_class", &self.parent_class) 2670 .field("tell", &self.tell) 2671 .field("can_seek", &self.can_seek) 2672 .field("seek", &self.seek) 2673 .field("can_truncate", &self.can_truncate) 2674 .field("truncate_fn", &self.truncate_fn) 2675 .field("query_info", &self.query_info) 2676 .field("query_info_async", &self.query_info_async) 2677 .field("query_info_finish", &self.query_info_finish) 2678 .field("get_etag", &self.get_etag) 2679 .field("_g_reserved1", &self._g_reserved1) 2680 .field("_g_reserved2", &self._g_reserved2) 2681 .field("_g_reserved3", &self._g_reserved3) 2682 .field("_g_reserved4", &self._g_reserved4) 2683 .field("_g_reserved5", &self._g_reserved5) 2684 .finish() 2685 } 2686 } 2687 2688 #[repr(C)] 2689 pub struct _GFileIOStreamPrivate(c_void); 2690 2691 pub type GFileIOStreamPrivate = *mut _GFileIOStreamPrivate; 2692 2693 #[repr(C)] 2694 pub struct _GFileIconClass(c_void); 2695 2696 pub type GFileIconClass = *mut _GFileIconClass; 2697 2698 #[repr(C)] 2699 #[derive(Copy, Clone)] 2700 pub struct GFileIface { 2701 pub g_iface: gobject::GTypeInterface, 2702 pub dup: Option<unsafe extern "C" fn(*mut GFile) -> *mut GFile>, 2703 pub hash: Option<unsafe extern "C" fn(*mut GFile) -> c_uint>, 2704 pub equal: Option<unsafe extern "C" fn(*mut GFile, *mut GFile) -> gboolean>, 2705 pub is_native: Option<unsafe extern "C" fn(*mut GFile) -> gboolean>, 2706 pub has_uri_scheme: Option<unsafe extern "C" fn(*mut GFile, *const c_char) -> gboolean>, 2707 pub get_uri_scheme: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>, 2708 pub get_basename: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>, 2709 pub get_path: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>, 2710 pub get_uri: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>, 2711 pub get_parse_name: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>, 2712 pub get_parent: Option<unsafe extern "C" fn(*mut GFile) -> *mut GFile>, 2713 pub prefix_matches: Option<unsafe extern "C" fn(*mut GFile, *mut GFile) -> gboolean>, 2714 pub get_relative_path: Option<unsafe extern "C" fn(*mut GFile, *mut GFile) -> *mut c_char>, 2715 pub resolve_relative_path: 2716 Option<unsafe extern "C" fn(*mut GFile, *const c_char) -> *mut GFile>, 2717 pub get_child_for_display_name: Option< 2718 unsafe extern "C" fn(*mut GFile, *const c_char, *mut *mut glib::GError) -> *mut GFile, 2719 >, 2720 pub enumerate_children: Option< 2721 unsafe extern "C" fn( 2722 *mut GFile, 2723 *const c_char, 2724 GFileQueryInfoFlags, 2725 *mut GCancellable, 2726 *mut *mut glib::GError, 2727 ) -> *mut GFileEnumerator, 2728 >, 2729 pub enumerate_children_async: Option< 2730 unsafe extern "C" fn( 2731 *mut GFile, 2732 *const c_char, 2733 GFileQueryInfoFlags, 2734 c_int, 2735 *mut GCancellable, 2736 GAsyncReadyCallback, 2737 gpointer, 2738 ), 2739 >, 2740 pub enumerate_children_finish: Option< 2741 unsafe extern "C" fn( 2742 *mut GFile, 2743 *mut GAsyncResult, 2744 *mut *mut glib::GError, 2745 ) -> *mut GFileEnumerator, 2746 >, 2747 pub query_info: Option< 2748 unsafe extern "C" fn( 2749 *mut GFile, 2750 *const c_char, 2751 GFileQueryInfoFlags, 2752 *mut GCancellable, 2753 *mut *mut glib::GError, 2754 ) -> *mut GFileInfo, 2755 >, 2756 pub query_info_async: Option< 2757 unsafe extern "C" fn( 2758 *mut GFile, 2759 *const c_char, 2760 GFileQueryInfoFlags, 2761 c_int, 2762 *mut GCancellable, 2763 GAsyncReadyCallback, 2764 gpointer, 2765 ), 2766 >, 2767 pub query_info_finish: Option< 2768 unsafe extern "C" fn( 2769 *mut GFile, 2770 *mut GAsyncResult, 2771 *mut *mut glib::GError, 2772 ) -> *mut GFileInfo, 2773 >, 2774 pub query_filesystem_info: Option< 2775 unsafe extern "C" fn( 2776 *mut GFile, 2777 *const c_char, 2778 *mut GCancellable, 2779 *mut *mut glib::GError, 2780 ) -> *mut GFileInfo, 2781 >, 2782 pub query_filesystem_info_async: Option< 2783 unsafe extern "C" fn( 2784 *mut GFile, 2785 *const c_char, 2786 c_int, 2787 *mut GCancellable, 2788 GAsyncReadyCallback, 2789 gpointer, 2790 ), 2791 >, 2792 pub query_filesystem_info_finish: Option< 2793 unsafe extern "C" fn( 2794 *mut GFile, 2795 *mut GAsyncResult, 2796 *mut *mut glib::GError, 2797 ) -> *mut GFileInfo, 2798 >, 2799 pub find_enclosing_mount: Option< 2800 unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> *mut GMount, 2801 >, 2802 pub find_enclosing_mount_async: Option< 2803 unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer), 2804 >, 2805 pub find_enclosing_mount_finish: Option< 2806 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> *mut GMount, 2807 >, 2808 pub set_display_name: Option< 2809 unsafe extern "C" fn( 2810 *mut GFile, 2811 *const c_char, 2812 *mut GCancellable, 2813 *mut *mut glib::GError, 2814 ) -> *mut GFile, 2815 >, 2816 pub set_display_name_async: Option< 2817 unsafe extern "C" fn( 2818 *mut GFile, 2819 *const c_char, 2820 c_int, 2821 *mut GCancellable, 2822 GAsyncReadyCallback, 2823 gpointer, 2824 ), 2825 >, 2826 pub set_display_name_finish: Option< 2827 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> *mut GFile, 2828 >, 2829 pub query_settable_attributes: Option< 2830 unsafe extern "C" fn( 2831 *mut GFile, 2832 *mut GCancellable, 2833 *mut *mut glib::GError, 2834 ) -> *mut GFileAttributeInfoList, 2835 >, 2836 pub _query_settable_attributes_async: Option<unsafe extern "C" fn()>, 2837 pub _query_settable_attributes_finish: Option<unsafe extern "C" fn()>, 2838 pub query_writable_namespaces: Option< 2839 unsafe extern "C" fn( 2840 *mut GFile, 2841 *mut GCancellable, 2842 *mut *mut glib::GError, 2843 ) -> *mut GFileAttributeInfoList, 2844 >, 2845 pub _query_writable_namespaces_async: Option<unsafe extern "C" fn()>, 2846 pub _query_writable_namespaces_finish: Option<unsafe extern "C" fn()>, 2847 pub set_attribute: Option< 2848 unsafe extern "C" fn( 2849 *mut GFile, 2850 *const c_char, 2851 GFileAttributeType, 2852 gpointer, 2853 GFileQueryInfoFlags, 2854 *mut GCancellable, 2855 *mut *mut glib::GError, 2856 ) -> gboolean, 2857 >, 2858 pub set_attributes_from_info: Option< 2859 unsafe extern "C" fn( 2860 *mut GFile, 2861 *mut GFileInfo, 2862 GFileQueryInfoFlags, 2863 *mut GCancellable, 2864 *mut *mut glib::GError, 2865 ) -> gboolean, 2866 >, 2867 pub set_attributes_async: Option< 2868 unsafe extern "C" fn( 2869 *mut GFile, 2870 *mut GFileInfo, 2871 GFileQueryInfoFlags, 2872 c_int, 2873 *mut GCancellable, 2874 GAsyncReadyCallback, 2875 gpointer, 2876 ), 2877 >, 2878 pub set_attributes_finish: Option< 2879 unsafe extern "C" fn( 2880 *mut GFile, 2881 *mut GAsyncResult, 2882 *mut *mut GFileInfo, 2883 *mut *mut glib::GError, 2884 ) -> gboolean, 2885 >, 2886 pub read_fn: Option< 2887 unsafe extern "C" fn( 2888 *mut GFile, 2889 *mut GCancellable, 2890 *mut *mut glib::GError, 2891 ) -> *mut GFileInputStream, 2892 >, 2893 pub read_async: Option< 2894 unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer), 2895 >, 2896 pub read_finish: Option< 2897 unsafe extern "C" fn( 2898 *mut GFile, 2899 *mut GAsyncResult, 2900 *mut *mut glib::GError, 2901 ) -> *mut GFileInputStream, 2902 >, 2903 pub append_to: Option< 2904 unsafe extern "C" fn( 2905 *mut GFile, 2906 GFileCreateFlags, 2907 *mut GCancellable, 2908 *mut *mut glib::GError, 2909 ) -> *mut GFileOutputStream, 2910 >, 2911 pub append_to_async: Option< 2912 unsafe extern "C" fn( 2913 *mut GFile, 2914 GFileCreateFlags, 2915 c_int, 2916 *mut GCancellable, 2917 GAsyncReadyCallback, 2918 gpointer, 2919 ), 2920 >, 2921 pub append_to_finish: Option< 2922 unsafe extern "C" fn( 2923 *mut GFile, 2924 *mut GAsyncResult, 2925 *mut *mut glib::GError, 2926 ) -> *mut GFileOutputStream, 2927 >, 2928 pub create: Option< 2929 unsafe extern "C" fn( 2930 *mut GFile, 2931 GFileCreateFlags, 2932 *mut GCancellable, 2933 *mut *mut glib::GError, 2934 ) -> *mut GFileOutputStream, 2935 >, 2936 pub create_async: Option< 2937 unsafe extern "C" fn( 2938 *mut GFile, 2939 GFileCreateFlags, 2940 c_int, 2941 *mut GCancellable, 2942 GAsyncReadyCallback, 2943 gpointer, 2944 ), 2945 >, 2946 pub create_finish: Option< 2947 unsafe extern "C" fn( 2948 *mut GFile, 2949 *mut GAsyncResult, 2950 *mut *mut glib::GError, 2951 ) -> *mut GFileOutputStream, 2952 >, 2953 pub replace: Option< 2954 unsafe extern "C" fn( 2955 *mut GFile, 2956 *const c_char, 2957 gboolean, 2958 GFileCreateFlags, 2959 *mut GCancellable, 2960 *mut *mut glib::GError, 2961 ) -> *mut GFileOutputStream, 2962 >, 2963 pub replace_async: Option< 2964 unsafe extern "C" fn( 2965 *mut GFile, 2966 *const c_char, 2967 gboolean, 2968 GFileCreateFlags, 2969 c_int, 2970 *mut GCancellable, 2971 GAsyncReadyCallback, 2972 gpointer, 2973 ), 2974 >, 2975 pub replace_finish: Option< 2976 unsafe extern "C" fn( 2977 *mut GFile, 2978 *mut GAsyncResult, 2979 *mut *mut glib::GError, 2980 ) -> *mut GFileOutputStream, 2981 >, 2982 pub delete_file: Option< 2983 unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> gboolean, 2984 >, 2985 pub delete_file_async: Option< 2986 unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer), 2987 >, 2988 pub delete_file_finish: Option< 2989 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 2990 >, 2991 pub trash: Option< 2992 unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> gboolean, 2993 >, 2994 pub trash_async: Option< 2995 unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer), 2996 >, 2997 pub trash_finish: Option< 2998 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 2999 >, 3000 pub make_directory: Option< 3001 unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> gboolean, 3002 >, 3003 pub make_directory_async: Option< 3004 unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer), 3005 >, 3006 pub make_directory_finish: Option< 3007 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 3008 >, 3009 pub make_symbolic_link: Option< 3010 unsafe extern "C" fn( 3011 *mut GFile, 3012 *const c_char, 3013 *mut GCancellable, 3014 *mut *mut glib::GError, 3015 ) -> gboolean, 3016 >, 3017 pub _make_symbolic_link_async: Option<unsafe extern "C" fn()>, 3018 pub _make_symbolic_link_finish: Option<unsafe extern "C" fn()>, 3019 pub copy: Option< 3020 unsafe extern "C" fn( 3021 *mut GFile, 3022 *mut GFile, 3023 GFileCopyFlags, 3024 *mut GCancellable, 3025 GFileProgressCallback, 3026 gpointer, 3027 *mut *mut glib::GError, 3028 ) -> gboolean, 3029 >, 3030 pub copy_async: Option< 3031 unsafe extern "C" fn( 3032 *mut GFile, 3033 *mut GFile, 3034 GFileCopyFlags, 3035 c_int, 3036 *mut GCancellable, 3037 GFileProgressCallback, 3038 gpointer, 3039 GAsyncReadyCallback, 3040 gpointer, 3041 ), 3042 >, 3043 pub copy_finish: Option< 3044 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 3045 >, 3046 pub move_: Option< 3047 unsafe extern "C" fn( 3048 *mut GFile, 3049 *mut GFile, 3050 GFileCopyFlags, 3051 *mut GCancellable, 3052 GFileProgressCallback, 3053 gpointer, 3054 *mut *mut glib::GError, 3055 ) -> gboolean, 3056 >, 3057 pub _move_async: Option<unsafe extern "C" fn()>, 3058 pub _move_finish: Option<unsafe extern "C" fn()>, 3059 pub mount_mountable: Option< 3060 unsafe extern "C" fn( 3061 *mut GFile, 3062 GMountMountFlags, 3063 *mut GMountOperation, 3064 *mut GCancellable, 3065 GAsyncReadyCallback, 3066 gpointer, 3067 ), 3068 >, 3069 pub mount_mountable_finish: Option< 3070 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> *mut GFile, 3071 >, 3072 pub unmount_mountable: Option< 3073 unsafe extern "C" fn( 3074 *mut GFile, 3075 GMountUnmountFlags, 3076 *mut GCancellable, 3077 GAsyncReadyCallback, 3078 gpointer, 3079 ), 3080 >, 3081 pub unmount_mountable_finish: Option< 3082 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 3083 >, 3084 pub eject_mountable: Option< 3085 unsafe extern "C" fn( 3086 *mut GFile, 3087 GMountUnmountFlags, 3088 *mut GCancellable, 3089 GAsyncReadyCallback, 3090 gpointer, 3091 ), 3092 >, 3093 pub eject_mountable_finish: Option< 3094 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 3095 >, 3096 pub mount_enclosing_volume: Option< 3097 unsafe extern "C" fn( 3098 *mut GFile, 3099 GMountMountFlags, 3100 *mut GMountOperation, 3101 *mut GCancellable, 3102 GAsyncReadyCallback, 3103 gpointer, 3104 ), 3105 >, 3106 pub mount_enclosing_volume_finish: Option< 3107 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 3108 >, 3109 pub monitor_dir: Option< 3110 unsafe extern "C" fn( 3111 *mut GFile, 3112 GFileMonitorFlags, 3113 *mut GCancellable, 3114 *mut *mut glib::GError, 3115 ) -> *mut GFileMonitor, 3116 >, 3117 pub monitor_file: Option< 3118 unsafe extern "C" fn( 3119 *mut GFile, 3120 GFileMonitorFlags, 3121 *mut GCancellable, 3122 *mut *mut glib::GError, 3123 ) -> *mut GFileMonitor, 3124 >, 3125 pub open_readwrite: Option< 3126 unsafe extern "C" fn( 3127 *mut GFile, 3128 *mut GCancellable, 3129 *mut *mut glib::GError, 3130 ) -> *mut GFileIOStream, 3131 >, 3132 pub open_readwrite_async: Option< 3133 unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer), 3134 >, 3135 pub open_readwrite_finish: Option< 3136 unsafe extern "C" fn( 3137 *mut GFile, 3138 *mut GAsyncResult, 3139 *mut *mut glib::GError, 3140 ) -> *mut GFileIOStream, 3141 >, 3142 pub create_readwrite: Option< 3143 unsafe extern "C" fn( 3144 *mut GFile, 3145 GFileCreateFlags, 3146 *mut GCancellable, 3147 *mut *mut glib::GError, 3148 ) -> *mut GFileIOStream, 3149 >, 3150 pub create_readwrite_async: Option< 3151 unsafe extern "C" fn( 3152 *mut GFile, 3153 GFileCreateFlags, 3154 c_int, 3155 *mut GCancellable, 3156 GAsyncReadyCallback, 3157 gpointer, 3158 ), 3159 >, 3160 pub create_readwrite_finish: Option< 3161 unsafe extern "C" fn( 3162 *mut GFile, 3163 *mut GAsyncResult, 3164 *mut *mut glib::GError, 3165 ) -> *mut GFileIOStream, 3166 >, 3167 pub replace_readwrite: Option< 3168 unsafe extern "C" fn( 3169 *mut GFile, 3170 *const c_char, 3171 gboolean, 3172 GFileCreateFlags, 3173 *mut GCancellable, 3174 *mut *mut glib::GError, 3175 ) -> *mut GFileIOStream, 3176 >, 3177 pub replace_readwrite_async: Option< 3178 unsafe extern "C" fn( 3179 *mut GFile, 3180 *const c_char, 3181 gboolean, 3182 GFileCreateFlags, 3183 c_int, 3184 *mut GCancellable, 3185 GAsyncReadyCallback, 3186 gpointer, 3187 ), 3188 >, 3189 pub replace_readwrite_finish: Option< 3190 unsafe extern "C" fn( 3191 *mut GFile, 3192 *mut GAsyncResult, 3193 *mut *mut glib::GError, 3194 ) -> *mut GFileIOStream, 3195 >, 3196 pub start_mountable: Option< 3197 unsafe extern "C" fn( 3198 *mut GFile, 3199 GDriveStartFlags, 3200 *mut GMountOperation, 3201 *mut GCancellable, 3202 GAsyncReadyCallback, 3203 gpointer, 3204 ), 3205 >, 3206 pub start_mountable_finish: Option< 3207 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 3208 >, 3209 pub stop_mountable: Option< 3210 unsafe extern "C" fn( 3211 *mut GFile, 3212 GMountUnmountFlags, 3213 *mut GMountOperation, 3214 *mut GCancellable, 3215 GAsyncReadyCallback, 3216 gpointer, 3217 ), 3218 >, 3219 pub stop_mountable_finish: Option< 3220 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 3221 >, 3222 pub supports_thread_contexts: gboolean, 3223 pub unmount_mountable_with_operation: Option< 3224 unsafe extern "C" fn( 3225 *mut GFile, 3226 GMountUnmountFlags, 3227 *mut GMountOperation, 3228 *mut GCancellable, 3229 GAsyncReadyCallback, 3230 gpointer, 3231 ), 3232 >, 3233 pub unmount_mountable_with_operation_finish: Option< 3234 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 3235 >, 3236 pub eject_mountable_with_operation: Option< 3237 unsafe extern "C" fn( 3238 *mut GFile, 3239 GMountUnmountFlags, 3240 *mut GMountOperation, 3241 *mut GCancellable, 3242 GAsyncReadyCallback, 3243 gpointer, 3244 ), 3245 >, 3246 pub eject_mountable_with_operation_finish: Option< 3247 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 3248 >, 3249 pub poll_mountable: 3250 Option<unsafe extern "C" fn(*mut GFile, *mut GCancellable, GAsyncReadyCallback, gpointer)>, 3251 pub poll_mountable_finish: Option< 3252 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 3253 >, 3254 pub measure_disk_usage: Option< 3255 unsafe extern "C" fn( 3256 *mut GFile, 3257 GFileMeasureFlags, 3258 *mut GCancellable, 3259 GFileMeasureProgressCallback, 3260 gpointer, 3261 *mut u64, 3262 *mut u64, 3263 *mut u64, 3264 *mut *mut glib::GError, 3265 ) -> gboolean, 3266 >, 3267 pub measure_disk_usage_async: Option< 3268 unsafe extern "C" fn( 3269 *mut GFile, 3270 GFileMeasureFlags, 3271 c_int, 3272 *mut GCancellable, 3273 GFileMeasureProgressCallback, 3274 gpointer, 3275 GAsyncReadyCallback, 3276 gpointer, 3277 ), 3278 >, 3279 pub measure_disk_usage_finish: Option< 3280 unsafe extern "C" fn( 3281 *mut GFile, 3282 *mut GAsyncResult, 3283 *mut u64, 3284 *mut u64, 3285 *mut u64, 3286 *mut *mut glib::GError, 3287 ) -> gboolean, 3288 >, 3289 } 3290 3291 impl ::std::fmt::Debug for GFileIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3292 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3293 f.debug_struct(&format!("GFileIface @ {:p}", self)) 3294 .field("g_iface", &self.g_iface) 3295 .field("dup", &self.dup) 3296 .field("hash", &self.hash) 3297 .field("equal", &self.equal) 3298 .field("is_native", &self.is_native) 3299 .field("has_uri_scheme", &self.has_uri_scheme) 3300 .field("get_uri_scheme", &self.get_uri_scheme) 3301 .field("get_basename", &self.get_basename) 3302 .field("get_path", &self.get_path) 3303 .field("get_uri", &self.get_uri) 3304 .field("get_parse_name", &self.get_parse_name) 3305 .field("get_parent", &self.get_parent) 3306 .field("prefix_matches", &self.prefix_matches) 3307 .field("get_relative_path", &self.get_relative_path) 3308 .field("resolve_relative_path", &self.resolve_relative_path) 3309 .field( 3310 "get_child_for_display_name", 3311 &self.get_child_for_display_name, 3312 ) 3313 .field("enumerate_children", &self.enumerate_children) 3314 .field("enumerate_children_async", &self.enumerate_children_async) 3315 .field("enumerate_children_finish", &self.enumerate_children_finish) 3316 .field("query_info", &self.query_info) 3317 .field("query_info_async", &self.query_info_async) 3318 .field("query_info_finish", &self.query_info_finish) 3319 .field("query_filesystem_info", &self.query_filesystem_info) 3320 .field( 3321 "query_filesystem_info_async", 3322 &self.query_filesystem_info_async, 3323 ) 3324 .field( 3325 "query_filesystem_info_finish", 3326 &self.query_filesystem_info_finish, 3327 ) 3328 .field("find_enclosing_mount", &self.find_enclosing_mount) 3329 .field( 3330 "find_enclosing_mount_async", 3331 &self.find_enclosing_mount_async, 3332 ) 3333 .field( 3334 "find_enclosing_mount_finish", 3335 &self.find_enclosing_mount_finish, 3336 ) 3337 .field("set_display_name", &self.set_display_name) 3338 .field("set_display_name_async", &self.set_display_name_async) 3339 .field("set_display_name_finish", &self.set_display_name_finish) 3340 .field("query_settable_attributes", &self.query_settable_attributes) 3341 .field( 3342 "_query_settable_attributes_async", 3343 &self._query_settable_attributes_async, 3344 ) 3345 .field( 3346 "_query_settable_attributes_finish", 3347 &self._query_settable_attributes_finish, 3348 ) 3349 .field("query_writable_namespaces", &self.query_writable_namespaces) 3350 .field( 3351 "_query_writable_namespaces_async", 3352 &self._query_writable_namespaces_async, 3353 ) 3354 .field( 3355 "_query_writable_namespaces_finish", 3356 &self._query_writable_namespaces_finish, 3357 ) 3358 .field("set_attribute", &self.set_attribute) 3359 .field("set_attributes_from_info", &self.set_attributes_from_info) 3360 .field("set_attributes_async", &self.set_attributes_async) 3361 .field("set_attributes_finish", &self.set_attributes_finish) 3362 .field("read_fn", &self.read_fn) 3363 .field("read_async", &self.read_async) 3364 .field("read_finish", &self.read_finish) 3365 .field("append_to", &self.append_to) 3366 .field("append_to_async", &self.append_to_async) 3367 .field("append_to_finish", &self.append_to_finish) 3368 .field("create", &self.create) 3369 .field("create_async", &self.create_async) 3370 .field("create_finish", &self.create_finish) 3371 .field("replace", &self.replace) 3372 .field("replace_async", &self.replace_async) 3373 .field("replace_finish", &self.replace_finish) 3374 .field("delete_file", &self.delete_file) 3375 .field("delete_file_async", &self.delete_file_async) 3376 .field("delete_file_finish", &self.delete_file_finish) 3377 .field("trash", &self.trash) 3378 .field("trash_async", &self.trash_async) 3379 .field("trash_finish", &self.trash_finish) 3380 .field("make_directory", &self.make_directory) 3381 .field("make_directory_async", &self.make_directory_async) 3382 .field("make_directory_finish", &self.make_directory_finish) 3383 .field("make_symbolic_link", &self.make_symbolic_link) 3384 .field("_make_symbolic_link_async", &self._make_symbolic_link_async) 3385 .field( 3386 "_make_symbolic_link_finish", 3387 &self._make_symbolic_link_finish, 3388 ) 3389 .field("copy", &self.copy) 3390 .field("copy_async", &self.copy_async) 3391 .field("copy_finish", &self.copy_finish) 3392 .field("move_", &self.move_) 3393 .field("_move_async", &self._move_async) 3394 .field("_move_finish", &self._move_finish) 3395 .field("mount_mountable", &self.mount_mountable) 3396 .field("mount_mountable_finish", &self.mount_mountable_finish) 3397 .field("unmount_mountable", &self.unmount_mountable) 3398 .field("unmount_mountable_finish", &self.unmount_mountable_finish) 3399 .field("eject_mountable", &self.eject_mountable) 3400 .field("eject_mountable_finish", &self.eject_mountable_finish) 3401 .field("mount_enclosing_volume", &self.mount_enclosing_volume) 3402 .field( 3403 "mount_enclosing_volume_finish", 3404 &self.mount_enclosing_volume_finish, 3405 ) 3406 .field("monitor_dir", &self.monitor_dir) 3407 .field("monitor_file", &self.monitor_file) 3408 .field("open_readwrite", &self.open_readwrite) 3409 .field("open_readwrite_async", &self.open_readwrite_async) 3410 .field("open_readwrite_finish", &self.open_readwrite_finish) 3411 .field("create_readwrite", &self.create_readwrite) 3412 .field("create_readwrite_async", &self.create_readwrite_async) 3413 .field("create_readwrite_finish", &self.create_readwrite_finish) 3414 .field("replace_readwrite", &self.replace_readwrite) 3415 .field("replace_readwrite_async", &self.replace_readwrite_async) 3416 .field("replace_readwrite_finish", &self.replace_readwrite_finish) 3417 .field("start_mountable", &self.start_mountable) 3418 .field("start_mountable_finish", &self.start_mountable_finish) 3419 .field("stop_mountable", &self.stop_mountable) 3420 .field("stop_mountable_finish", &self.stop_mountable_finish) 3421 .field("supports_thread_contexts", &self.supports_thread_contexts) 3422 .field( 3423 "unmount_mountable_with_operation", 3424 &self.unmount_mountable_with_operation, 3425 ) 3426 .field( 3427 "unmount_mountable_with_operation_finish", 3428 &self.unmount_mountable_with_operation_finish, 3429 ) 3430 .field( 3431 "eject_mountable_with_operation", 3432 &self.eject_mountable_with_operation, 3433 ) 3434 .field( 3435 "eject_mountable_with_operation_finish", 3436 &self.eject_mountable_with_operation_finish, 3437 ) 3438 .field("poll_mountable", &self.poll_mountable) 3439 .field("poll_mountable_finish", &self.poll_mountable_finish) 3440 .field("measure_disk_usage", &self.measure_disk_usage) 3441 .field("measure_disk_usage_async", &self.measure_disk_usage_async) 3442 .field("measure_disk_usage_finish", &self.measure_disk_usage_finish) 3443 .finish() 3444 } 3445 } 3446 3447 #[repr(C)] 3448 pub struct _GFileInfoClass(c_void); 3449 3450 pub type GFileInfoClass = *mut _GFileInfoClass; 3451 3452 #[repr(C)] 3453 #[derive(Copy, Clone)] 3454 pub struct GFileInputStreamClass { 3455 pub parent_class: GInputStreamClass, 3456 pub tell: Option<unsafe extern "C" fn(*mut GFileInputStream) -> i64>, 3457 pub can_seek: Option<unsafe extern "C" fn(*mut GFileInputStream) -> gboolean>, 3458 pub seek: Option< 3459 unsafe extern "C" fn( 3460 *mut GFileInputStream, 3461 i64, 3462 glib::GSeekType, 3463 *mut GCancellable, 3464 *mut *mut glib::GError, 3465 ) -> gboolean, 3466 >, 3467 pub query_info: Option< 3468 unsafe extern "C" fn( 3469 *mut GFileInputStream, 3470 *const c_char, 3471 *mut GCancellable, 3472 *mut *mut glib::GError, 3473 ) -> *mut GFileInfo, 3474 >, 3475 pub query_info_async: Option< 3476 unsafe extern "C" fn( 3477 *mut GFileInputStream, 3478 *const c_char, 3479 c_int, 3480 *mut GCancellable, 3481 GAsyncReadyCallback, 3482 gpointer, 3483 ), 3484 >, 3485 pub query_info_finish: Option< 3486 unsafe extern "C" fn( 3487 *mut GFileInputStream, 3488 *mut GAsyncResult, 3489 *mut *mut glib::GError, 3490 ) -> *mut GFileInfo, 3491 >, 3492 pub _g_reserved1: Option<unsafe extern "C" fn()>, 3493 pub _g_reserved2: Option<unsafe extern "C" fn()>, 3494 pub _g_reserved3: Option<unsafe extern "C" fn()>, 3495 pub _g_reserved4: Option<unsafe extern "C" fn()>, 3496 pub _g_reserved5: Option<unsafe extern "C" fn()>, 3497 } 3498 3499 impl ::std::fmt::Debug for GFileInputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3500 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3501 f.debug_struct(&format!("GFileInputStreamClass @ {:p}", self)) 3502 .field("parent_class", &self.parent_class) 3503 .field("tell", &self.tell) 3504 .field("can_seek", &self.can_seek) 3505 .field("seek", &self.seek) 3506 .field("query_info", &self.query_info) 3507 .field("query_info_async", &self.query_info_async) 3508 .field("query_info_finish", &self.query_info_finish) 3509 .field("_g_reserved1", &self._g_reserved1) 3510 .field("_g_reserved2", &self._g_reserved2) 3511 .field("_g_reserved3", &self._g_reserved3) 3512 .field("_g_reserved4", &self._g_reserved4) 3513 .field("_g_reserved5", &self._g_reserved5) 3514 .finish() 3515 } 3516 } 3517 3518 #[repr(C)] 3519 pub struct _GFileInputStreamPrivate(c_void); 3520 3521 pub type GFileInputStreamPrivate = *mut _GFileInputStreamPrivate; 3522 3523 #[repr(C)] 3524 #[derive(Copy, Clone)] 3525 pub struct GFileMonitorClass { 3526 pub parent_class: gobject::GObjectClass, 3527 pub changed: 3528 Option<unsafe extern "C" fn(*mut GFileMonitor, *mut GFile, *mut GFile, GFileMonitorEvent)>, 3529 pub cancel: Option<unsafe extern "C" fn(*mut GFileMonitor) -> gboolean>, 3530 pub _g_reserved1: Option<unsafe extern "C" fn()>, 3531 pub _g_reserved2: Option<unsafe extern "C" fn()>, 3532 pub _g_reserved3: Option<unsafe extern "C" fn()>, 3533 pub _g_reserved4: Option<unsafe extern "C" fn()>, 3534 pub _g_reserved5: Option<unsafe extern "C" fn()>, 3535 } 3536 3537 impl ::std::fmt::Debug for GFileMonitorClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3538 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3539 f.debug_struct(&format!("GFileMonitorClass @ {:p}", self)) 3540 .field("parent_class", &self.parent_class) 3541 .field("changed", &self.changed) 3542 .field("cancel", &self.cancel) 3543 .field("_g_reserved1", &self._g_reserved1) 3544 .field("_g_reserved2", &self._g_reserved2) 3545 .field("_g_reserved3", &self._g_reserved3) 3546 .field("_g_reserved4", &self._g_reserved4) 3547 .field("_g_reserved5", &self._g_reserved5) 3548 .finish() 3549 } 3550 } 3551 3552 #[repr(C)] 3553 pub struct _GFileMonitorPrivate(c_void); 3554 3555 pub type GFileMonitorPrivate = *mut _GFileMonitorPrivate; 3556 3557 #[repr(C)] 3558 #[derive(Copy, Clone)] 3559 pub struct GFileOutputStreamClass { 3560 pub parent_class: GOutputStreamClass, 3561 pub tell: Option<unsafe extern "C" fn(*mut GFileOutputStream) -> i64>, 3562 pub can_seek: Option<unsafe extern "C" fn(*mut GFileOutputStream) -> gboolean>, 3563 pub seek: Option< 3564 unsafe extern "C" fn( 3565 *mut GFileOutputStream, 3566 i64, 3567 glib::GSeekType, 3568 *mut GCancellable, 3569 *mut *mut glib::GError, 3570 ) -> gboolean, 3571 >, 3572 pub can_truncate: Option<unsafe extern "C" fn(*mut GFileOutputStream) -> gboolean>, 3573 pub truncate_fn: Option< 3574 unsafe extern "C" fn( 3575 *mut GFileOutputStream, 3576 i64, 3577 *mut GCancellable, 3578 *mut *mut glib::GError, 3579 ) -> gboolean, 3580 >, 3581 pub query_info: Option< 3582 unsafe extern "C" fn( 3583 *mut GFileOutputStream, 3584 *const c_char, 3585 *mut GCancellable, 3586 *mut *mut glib::GError, 3587 ) -> *mut GFileInfo, 3588 >, 3589 pub query_info_async: Option< 3590 unsafe extern "C" fn( 3591 *mut GFileOutputStream, 3592 *const c_char, 3593 c_int, 3594 *mut GCancellable, 3595 GAsyncReadyCallback, 3596 gpointer, 3597 ), 3598 >, 3599 pub query_info_finish: Option< 3600 unsafe extern "C" fn( 3601 *mut GFileOutputStream, 3602 *mut GAsyncResult, 3603 *mut *mut glib::GError, 3604 ) -> *mut GFileInfo, 3605 >, 3606 pub get_etag: Option<unsafe extern "C" fn(*mut GFileOutputStream) -> *mut c_char>, 3607 pub _g_reserved1: Option<unsafe extern "C" fn()>, 3608 pub _g_reserved2: Option<unsafe extern "C" fn()>, 3609 pub _g_reserved3: Option<unsafe extern "C" fn()>, 3610 pub _g_reserved4: Option<unsafe extern "C" fn()>, 3611 pub _g_reserved5: Option<unsafe extern "C" fn()>, 3612 } 3613 3614 impl ::std::fmt::Debug for GFileOutputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3615 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3616 f.debug_struct(&format!("GFileOutputStreamClass @ {:p}", self)) 3617 .field("parent_class", &self.parent_class) 3618 .field("tell", &self.tell) 3619 .field("can_seek", &self.can_seek) 3620 .field("seek", &self.seek) 3621 .field("can_truncate", &self.can_truncate) 3622 .field("truncate_fn", &self.truncate_fn) 3623 .field("query_info", &self.query_info) 3624 .field("query_info_async", &self.query_info_async) 3625 .field("query_info_finish", &self.query_info_finish) 3626 .field("get_etag", &self.get_etag) 3627 .field("_g_reserved1", &self._g_reserved1) 3628 .field("_g_reserved2", &self._g_reserved2) 3629 .field("_g_reserved3", &self._g_reserved3) 3630 .field("_g_reserved4", &self._g_reserved4) 3631 .field("_g_reserved5", &self._g_reserved5) 3632 .finish() 3633 } 3634 } 3635 3636 #[repr(C)] 3637 pub struct _GFileOutputStreamPrivate(c_void); 3638 3639 pub type GFileOutputStreamPrivate = *mut _GFileOutputStreamPrivate; 3640 3641 #[repr(C)] 3642 #[derive(Copy, Clone)] 3643 pub struct GFilenameCompleterClass { 3644 pub parent_class: gobject::GObjectClass, 3645 pub got_completion_data: Option<unsafe extern "C" fn(*mut GFilenameCompleter)>, 3646 pub _g_reserved1: Option<unsafe extern "C" fn()>, 3647 pub _g_reserved2: Option<unsafe extern "C" fn()>, 3648 pub _g_reserved3: Option<unsafe extern "C" fn()>, 3649 } 3650 3651 impl ::std::fmt::Debug for GFilenameCompleterClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3652 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3653 f.debug_struct(&format!("GFilenameCompleterClass @ {:p}", self)) 3654 .field("parent_class", &self.parent_class) 3655 .field("got_completion_data", &self.got_completion_data) 3656 .field("_g_reserved1", &self._g_reserved1) 3657 .field("_g_reserved2", &self._g_reserved2) 3658 .field("_g_reserved3", &self._g_reserved3) 3659 .finish() 3660 } 3661 } 3662 3663 #[repr(C)] 3664 #[derive(Copy, Clone)] 3665 pub struct GFilterInputStreamClass { 3666 pub parent_class: GInputStreamClass, 3667 pub _g_reserved1: Option<unsafe extern "C" fn()>, 3668 pub _g_reserved2: Option<unsafe extern "C" fn()>, 3669 pub _g_reserved3: Option<unsafe extern "C" fn()>, 3670 } 3671 3672 impl ::std::fmt::Debug for GFilterInputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3673 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3674 f.debug_struct(&format!("GFilterInputStreamClass @ {:p}", self)) 3675 .field("parent_class", &self.parent_class) 3676 .field("_g_reserved1", &self._g_reserved1) 3677 .field("_g_reserved2", &self._g_reserved2) 3678 .field("_g_reserved3", &self._g_reserved3) 3679 .finish() 3680 } 3681 } 3682 3683 #[repr(C)] 3684 #[derive(Copy, Clone)] 3685 pub struct GFilterOutputStreamClass { 3686 pub parent_class: GOutputStreamClass, 3687 pub _g_reserved1: Option<unsafe extern "C" fn()>, 3688 pub _g_reserved2: Option<unsafe extern "C" fn()>, 3689 pub _g_reserved3: Option<unsafe extern "C" fn()>, 3690 } 3691 3692 impl ::std::fmt::Debug for GFilterOutputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3693 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3694 f.debug_struct(&format!("GFilterOutputStreamClass @ {:p}", self)) 3695 .field("parent_class", &self.parent_class) 3696 .field("_g_reserved1", &self._g_reserved1) 3697 .field("_g_reserved2", &self._g_reserved2) 3698 .field("_g_reserved3", &self._g_reserved3) 3699 .finish() 3700 } 3701 } 3702 3703 #[repr(C)] 3704 pub struct _GIOExtension(c_void); 3705 3706 pub type GIOExtension = *mut _GIOExtension; 3707 3708 #[repr(C)] 3709 pub struct _GIOExtensionPoint(c_void); 3710 3711 pub type GIOExtensionPoint = *mut _GIOExtensionPoint; 3712 3713 #[repr(C)] 3714 pub struct _GIOModuleClass(c_void); 3715 3716 pub type GIOModuleClass = *mut _GIOModuleClass; 3717 3718 #[repr(C)] 3719 pub struct _GIOModuleScope(c_void); 3720 3721 pub type GIOModuleScope = *mut _GIOModuleScope; 3722 3723 #[repr(C)] 3724 pub struct _GIOSchedulerJob(c_void); 3725 3726 pub type GIOSchedulerJob = *mut _GIOSchedulerJob; 3727 3728 #[repr(C)] 3729 pub struct _GIOStreamAdapter(c_void); 3730 3731 pub type GIOStreamAdapter = *mut _GIOStreamAdapter; 3732 3733 #[repr(C)] 3734 #[derive(Copy, Clone)] 3735 pub struct GIOStreamClass { 3736 pub parent_class: gobject::GObjectClass, 3737 pub get_input_stream: Option<unsafe extern "C" fn(*mut GIOStream) -> *mut GInputStream>, 3738 pub get_output_stream: Option<unsafe extern "C" fn(*mut GIOStream) -> *mut GOutputStream>, 3739 pub close_fn: Option< 3740 unsafe extern "C" fn(*mut GIOStream, *mut GCancellable, *mut *mut glib::GError) -> gboolean, 3741 >, 3742 pub close_async: Option< 3743 unsafe extern "C" fn( 3744 *mut GIOStream, 3745 c_int, 3746 *mut GCancellable, 3747 GAsyncReadyCallback, 3748 gpointer, 3749 ), 3750 >, 3751 pub close_finish: Option< 3752 unsafe extern "C" fn(*mut GIOStream, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 3753 >, 3754 pub _g_reserved1: Option<unsafe extern "C" fn()>, 3755 pub _g_reserved2: Option<unsafe extern "C" fn()>, 3756 pub _g_reserved3: Option<unsafe extern "C" fn()>, 3757 pub _g_reserved4: Option<unsafe extern "C" fn()>, 3758 pub _g_reserved5: Option<unsafe extern "C" fn()>, 3759 pub _g_reserved6: Option<unsafe extern "C" fn()>, 3760 pub _g_reserved7: Option<unsafe extern "C" fn()>, 3761 pub _g_reserved8: Option<unsafe extern "C" fn()>, 3762 pub _g_reserved9: Option<unsafe extern "C" fn()>, 3763 pub _g_reserved10: Option<unsafe extern "C" fn()>, 3764 } 3765 3766 impl ::std::fmt::Debug for GIOStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3767 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3768 f.debug_struct(&format!("GIOStreamClass @ {:p}", self)) 3769 .field("parent_class", &self.parent_class) 3770 .field("get_input_stream", &self.get_input_stream) 3771 .field("get_output_stream", &self.get_output_stream) 3772 .field("close_fn", &self.close_fn) 3773 .field("close_async", &self.close_async) 3774 .field("close_finish", &self.close_finish) 3775 .field("_g_reserved1", &self._g_reserved1) 3776 .field("_g_reserved2", &self._g_reserved2) 3777 .field("_g_reserved3", &self._g_reserved3) 3778 .field("_g_reserved4", &self._g_reserved4) 3779 .field("_g_reserved5", &self._g_reserved5) 3780 .field("_g_reserved6", &self._g_reserved6) 3781 .field("_g_reserved7", &self._g_reserved7) 3782 .field("_g_reserved8", &self._g_reserved8) 3783 .field("_g_reserved9", &self._g_reserved9) 3784 .field("_g_reserved10", &self._g_reserved10) 3785 .finish() 3786 } 3787 } 3788 3789 #[repr(C)] 3790 pub struct _GIOStreamPrivate(c_void); 3791 3792 pub type GIOStreamPrivate = *mut _GIOStreamPrivate; 3793 3794 #[repr(C)] 3795 #[derive(Copy, Clone)] 3796 pub struct GIconIface { 3797 pub g_iface: gobject::GTypeInterface, 3798 pub hash: Option<unsafe extern "C" fn(*mut GIcon) -> c_uint>, 3799 pub equal: Option<unsafe extern "C" fn(*mut GIcon, *mut GIcon) -> gboolean>, 3800 pub to_tokens: 3801 Option<unsafe extern "C" fn(*mut GIcon, *mut glib::GPtrArray, *mut c_int) -> gboolean>, 3802 pub from_tokens: Option< 3803 unsafe extern "C" fn(*mut *mut c_char, c_int, c_int, *mut *mut glib::GError) -> *mut GIcon, 3804 >, 3805 pub serialize: Option<unsafe extern "C" fn(*mut GIcon) -> *mut glib::GVariant>, 3806 } 3807 3808 impl ::std::fmt::Debug for GIconIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3809 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3810 f.debug_struct(&format!("GIconIface @ {:p}", self)) 3811 .field("g_iface", &self.g_iface) 3812 .field("hash", &self.hash) 3813 .field("equal", &self.equal) 3814 .field("to_tokens", &self.to_tokens) 3815 .field("from_tokens", &self.from_tokens) 3816 .field("serialize", &self.serialize) 3817 .finish() 3818 } 3819 } 3820 3821 #[repr(C)] 3822 #[derive(Copy, Clone)] 3823 pub struct GInetAddressClass { 3824 pub parent_class: gobject::GObjectClass, 3825 pub to_string: Option<unsafe extern "C" fn(*mut GInetAddress) -> *mut c_char>, 3826 pub to_bytes: Option<unsafe extern "C" fn(*mut GInetAddress) -> *const u8>, 3827 } 3828 3829 impl ::std::fmt::Debug for GInetAddressClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3830 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3831 f.debug_struct(&format!("GInetAddressClass @ {:p}", self)) 3832 .field("parent_class", &self.parent_class) 3833 .field("to_string", &self.to_string) 3834 .field("to_bytes", &self.to_bytes) 3835 .finish() 3836 } 3837 } 3838 3839 #[repr(C)] 3840 #[derive(Copy, Clone)] 3841 pub struct GInetAddressMaskClass { 3842 pub parent_class: gobject::GObjectClass, 3843 } 3844 3845 impl ::std::fmt::Debug for GInetAddressMaskClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3846 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3847 f.debug_struct(&format!("GInetAddressMaskClass @ {:p}", self)) 3848 .field("parent_class", &self.parent_class) 3849 .finish() 3850 } 3851 } 3852 3853 #[repr(C)] 3854 pub struct _GInetAddressMaskPrivate(c_void); 3855 3856 pub type GInetAddressMaskPrivate = *mut _GInetAddressMaskPrivate; 3857 3858 #[repr(C)] 3859 pub struct _GInetAddressPrivate(c_void); 3860 3861 pub type GInetAddressPrivate = *mut _GInetAddressPrivate; 3862 3863 #[repr(C)] 3864 #[derive(Copy, Clone)] 3865 pub struct GInetSocketAddressClass { 3866 pub parent_class: GSocketAddressClass, 3867 } 3868 3869 impl ::std::fmt::Debug for GInetSocketAddressClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3870 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3871 f.debug_struct(&format!("GInetSocketAddressClass @ {:p}", self)) 3872 .field("parent_class", &self.parent_class) 3873 .finish() 3874 } 3875 } 3876 3877 #[repr(C)] 3878 pub struct _GInetSocketAddressPrivate(c_void); 3879 3880 pub type GInetSocketAddressPrivate = *mut _GInetSocketAddressPrivate; 3881 3882 #[repr(C)] 3883 #[derive(Copy, Clone)] 3884 pub struct GInitableIface { 3885 pub g_iface: gobject::GTypeInterface, 3886 pub init: Option< 3887 unsafe extern "C" fn(*mut GInitable, *mut GCancellable, *mut *mut glib::GError) -> gboolean, 3888 >, 3889 } 3890 3891 impl ::std::fmt::Debug for GInitableIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3892 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3893 f.debug_struct(&format!("GInitableIface @ {:p}", self)) 3894 .field("g_iface", &self.g_iface) 3895 .field("init", &self.init) 3896 .finish() 3897 } 3898 } 3899 3900 #[repr(C)] 3901 #[derive(Copy, Clone)] 3902 pub struct GInputMessage { 3903 pub address: *mut *mut GSocketAddress, 3904 pub vectors: *mut GInputVector, 3905 pub num_vectors: c_uint, 3906 pub bytes_received: size_t, 3907 pub flags: c_int, 3908 pub control_messages: *mut *mut *mut GSocketControlMessage, 3909 pub num_control_messages: *mut c_uint, 3910 } 3911 3912 impl ::std::fmt::Debug for GInputMessage { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3913 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3914 f.debug_struct(&format!("GInputMessage @ {:p}", self)) 3915 .field("address", &self.address) 3916 .field("vectors", &self.vectors) 3917 .field("num_vectors", &self.num_vectors) 3918 .field("bytes_received", &self.bytes_received) 3919 .field("flags", &self.flags) 3920 .field("control_messages", &self.control_messages) 3921 .field("num_control_messages", &self.num_control_messages) 3922 .finish() 3923 } 3924 } 3925 3926 #[repr(C)] 3927 #[derive(Copy, Clone)] 3928 pub struct GInputStreamClass { 3929 pub parent_class: gobject::GObjectClass, 3930 pub read_fn: Option< 3931 unsafe extern "C" fn( 3932 *mut GInputStream, 3933 *mut c_void, 3934 size_t, 3935 *mut GCancellable, 3936 *mut *mut glib::GError, 3937 ) -> ssize_t, 3938 >, 3939 pub skip: Option< 3940 unsafe extern "C" fn( 3941 *mut GInputStream, 3942 size_t, 3943 *mut GCancellable, 3944 *mut *mut glib::GError, 3945 ) -> ssize_t, 3946 >, 3947 pub close_fn: Option< 3948 unsafe extern "C" fn( 3949 *mut GInputStream, 3950 *mut GCancellable, 3951 *mut *mut glib::GError, 3952 ) -> gboolean, 3953 >, 3954 pub read_async: Option< 3955 unsafe extern "C" fn( 3956 *mut GInputStream, 3957 *mut u8, 3958 size_t, 3959 c_int, 3960 *mut GCancellable, 3961 GAsyncReadyCallback, 3962 gpointer, 3963 ), 3964 >, 3965 pub read_finish: Option< 3966 unsafe extern "C" fn( 3967 *mut GInputStream, 3968 *mut GAsyncResult, 3969 *mut *mut glib::GError, 3970 ) -> ssize_t, 3971 >, 3972 pub skip_async: Option< 3973 unsafe extern "C" fn( 3974 *mut GInputStream, 3975 size_t, 3976 c_int, 3977 *mut GCancellable, 3978 GAsyncReadyCallback, 3979 gpointer, 3980 ), 3981 >, 3982 pub skip_finish: Option< 3983 unsafe extern "C" fn( 3984 *mut GInputStream, 3985 *mut GAsyncResult, 3986 *mut *mut glib::GError, 3987 ) -> ssize_t, 3988 >, 3989 pub close_async: Option< 3990 unsafe extern "C" fn( 3991 *mut GInputStream, 3992 c_int, 3993 *mut GCancellable, 3994 GAsyncReadyCallback, 3995 gpointer, 3996 ), 3997 >, 3998 pub close_finish: Option< 3999 unsafe extern "C" fn( 4000 *mut GInputStream, 4001 *mut GAsyncResult, 4002 *mut *mut glib::GError, 4003 ) -> gboolean, 4004 >, 4005 pub _g_reserved1: Option<unsafe extern "C" fn()>, 4006 pub _g_reserved2: Option<unsafe extern "C" fn()>, 4007 pub _g_reserved3: Option<unsafe extern "C" fn()>, 4008 pub _g_reserved4: Option<unsafe extern "C" fn()>, 4009 pub _g_reserved5: Option<unsafe extern "C" fn()>, 4010 } 4011 4012 impl ::std::fmt::Debug for GInputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4013 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4014 f.debug_struct(&format!("GInputStreamClass @ {:p}", self)) 4015 .field("parent_class", &self.parent_class) 4016 .field("read_fn", &self.read_fn) 4017 .field("skip", &self.skip) 4018 .field("close_fn", &self.close_fn) 4019 .field("read_async", &self.read_async) 4020 .field("read_finish", &self.read_finish) 4021 .field("skip_async", &self.skip_async) 4022 .field("skip_finish", &self.skip_finish) 4023 .field("close_async", &self.close_async) 4024 .field("close_finish", &self.close_finish) 4025 .field("_g_reserved1", &self._g_reserved1) 4026 .field("_g_reserved2", &self._g_reserved2) 4027 .field("_g_reserved3", &self._g_reserved3) 4028 .field("_g_reserved4", &self._g_reserved4) 4029 .field("_g_reserved5", &self._g_reserved5) 4030 .finish() 4031 } 4032 } 4033 4034 #[repr(C)] 4035 pub struct _GInputStreamPrivate(c_void); 4036 4037 pub type GInputStreamPrivate = *mut _GInputStreamPrivate; 4038 4039 #[repr(C)] 4040 #[derive(Copy, Clone)] 4041 pub struct GInputVector { 4042 pub buffer: gpointer, 4043 pub size: size_t, 4044 } 4045 4046 impl ::std::fmt::Debug for GInputVector { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4047 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4048 f.debug_struct(&format!("GInputVector @ {:p}", self)) 4049 .field("buffer", &self.buffer) 4050 .field("size", &self.size) 4051 .finish() 4052 } 4053 } 4054 4055 #[repr(C)] 4056 #[derive(Copy, Clone)] 4057 pub struct GListModelInterface { 4058 pub g_iface: gobject::GTypeInterface, 4059 pub get_item_type: Option<unsafe extern "C" fn(*mut GListModel) -> GType>, 4060 pub get_n_items: Option<unsafe extern "C" fn(*mut GListModel) -> c_uint>, 4061 pub get_item: Option<unsafe extern "C" fn(*mut GListModel, c_uint) -> *mut gobject::GObject>, 4062 } 4063 4064 impl ::std::fmt::Debug for GListModelInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4065 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4066 f.debug_struct(&format!("GListModelInterface @ {:p}", self)) 4067 .field("g_iface", &self.g_iface) 4068 .field("get_item_type", &self.get_item_type) 4069 .field("get_n_items", &self.get_n_items) 4070 .field("get_item", &self.get_item) 4071 .finish() 4072 } 4073 } 4074 4075 #[repr(C)] 4076 #[derive(Copy, Clone)] 4077 pub struct GListStoreClass { 4078 pub parent_class: gobject::GObjectClass, 4079 } 4080 4081 impl ::std::fmt::Debug for GListStoreClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4082 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4083 f.debug_struct(&format!("GListStoreClass @ {:p}", self)) 4084 .field("parent_class", &self.parent_class) 4085 .finish() 4086 } 4087 } 4088 4089 #[repr(C)] 4090 #[derive(Copy, Clone)] 4091 pub struct GLoadableIconIface { 4092 pub g_iface: gobject::GTypeInterface, 4093 pub load: Option< 4094 unsafe extern "C" fn( 4095 *mut GLoadableIcon, 4096 c_int, 4097 *mut *mut c_char, 4098 *mut GCancellable, 4099 *mut *mut glib::GError, 4100 ) -> *mut GInputStream, 4101 >, 4102 pub load_async: Option< 4103 unsafe extern "C" fn( 4104 *mut GLoadableIcon, 4105 c_int, 4106 *mut GCancellable, 4107 GAsyncReadyCallback, 4108 gpointer, 4109 ), 4110 >, 4111 pub load_finish: Option< 4112 unsafe extern "C" fn( 4113 *mut GLoadableIcon, 4114 *mut GAsyncResult, 4115 *mut *mut c_char, 4116 *mut *mut glib::GError, 4117 ) -> *mut GInputStream, 4118 >, 4119 } 4120 4121 impl ::std::fmt::Debug for GLoadableIconIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4122 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4123 f.debug_struct(&format!("GLoadableIconIface @ {:p}", self)) 4124 .field("g_iface", &self.g_iface) 4125 .field("load", &self.load) 4126 .field("load_async", &self.load_async) 4127 .field("load_finish", &self.load_finish) 4128 .finish() 4129 } 4130 } 4131 4132 #[repr(C)] 4133 #[derive(Copy, Clone)] 4134 pub struct GMemoryInputStreamClass { 4135 pub parent_class: GInputStreamClass, 4136 pub _g_reserved1: Option<unsafe extern "C" fn()>, 4137 pub _g_reserved2: Option<unsafe extern "C" fn()>, 4138 pub _g_reserved3: Option<unsafe extern "C" fn()>, 4139 pub _g_reserved4: Option<unsafe extern "C" fn()>, 4140 pub _g_reserved5: Option<unsafe extern "C" fn()>, 4141 } 4142 4143 impl ::std::fmt::Debug for GMemoryInputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4144 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4145 f.debug_struct(&format!("GMemoryInputStreamClass @ {:p}", self)) 4146 .field("parent_class", &self.parent_class) 4147 .field("_g_reserved1", &self._g_reserved1) 4148 .field("_g_reserved2", &self._g_reserved2) 4149 .field("_g_reserved3", &self._g_reserved3) 4150 .field("_g_reserved4", &self._g_reserved4) 4151 .field("_g_reserved5", &self._g_reserved5) 4152 .finish() 4153 } 4154 } 4155 4156 #[repr(C)] 4157 pub struct _GMemoryInputStreamPrivate(c_void); 4158 4159 pub type GMemoryInputStreamPrivate = *mut _GMemoryInputStreamPrivate; 4160 4161 #[repr(C)] 4162 #[derive(Copy, Clone)] 4163 pub struct GMemoryMonitorInterface { 4164 pub g_iface: gobject::GTypeInterface, 4165 pub low_memory_warning: 4166 Option<unsafe extern "C" fn(*mut GMemoryMonitor, GMemoryMonitorWarningLevel)>, 4167 } 4168 4169 impl ::std::fmt::Debug for GMemoryMonitorInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4170 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4171 f.debug_struct(&format!("GMemoryMonitorInterface @ {:p}", self)) 4172 .field("low_memory_warning", &self.low_memory_warning) 4173 .finish() 4174 } 4175 } 4176 4177 #[repr(C)] 4178 #[derive(Copy, Clone)] 4179 pub struct GMemoryOutputStreamClass { 4180 pub parent_class: GOutputStreamClass, 4181 pub _g_reserved1: Option<unsafe extern "C" fn()>, 4182 pub _g_reserved2: Option<unsafe extern "C" fn()>, 4183 pub _g_reserved3: Option<unsafe extern "C" fn()>, 4184 pub _g_reserved4: Option<unsafe extern "C" fn()>, 4185 pub _g_reserved5: Option<unsafe extern "C" fn()>, 4186 } 4187 4188 impl ::std::fmt::Debug for GMemoryOutputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4189 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4190 f.debug_struct(&format!("GMemoryOutputStreamClass @ {:p}", self)) 4191 .field("parent_class", &self.parent_class) 4192 .field("_g_reserved1", &self._g_reserved1) 4193 .field("_g_reserved2", &self._g_reserved2) 4194 .field("_g_reserved3", &self._g_reserved3) 4195 .field("_g_reserved4", &self._g_reserved4) 4196 .field("_g_reserved5", &self._g_reserved5) 4197 .finish() 4198 } 4199 } 4200 4201 #[repr(C)] 4202 pub struct _GMemoryOutputStreamPrivate(c_void); 4203 4204 pub type GMemoryOutputStreamPrivate = *mut _GMemoryOutputStreamPrivate; 4205 4206 #[repr(C)] 4207 #[derive(Copy, Clone)] 4208 pub struct GMenuAttributeIterClass { 4209 pub parent_class: gobject::GObjectClass, 4210 pub get_next: Option< 4211 unsafe extern "C" fn( 4212 *mut GMenuAttributeIter, 4213 *mut *const c_char, 4214 *mut *mut glib::GVariant, 4215 ) -> gboolean, 4216 >, 4217 } 4218 4219 impl ::std::fmt::Debug for GMenuAttributeIterClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4220 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4221 f.debug_struct(&format!("GMenuAttributeIterClass @ {:p}", self)) 4222 .field("parent_class", &self.parent_class) 4223 .field("get_next", &self.get_next) 4224 .finish() 4225 } 4226 } 4227 4228 #[repr(C)] 4229 pub struct _GMenuAttributeIterPrivate(c_void); 4230 4231 pub type GMenuAttributeIterPrivate = *mut _GMenuAttributeIterPrivate; 4232 4233 #[repr(C)] 4234 #[derive(Copy, Clone)] 4235 pub struct GMenuLinkIterClass { 4236 pub parent_class: gobject::GObjectClass, 4237 pub get_next: Option< 4238 unsafe extern "C" fn( 4239 *mut GMenuLinkIter, 4240 *mut *const c_char, 4241 *mut *mut GMenuModel, 4242 ) -> gboolean, 4243 >, 4244 } 4245 4246 impl ::std::fmt::Debug for GMenuLinkIterClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4247 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4248 f.debug_struct(&format!("GMenuLinkIterClass @ {:p}", self)) 4249 .field("parent_class", &self.parent_class) 4250 .field("get_next", &self.get_next) 4251 .finish() 4252 } 4253 } 4254 4255 #[repr(C)] 4256 pub struct _GMenuLinkIterPrivate(c_void); 4257 4258 pub type GMenuLinkIterPrivate = *mut _GMenuLinkIterPrivate; 4259 4260 #[repr(C)] 4261 #[derive(Copy, Clone)] 4262 pub struct GMenuModelClass { 4263 pub parent_class: gobject::GObjectClass, 4264 pub is_mutable: Option<unsafe extern "C" fn(*mut GMenuModel) -> gboolean>, 4265 pub get_n_items: Option<unsafe extern "C" fn(*mut GMenuModel) -> c_int>, 4266 pub get_item_attributes: 4267 Option<unsafe extern "C" fn(*mut GMenuModel, c_int, *mut *mut glib::GHashTable)>, 4268 pub iterate_item_attributes: 4269 Option<unsafe extern "C" fn(*mut GMenuModel, c_int) -> *mut GMenuAttributeIter>, 4270 pub get_item_attribute_value: Option< 4271 unsafe extern "C" fn( 4272 *mut GMenuModel, 4273 c_int, 4274 *const c_char, 4275 *const glib::GVariantType, 4276 ) -> *mut glib::GVariant, 4277 >, 4278 pub get_item_links: 4279 Option<unsafe extern "C" fn(*mut GMenuModel, c_int, *mut *mut glib::GHashTable)>, 4280 pub iterate_item_links: 4281 Option<unsafe extern "C" fn(*mut GMenuModel, c_int) -> *mut GMenuLinkIter>, 4282 pub get_item_link: 4283 Option<unsafe extern "C" fn(*mut GMenuModel, c_int, *const c_char) -> *mut GMenuModel>, 4284 } 4285 4286 impl ::std::fmt::Debug for GMenuModelClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4287 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4288 f.debug_struct(&format!("GMenuModelClass @ {:p}", self)) 4289 .field("parent_class", &self.parent_class) 4290 .field("is_mutable", &self.is_mutable) 4291 .field("get_n_items", &self.get_n_items) 4292 .field("get_item_attributes", &self.get_item_attributes) 4293 .field("iterate_item_attributes", &self.iterate_item_attributes) 4294 .field("get_item_attribute_value", &self.get_item_attribute_value) 4295 .field("get_item_links", &self.get_item_links) 4296 .field("iterate_item_links", &self.iterate_item_links) 4297 .field("get_item_link", &self.get_item_link) 4298 .finish() 4299 } 4300 } 4301 4302 #[repr(C)] 4303 pub struct _GMenuModelPrivate(c_void); 4304 4305 pub type GMenuModelPrivate = *mut _GMenuModelPrivate; 4306 4307 #[repr(C)] 4308 #[derive(Copy, Clone)] 4309 pub struct GMountIface { 4310 pub g_iface: gobject::GTypeInterface, 4311 pub changed: Option<unsafe extern "C" fn(*mut GMount)>, 4312 pub unmounted: Option<unsafe extern "C" fn(*mut GMount)>, 4313 pub get_root: Option<unsafe extern "C" fn(*mut GMount) -> *mut GFile>, 4314 pub get_name: Option<unsafe extern "C" fn(*mut GMount) -> *const c_char>, 4315 pub get_icon: Option<unsafe extern "C" fn(*mut GMount) -> *mut GIcon>, 4316 pub get_uuid: Option<unsafe extern "C" fn(*mut GMount) -> *const c_char>, 4317 pub get_volume: Option<unsafe extern "C" fn(*mut GMount) -> *mut GVolume>, 4318 pub get_drive: Option<unsafe extern "C" fn(*mut GMount) -> *mut GDrive>, 4319 pub can_unmount: Option<unsafe extern "C" fn(*mut GMount) -> gboolean>, 4320 pub can_eject: Option<unsafe extern "C" fn(*mut GMount) -> gboolean>, 4321 pub unmount: Option< 4322 unsafe extern "C" fn( 4323 *mut GMount, 4324 GMountUnmountFlags, 4325 *mut GCancellable, 4326 GAsyncReadyCallback, 4327 gpointer, 4328 ), 4329 >, 4330 pub unmount_finish: Option< 4331 unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 4332 >, 4333 pub eject: Option< 4334 unsafe extern "C" fn( 4335 *mut GMount, 4336 GMountUnmountFlags, 4337 *mut GCancellable, 4338 GAsyncReadyCallback, 4339 gpointer, 4340 ), 4341 >, 4342 pub eject_finish: Option< 4343 unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 4344 >, 4345 pub remount: Option< 4346 unsafe extern "C" fn( 4347 *mut GMount, 4348 GMountMountFlags, 4349 *mut GMountOperation, 4350 *mut GCancellable, 4351 GAsyncReadyCallback, 4352 gpointer, 4353 ), 4354 >, 4355 pub remount_finish: Option< 4356 unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 4357 >, 4358 pub guess_content_type: Option< 4359 unsafe extern "C" fn( 4360 *mut GMount, 4361 gboolean, 4362 *mut GCancellable, 4363 GAsyncReadyCallback, 4364 gpointer, 4365 ), 4366 >, 4367 pub guess_content_type_finish: Option< 4368 unsafe extern "C" fn( 4369 *mut GMount, 4370 *mut GAsyncResult, 4371 *mut *mut glib::GError, 4372 ) -> *mut *mut c_char, 4373 >, 4374 pub guess_content_type_sync: Option< 4375 unsafe extern "C" fn( 4376 *mut GMount, 4377 gboolean, 4378 *mut GCancellable, 4379 *mut *mut glib::GError, 4380 ) -> *mut *mut c_char, 4381 >, 4382 pub pre_unmount: Option<unsafe extern "C" fn(*mut GMount)>, 4383 pub unmount_with_operation: Option< 4384 unsafe extern "C" fn( 4385 *mut GMount, 4386 GMountUnmountFlags, 4387 *mut GMountOperation, 4388 *mut GCancellable, 4389 GAsyncReadyCallback, 4390 gpointer, 4391 ), 4392 >, 4393 pub unmount_with_operation_finish: Option< 4394 unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 4395 >, 4396 pub eject_with_operation: Option< 4397 unsafe extern "C" fn( 4398 *mut GMount, 4399 GMountUnmountFlags, 4400 *mut GMountOperation, 4401 *mut GCancellable, 4402 GAsyncReadyCallback, 4403 gpointer, 4404 ), 4405 >, 4406 pub eject_with_operation_finish: Option< 4407 unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 4408 >, 4409 pub get_default_location: Option<unsafe extern "C" fn(*mut GMount) -> *mut GFile>, 4410 pub get_sort_key: Option<unsafe extern "C" fn(*mut GMount) -> *const c_char>, 4411 pub get_symbolic_icon: Option<unsafe extern "C" fn(*mut GMount) -> *mut GIcon>, 4412 } 4413 4414 impl ::std::fmt::Debug for GMountIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4415 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4416 f.debug_struct(&format!("GMountIface @ {:p}", self)) 4417 .field("g_iface", &self.g_iface) 4418 .field("changed", &self.changed) 4419 .field("unmounted", &self.unmounted) 4420 .field("get_root", &self.get_root) 4421 .field("get_name", &self.get_name) 4422 .field("get_icon", &self.get_icon) 4423 .field("get_uuid", &self.get_uuid) 4424 .field("get_volume", &self.get_volume) 4425 .field("get_drive", &self.get_drive) 4426 .field("can_unmount", &self.can_unmount) 4427 .field("can_eject", &self.can_eject) 4428 .field("unmount", &self.unmount) 4429 .field("unmount_finish", &self.unmount_finish) 4430 .field("eject", &self.eject) 4431 .field("eject_finish", &self.eject_finish) 4432 .field("remount", &self.remount) 4433 .field("remount_finish", &self.remount_finish) 4434 .field("guess_content_type", &self.guess_content_type) 4435 .field("guess_content_type_finish", &self.guess_content_type_finish) 4436 .field("guess_content_type_sync", &self.guess_content_type_sync) 4437 .field("pre_unmount", &self.pre_unmount) 4438 .field("unmount_with_operation", &self.unmount_with_operation) 4439 .field( 4440 "unmount_with_operation_finish", 4441 &self.unmount_with_operation_finish, 4442 ) 4443 .field("eject_with_operation", &self.eject_with_operation) 4444 .field( 4445 "eject_with_operation_finish", 4446 &self.eject_with_operation_finish, 4447 ) 4448 .field("get_default_location", &self.get_default_location) 4449 .field("get_sort_key", &self.get_sort_key) 4450 .field("get_symbolic_icon", &self.get_symbolic_icon) 4451 .finish() 4452 } 4453 } 4454 4455 #[repr(C)] 4456 #[derive(Copy, Clone)] 4457 pub struct GMountOperationClass { 4458 pub parent_class: gobject::GObjectClass, 4459 pub ask_password: Option< 4460 unsafe extern "C" fn( 4461 *mut GMountOperation, 4462 *const c_char, 4463 *const c_char, 4464 *const c_char, 4465 GAskPasswordFlags, 4466 ), 4467 >, 4468 pub ask_question: 4469 Option<unsafe extern "C" fn(*mut GMountOperation, *const c_char, *mut *const c_char)>, 4470 pub reply: Option<unsafe extern "C" fn(*mut GMountOperation, GMountOperationResult)>, 4471 pub aborted: Option<unsafe extern "C" fn(*mut GMountOperation)>, 4472 pub show_processes: Option< 4473 unsafe extern "C" fn( 4474 *mut GMountOperation, 4475 *const c_char, 4476 *mut glib::GArray, 4477 *mut *const c_char, 4478 ), 4479 >, 4480 pub show_unmount_progress: 4481 Option<unsafe extern "C" fn(*mut GMountOperation, *const c_char, i64, i64)>, 4482 pub _g_reserved1: Option<unsafe extern "C" fn()>, 4483 pub _g_reserved2: Option<unsafe extern "C" fn()>, 4484 pub _g_reserved3: Option<unsafe extern "C" fn()>, 4485 pub _g_reserved4: Option<unsafe extern "C" fn()>, 4486 pub _g_reserved5: Option<unsafe extern "C" fn()>, 4487 pub _g_reserved6: Option<unsafe extern "C" fn()>, 4488 pub _g_reserved7: Option<unsafe extern "C" fn()>, 4489 pub _g_reserved8: Option<unsafe extern "C" fn()>, 4490 pub _g_reserved9: Option<unsafe extern "C" fn()>, 4491 } 4492 4493 impl ::std::fmt::Debug for GMountOperationClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4494 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4495 f.debug_struct(&format!("GMountOperationClass @ {:p}", self)) 4496 .field("parent_class", &self.parent_class) 4497 .field("ask_password", &self.ask_password) 4498 .field("ask_question", &self.ask_question) 4499 .field("reply", &self.reply) 4500 .field("aborted", &self.aborted) 4501 .field("show_processes", &self.show_processes) 4502 .field("show_unmount_progress", &self.show_unmount_progress) 4503 .field("_g_reserved1", &self._g_reserved1) 4504 .field("_g_reserved2", &self._g_reserved2) 4505 .field("_g_reserved3", &self._g_reserved3) 4506 .field("_g_reserved4", &self._g_reserved4) 4507 .field("_g_reserved5", &self._g_reserved5) 4508 .field("_g_reserved6", &self._g_reserved6) 4509 .field("_g_reserved7", &self._g_reserved7) 4510 .field("_g_reserved8", &self._g_reserved8) 4511 .field("_g_reserved9", &self._g_reserved9) 4512 .finish() 4513 } 4514 } 4515 4516 #[repr(C)] 4517 pub struct _GMountOperationPrivate(c_void); 4518 4519 pub type GMountOperationPrivate = *mut _GMountOperationPrivate; 4520 4521 #[repr(C)] 4522 #[derive(Copy, Clone)] 4523 pub struct GNativeSocketAddressClass { 4524 pub parent_class: GSocketAddressClass, 4525 } 4526 4527 impl ::std::fmt::Debug for GNativeSocketAddressClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4528 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4529 f.debug_struct(&format!("GNativeSocketAddressClass @ {:p}", self)) 4530 .field("parent_class", &self.parent_class) 4531 .finish() 4532 } 4533 } 4534 4535 #[repr(C)] 4536 pub struct _GNativeSocketAddressPrivate(c_void); 4537 4538 pub type GNativeSocketAddressPrivate = *mut _GNativeSocketAddressPrivate; 4539 4540 #[repr(C)] 4541 #[derive(Copy, Clone)] 4542 pub struct GNativeVolumeMonitorClass { 4543 pub parent_class: GVolumeMonitorClass, 4544 pub get_mount_for_mount_path: 4545 Option<unsafe extern "C" fn(*const c_char, *mut GCancellable) -> *mut GMount>, 4546 } 4547 4548 impl ::std::fmt::Debug for GNativeVolumeMonitorClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4549 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4550 f.debug_struct(&format!("GNativeVolumeMonitorClass @ {:p}", self)) 4551 .field("parent_class", &self.parent_class) 4552 .field("get_mount_for_mount_path", &self.get_mount_for_mount_path) 4553 .finish() 4554 } 4555 } 4556 4557 #[repr(C)] 4558 #[derive(Copy, Clone)] 4559 pub struct GNetworkAddressClass { 4560 pub parent_class: gobject::GObjectClass, 4561 } 4562 4563 impl ::std::fmt::Debug for GNetworkAddressClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4564 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4565 f.debug_struct(&format!("GNetworkAddressClass @ {:p}", self)) 4566 .field("parent_class", &self.parent_class) 4567 .finish() 4568 } 4569 } 4570 4571 #[repr(C)] 4572 pub struct _GNetworkAddressPrivate(c_void); 4573 4574 pub type GNetworkAddressPrivate = *mut _GNetworkAddressPrivate; 4575 4576 #[repr(C)] 4577 #[derive(Copy, Clone)] 4578 pub struct GNetworkMonitorInterface { 4579 pub g_iface: gobject::GTypeInterface, 4580 pub network_changed: Option<unsafe extern "C" fn(*mut GNetworkMonitor, gboolean)>, 4581 pub can_reach: Option< 4582 unsafe extern "C" fn( 4583 *mut GNetworkMonitor, 4584 *mut GSocketConnectable, 4585 *mut GCancellable, 4586 *mut *mut glib::GError, 4587 ) -> gboolean, 4588 >, 4589 pub can_reach_async: Option< 4590 unsafe extern "C" fn( 4591 *mut GNetworkMonitor, 4592 *mut GSocketConnectable, 4593 *mut GCancellable, 4594 GAsyncReadyCallback, 4595 gpointer, 4596 ), 4597 >, 4598 pub can_reach_finish: Option< 4599 unsafe extern "C" fn( 4600 *mut GNetworkMonitor, 4601 *mut GAsyncResult, 4602 *mut *mut glib::GError, 4603 ) -> gboolean, 4604 >, 4605 } 4606 4607 impl ::std::fmt::Debug for GNetworkMonitorInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4608 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4609 f.debug_struct(&format!("GNetworkMonitorInterface @ {:p}", self)) 4610 .field("g_iface", &self.g_iface) 4611 .field("network_changed", &self.network_changed) 4612 .field("can_reach", &self.can_reach) 4613 .field("can_reach_async", &self.can_reach_async) 4614 .field("can_reach_finish", &self.can_reach_finish) 4615 .finish() 4616 } 4617 } 4618 4619 #[repr(C)] 4620 #[derive(Copy, Clone)] 4621 pub struct GNetworkServiceClass { 4622 pub parent_class: gobject::GObjectClass, 4623 } 4624 4625 impl ::std::fmt::Debug for GNetworkServiceClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4626 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4627 f.debug_struct(&format!("GNetworkServiceClass @ {:p}", self)) 4628 .field("parent_class", &self.parent_class) 4629 .finish() 4630 } 4631 } 4632 4633 #[repr(C)] 4634 pub struct _GNetworkServicePrivate(c_void); 4635 4636 pub type GNetworkServicePrivate = *mut _GNetworkServicePrivate; 4637 4638 #[repr(C)] 4639 #[derive(Copy, Clone)] 4640 pub struct GOutputMessage { 4641 pub address: *mut GSocketAddress, 4642 pub vectors: *mut GOutputVector, 4643 pub num_vectors: c_uint, 4644 pub bytes_sent: c_uint, 4645 pub control_messages: *mut *mut GSocketControlMessage, 4646 pub num_control_messages: c_uint, 4647 } 4648 4649 impl ::std::fmt::Debug for GOutputMessage { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4650 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4651 f.debug_struct(&format!("GOutputMessage @ {:p}", self)) 4652 .field("address", &self.address) 4653 .field("vectors", &self.vectors) 4654 .field("num_vectors", &self.num_vectors) 4655 .field("bytes_sent", &self.bytes_sent) 4656 .field("control_messages", &self.control_messages) 4657 .field("num_control_messages", &self.num_control_messages) 4658 .finish() 4659 } 4660 } 4661 4662 #[repr(C)] 4663 #[derive(Copy, Clone)] 4664 pub struct GOutputStreamClass { 4665 pub parent_class: gobject::GObjectClass, 4666 pub write_fn: Option< 4667 unsafe extern "C" fn( 4668 *mut GOutputStream, 4669 *mut u8, 4670 size_t, 4671 *mut GCancellable, 4672 *mut *mut glib::GError, 4673 ) -> ssize_t, 4674 >, 4675 pub splice: Option< 4676 unsafe extern "C" fn( 4677 *mut GOutputStream, 4678 *mut GInputStream, 4679 GOutputStreamSpliceFlags, 4680 *mut GCancellable, 4681 *mut *mut glib::GError, 4682 ) -> ssize_t, 4683 >, 4684 pub flush: Option< 4685 unsafe extern "C" fn( 4686 *mut GOutputStream, 4687 *mut GCancellable, 4688 *mut *mut glib::GError, 4689 ) -> gboolean, 4690 >, 4691 pub close_fn: Option< 4692 unsafe extern "C" fn( 4693 *mut GOutputStream, 4694 *mut GCancellable, 4695 *mut *mut glib::GError, 4696 ) -> gboolean, 4697 >, 4698 pub write_async: Option< 4699 unsafe extern "C" fn( 4700 *mut GOutputStream, 4701 *mut u8, 4702 size_t, 4703 c_int, 4704 *mut GCancellable, 4705 GAsyncReadyCallback, 4706 gpointer, 4707 ), 4708 >, 4709 pub write_finish: Option< 4710 unsafe extern "C" fn( 4711 *mut GOutputStream, 4712 *mut GAsyncResult, 4713 *mut *mut glib::GError, 4714 ) -> ssize_t, 4715 >, 4716 pub splice_async: Option< 4717 unsafe extern "C" fn( 4718 *mut GOutputStream, 4719 *mut GInputStream, 4720 GOutputStreamSpliceFlags, 4721 c_int, 4722 *mut GCancellable, 4723 GAsyncReadyCallback, 4724 gpointer, 4725 ), 4726 >, 4727 pub splice_finish: Option< 4728 unsafe extern "C" fn( 4729 *mut GOutputStream, 4730 *mut GAsyncResult, 4731 *mut *mut glib::GError, 4732 ) -> ssize_t, 4733 >, 4734 pub flush_async: Option< 4735 unsafe extern "C" fn( 4736 *mut GOutputStream, 4737 c_int, 4738 *mut GCancellable, 4739 GAsyncReadyCallback, 4740 gpointer, 4741 ), 4742 >, 4743 pub flush_finish: Option< 4744 unsafe extern "C" fn( 4745 *mut GOutputStream, 4746 *mut GAsyncResult, 4747 *mut *mut glib::GError, 4748 ) -> gboolean, 4749 >, 4750 pub close_async: Option< 4751 unsafe extern "C" fn( 4752 *mut GOutputStream, 4753 c_int, 4754 *mut GCancellable, 4755 GAsyncReadyCallback, 4756 gpointer, 4757 ), 4758 >, 4759 pub close_finish: Option< 4760 unsafe extern "C" fn( 4761 *mut GOutputStream, 4762 *mut GAsyncResult, 4763 *mut *mut glib::GError, 4764 ) -> gboolean, 4765 >, 4766 pub writev_fn: Option< 4767 unsafe extern "C" fn( 4768 *mut GOutputStream, 4769 *const GOutputVector, 4770 size_t, 4771 *mut size_t, 4772 *mut GCancellable, 4773 *mut *mut glib::GError, 4774 ) -> gboolean, 4775 >, 4776 pub writev_async: Option< 4777 unsafe extern "C" fn( 4778 *mut GOutputStream, 4779 *const GOutputVector, 4780 size_t, 4781 c_int, 4782 *mut GCancellable, 4783 GAsyncReadyCallback, 4784 gpointer, 4785 ), 4786 >, 4787 pub writev_finish: Option< 4788 unsafe extern "C" fn( 4789 *mut GOutputStream, 4790 *mut GAsyncResult, 4791 *mut size_t, 4792 *mut *mut glib::GError, 4793 ) -> gboolean, 4794 >, 4795 pub _g_reserved4: Option<unsafe extern "C" fn()>, 4796 pub _g_reserved5: Option<unsafe extern "C" fn()>, 4797 pub _g_reserved6: Option<unsafe extern "C" fn()>, 4798 pub _g_reserved7: Option<unsafe extern "C" fn()>, 4799 pub _g_reserved8: Option<unsafe extern "C" fn()>, 4800 } 4801 4802 impl ::std::fmt::Debug for GOutputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4803 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4804 f.debug_struct(&format!("GOutputStreamClass @ {:p}", self)) 4805 .field("parent_class", &self.parent_class) 4806 .field("write_fn", &self.write_fn) 4807 .field("splice", &self.splice) 4808 .field("flush", &self.flush) 4809 .field("close_fn", &self.close_fn) 4810 .field("write_async", &self.write_async) 4811 .field("write_finish", &self.write_finish) 4812 .field("splice_async", &self.splice_async) 4813 .field("splice_finish", &self.splice_finish) 4814 .field("flush_async", &self.flush_async) 4815 .field("flush_finish", &self.flush_finish) 4816 .field("close_async", &self.close_async) 4817 .field("close_finish", &self.close_finish) 4818 .field("writev_fn", &self.writev_fn) 4819 .field("writev_async", &self.writev_async) 4820 .field("writev_finish", &self.writev_finish) 4821 .field("_g_reserved4", &self._g_reserved4) 4822 .field("_g_reserved5", &self._g_reserved5) 4823 .field("_g_reserved6", &self._g_reserved6) 4824 .field("_g_reserved7", &self._g_reserved7) 4825 .field("_g_reserved8", &self._g_reserved8) 4826 .finish() 4827 } 4828 } 4829 4830 #[repr(C)] 4831 pub struct _GOutputStreamPrivate(c_void); 4832 4833 pub type GOutputStreamPrivate = *mut _GOutputStreamPrivate; 4834 4835 #[repr(C)] 4836 #[derive(Copy, Clone)] 4837 pub struct GOutputVector { 4838 pub buffer: gconstpointer, 4839 pub size: size_t, 4840 } 4841 4842 impl ::std::fmt::Debug for GOutputVector { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4843 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4844 f.debug_struct(&format!("GOutputVector @ {:p}", self)) 4845 .field("buffer", &self.buffer) 4846 .field("size", &self.size) 4847 .finish() 4848 } 4849 } 4850 4851 #[repr(C)] 4852 #[derive(Copy, Clone)] 4853 pub struct GPermissionClass { 4854 pub parent_class: gobject::GObjectClass, 4855 pub acquire: Option< 4856 unsafe extern "C" fn( 4857 *mut GPermission, 4858 *mut GCancellable, 4859 *mut *mut glib::GError, 4860 ) -> gboolean, 4861 >, 4862 pub acquire_async: Option< 4863 unsafe extern "C" fn(*mut GPermission, *mut GCancellable, GAsyncReadyCallback, gpointer), 4864 >, 4865 pub acquire_finish: Option< 4866 unsafe extern "C" fn( 4867 *mut GPermission, 4868 *mut GAsyncResult, 4869 *mut *mut glib::GError, 4870 ) -> gboolean, 4871 >, 4872 pub release: Option< 4873 unsafe extern "C" fn( 4874 *mut GPermission, 4875 *mut GCancellable, 4876 *mut *mut glib::GError, 4877 ) -> gboolean, 4878 >, 4879 pub release_async: Option< 4880 unsafe extern "C" fn(*mut GPermission, *mut GCancellable, GAsyncReadyCallback, gpointer), 4881 >, 4882 pub release_finish: Option< 4883 unsafe extern "C" fn( 4884 *mut GPermission, 4885 *mut GAsyncResult, 4886 *mut *mut glib::GError, 4887 ) -> gboolean, 4888 >, 4889 pub reserved: [gpointer; 16], 4890 } 4891 4892 impl ::std::fmt::Debug for GPermissionClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4893 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4894 f.debug_struct(&format!("GPermissionClass @ {:p}", self)) 4895 .field("parent_class", &self.parent_class) 4896 .field("acquire", &self.acquire) 4897 .field("acquire_async", &self.acquire_async) 4898 .field("acquire_finish", &self.acquire_finish) 4899 .field("release", &self.release) 4900 .field("release_async", &self.release_async) 4901 .field("release_finish", &self.release_finish) 4902 .field("reserved", &self.reserved) 4903 .finish() 4904 } 4905 } 4906 4907 #[repr(C)] 4908 pub struct _GPermissionPrivate(c_void); 4909 4910 pub type GPermissionPrivate = *mut _GPermissionPrivate; 4911 4912 #[repr(C)] 4913 #[derive(Copy, Clone)] 4914 pub struct GPollableInputStreamInterface { 4915 pub g_iface: gobject::GTypeInterface, 4916 pub can_poll: Option<unsafe extern "C" fn(*mut GPollableInputStream) -> gboolean>, 4917 pub is_readable: Option<unsafe extern "C" fn(*mut GPollableInputStream) -> gboolean>, 4918 pub create_source: Option< 4919 unsafe extern "C" fn(*mut GPollableInputStream, *mut GCancellable) -> *mut glib::GSource, 4920 >, 4921 pub read_nonblocking: Option< 4922 unsafe extern "C" fn( 4923 *mut GPollableInputStream, 4924 *mut u8, 4925 size_t, 4926 *mut *mut glib::GError, 4927 ) -> ssize_t, 4928 >, 4929 } 4930 4931 impl ::std::fmt::Debug for GPollableInputStreamInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4932 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4933 f.debug_struct(&format!("GPollableInputStreamInterface @ {:p}", self)) 4934 .field("g_iface", &self.g_iface) 4935 .field("can_poll", &self.can_poll) 4936 .field("is_readable", &self.is_readable) 4937 .field("create_source", &self.create_source) 4938 .field("read_nonblocking", &self.read_nonblocking) 4939 .finish() 4940 } 4941 } 4942 4943 #[repr(C)] 4944 #[derive(Copy, Clone)] 4945 pub struct GPollableOutputStreamInterface { 4946 pub g_iface: gobject::GTypeInterface, 4947 pub can_poll: Option<unsafe extern "C" fn(*mut GPollableOutputStream) -> gboolean>, 4948 pub is_writable: Option<unsafe extern "C" fn(*mut GPollableOutputStream) -> gboolean>, 4949 pub create_source: Option< 4950 unsafe extern "C" fn(*mut GPollableOutputStream, *mut GCancellable) -> *mut glib::GSource, 4951 >, 4952 pub write_nonblocking: Option< 4953 unsafe extern "C" fn( 4954 *mut GPollableOutputStream, 4955 *mut u8, 4956 size_t, 4957 *mut *mut glib::GError, 4958 ) -> ssize_t, 4959 >, 4960 pub writev_nonblocking: Option< 4961 unsafe extern "C" fn( 4962 *mut GPollableOutputStream, 4963 *const GOutputVector, 4964 size_t, 4965 *mut size_t, 4966 *mut *mut glib::GError, 4967 ) -> GPollableReturn, 4968 >, 4969 } 4970 4971 impl ::std::fmt::Debug for GPollableOutputStreamInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4972 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4973 f.debug_struct(&format!("GPollableOutputStreamInterface @ {:p}", self)) 4974 .field("g_iface", &self.g_iface) 4975 .field("can_poll", &self.can_poll) 4976 .field("is_writable", &self.is_writable) 4977 .field("create_source", &self.create_source) 4978 .field("write_nonblocking", &self.write_nonblocking) 4979 .field("writev_nonblocking", &self.writev_nonblocking) 4980 .finish() 4981 } 4982 } 4983 4984 #[repr(C)] 4985 #[derive(Copy, Clone)] 4986 pub struct GProxyAddressClass { 4987 pub parent_class: GInetSocketAddressClass, 4988 } 4989 4990 impl ::std::fmt::Debug for GProxyAddressClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4991 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4992 f.debug_struct(&format!("GProxyAddressClass @ {:p}", self)) 4993 .field("parent_class", &self.parent_class) 4994 .finish() 4995 } 4996 } 4997 4998 #[repr(C)] 4999 #[derive(Copy, Clone)] 5000 pub struct GProxyAddressEnumeratorClass { 5001 pub parent_class: GSocketAddressEnumeratorClass, 5002 pub _g_reserved1: Option<unsafe extern "C" fn()>, 5003 pub _g_reserved2: Option<unsafe extern "C" fn()>, 5004 pub _g_reserved3: Option<unsafe extern "C" fn()>, 5005 pub _g_reserved4: Option<unsafe extern "C" fn()>, 5006 pub _g_reserved5: Option<unsafe extern "C" fn()>, 5007 pub _g_reserved6: Option<unsafe extern "C" fn()>, 5008 pub _g_reserved7: Option<unsafe extern "C" fn()>, 5009 } 5010 5011 impl ::std::fmt::Debug for GProxyAddressEnumeratorClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5012 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5013 f.debug_struct(&format!("GProxyAddressEnumeratorClass @ {:p}", self)) 5014 .field("_g_reserved1", &self._g_reserved1) 5015 .field("_g_reserved2", &self._g_reserved2) 5016 .field("_g_reserved3", &self._g_reserved3) 5017 .field("_g_reserved4", &self._g_reserved4) 5018 .field("_g_reserved5", &self._g_reserved5) 5019 .field("_g_reserved6", &self._g_reserved6) 5020 .field("_g_reserved7", &self._g_reserved7) 5021 .finish() 5022 } 5023 } 5024 5025 #[repr(C)] 5026 pub struct _GProxyAddressEnumeratorPrivate(c_void); 5027 5028 pub type GProxyAddressEnumeratorPrivate = *mut _GProxyAddressEnumeratorPrivate; 5029 5030 #[repr(C)] 5031 pub struct _GProxyAddressPrivate(c_void); 5032 5033 pub type GProxyAddressPrivate = *mut _GProxyAddressPrivate; 5034 5035 #[repr(C)] 5036 #[derive(Copy, Clone)] 5037 pub struct GProxyInterface { 5038 pub g_iface: gobject::GTypeInterface, 5039 pub connect: Option< 5040 unsafe extern "C" fn( 5041 *mut GProxy, 5042 *mut GIOStream, 5043 *mut GProxyAddress, 5044 *mut GCancellable, 5045 *mut *mut glib::GError, 5046 ) -> *mut GIOStream, 5047 >, 5048 pub connect_async: Option< 5049 unsafe extern "C" fn( 5050 *mut GProxy, 5051 *mut GIOStream, 5052 *mut GProxyAddress, 5053 *mut GCancellable, 5054 GAsyncReadyCallback, 5055 gpointer, 5056 ), 5057 >, 5058 pub connect_finish: Option< 5059 unsafe extern "C" fn( 5060 *mut GProxy, 5061 *mut GAsyncResult, 5062 *mut *mut glib::GError, 5063 ) -> *mut GIOStream, 5064 >, 5065 pub supports_hostname: Option<unsafe extern "C" fn(*mut GProxy) -> gboolean>, 5066 } 5067 5068 impl ::std::fmt::Debug for GProxyInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5069 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5070 f.debug_struct(&format!("GProxyInterface @ {:p}", self)) 5071 .field("g_iface", &self.g_iface) 5072 .field("connect", &self.connect) 5073 .field("connect_async", &self.connect_async) 5074 .field("connect_finish", &self.connect_finish) 5075 .field("supports_hostname", &self.supports_hostname) 5076 .finish() 5077 } 5078 } 5079 5080 #[repr(C)] 5081 #[derive(Copy, Clone)] 5082 pub struct GProxyResolverInterface { 5083 pub g_iface: gobject::GTypeInterface, 5084 pub is_supported: Option<unsafe extern "C" fn(*mut GProxyResolver) -> gboolean>, 5085 pub lookup: Option< 5086 unsafe extern "C" fn( 5087 *mut GProxyResolver, 5088 *const c_char, 5089 *mut GCancellable, 5090 *mut *mut glib::GError, 5091 ) -> *mut *mut c_char, 5092 >, 5093 pub lookup_async: Option< 5094 unsafe extern "C" fn( 5095 *mut GProxyResolver, 5096 *const c_char, 5097 *mut GCancellable, 5098 GAsyncReadyCallback, 5099 gpointer, 5100 ), 5101 >, 5102 pub lookup_finish: Option< 5103 unsafe extern "C" fn( 5104 *mut GProxyResolver, 5105 *mut GAsyncResult, 5106 *mut *mut glib::GError, 5107 ) -> *mut *mut c_char, 5108 >, 5109 } 5110 5111 impl ::std::fmt::Debug for GProxyResolverInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5112 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5113 f.debug_struct(&format!("GProxyResolverInterface @ {:p}", self)) 5114 .field("g_iface", &self.g_iface) 5115 .field("is_supported", &self.is_supported) 5116 .field("lookup", &self.lookup) 5117 .field("lookup_async", &self.lookup_async) 5118 .field("lookup_finish", &self.lookup_finish) 5119 .finish() 5120 } 5121 } 5122 5123 #[repr(C)] 5124 #[derive(Copy, Clone)] 5125 pub struct GRemoteActionGroupInterface { 5126 pub g_iface: gobject::GTypeInterface, 5127 pub activate_action_full: Option< 5128 unsafe extern "C" fn( 5129 *mut GRemoteActionGroup, 5130 *const c_char, 5131 *mut glib::GVariant, 5132 *mut glib::GVariant, 5133 ), 5134 >, 5135 pub change_action_state_full: Option< 5136 unsafe extern "C" fn( 5137 *mut GRemoteActionGroup, 5138 *const c_char, 5139 *mut glib::GVariant, 5140 *mut glib::GVariant, 5141 ), 5142 >, 5143 } 5144 5145 impl ::std::fmt::Debug for GRemoteActionGroupInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5146 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5147 f.debug_struct(&format!("GRemoteActionGroupInterface @ {:p}", self)) 5148 .field("g_iface", &self.g_iface) 5149 .field("activate_action_full", &self.activate_action_full) 5150 .field("change_action_state_full", &self.change_action_state_full) 5151 .finish() 5152 } 5153 } 5154 5155 #[repr(C)] 5156 #[derive(Copy, Clone)] 5157 pub struct GResolverClass { 5158 pub parent_class: gobject::GObjectClass, 5159 pub reload: Option<unsafe extern "C" fn(*mut GResolver)>, 5160 pub lookup_by_name: Option< 5161 unsafe extern "C" fn( 5162 *mut GResolver, 5163 *const c_char, 5164 *mut GCancellable, 5165 *mut *mut glib::GError, 5166 ) -> *mut glib::GList, 5167 >, 5168 pub lookup_by_name_async: Option< 5169 unsafe extern "C" fn( 5170 *mut GResolver, 5171 *const c_char, 5172 *mut GCancellable, 5173 GAsyncReadyCallback, 5174 gpointer, 5175 ), 5176 >, 5177 pub lookup_by_name_finish: Option< 5178 unsafe extern "C" fn( 5179 *mut GResolver, 5180 *mut GAsyncResult, 5181 *mut *mut glib::GError, 5182 ) -> *mut glib::GList, 5183 >, 5184 pub lookup_by_address: Option< 5185 unsafe extern "C" fn( 5186 *mut GResolver, 5187 *mut GInetAddress, 5188 *mut GCancellable, 5189 *mut *mut glib::GError, 5190 ) -> *mut c_char, 5191 >, 5192 pub lookup_by_address_async: Option< 5193 unsafe extern "C" fn( 5194 *mut GResolver, 5195 *mut GInetAddress, 5196 *mut GCancellable, 5197 GAsyncReadyCallback, 5198 gpointer, 5199 ), 5200 >, 5201 pub lookup_by_address_finish: Option< 5202 unsafe extern "C" fn( 5203 *mut GResolver, 5204 *mut GAsyncResult, 5205 *mut *mut glib::GError, 5206 ) -> *mut c_char, 5207 >, 5208 pub lookup_service: Option< 5209 unsafe extern "C" fn( 5210 *mut GResolver, 5211 *const c_char, 5212 *mut GCancellable, 5213 *mut *mut glib::GError, 5214 ) -> *mut glib::GList, 5215 >, 5216 pub lookup_service_async: Option< 5217 unsafe extern "C" fn( 5218 *mut GResolver, 5219 *const c_char, 5220 *mut GCancellable, 5221 GAsyncReadyCallback, 5222 gpointer, 5223 ), 5224 >, 5225 pub lookup_service_finish: Option< 5226 unsafe extern "C" fn( 5227 *mut GResolver, 5228 *mut GAsyncResult, 5229 *mut *mut glib::GError, 5230 ) -> *mut glib::GList, 5231 >, 5232 pub lookup_records: Option< 5233 unsafe extern "C" fn( 5234 *mut GResolver, 5235 *const c_char, 5236 GResolverRecordType, 5237 *mut GCancellable, 5238 *mut *mut glib::GError, 5239 ) -> *mut glib::GList, 5240 >, 5241 pub lookup_records_async: Option< 5242 unsafe extern "C" fn( 5243 *mut GResolver, 5244 *const c_char, 5245 GResolverRecordType, 5246 *mut GCancellable, 5247 GAsyncReadyCallback, 5248 gpointer, 5249 ), 5250 >, 5251 pub lookup_records_finish: Option< 5252 unsafe extern "C" fn( 5253 *mut GResolver, 5254 *mut GAsyncResult, 5255 *mut *mut glib::GError, 5256 ) -> *mut glib::GList, 5257 >, 5258 pub lookup_by_name_with_flags_async: Option< 5259 unsafe extern "C" fn( 5260 *mut GResolver, 5261 *const c_char, 5262 GResolverNameLookupFlags, 5263 *mut GCancellable, 5264 GAsyncReadyCallback, 5265 gpointer, 5266 ), 5267 >, 5268 pub lookup_by_name_with_flags_finish: Option< 5269 unsafe extern "C" fn( 5270 *mut GResolver, 5271 *mut GAsyncResult, 5272 *mut *mut glib::GError, 5273 ) -> *mut glib::GList, 5274 >, 5275 pub lookup_by_name_with_flags: Option< 5276 unsafe extern "C" fn( 5277 *mut GResolver, 5278 *const c_char, 5279 GResolverNameLookupFlags, 5280 *mut GCancellable, 5281 *mut *mut glib::GError, 5282 ) -> *mut glib::GList, 5283 >, 5284 } 5285 5286 impl ::std::fmt::Debug for GResolverClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5287 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5288 f.debug_struct(&format!("GResolverClass @ {:p}", self)) 5289 .field("parent_class", &self.parent_class) 5290 .field("reload", &self.reload) 5291 .field("lookup_by_name", &self.lookup_by_name) 5292 .field("lookup_by_name_async", &self.lookup_by_name_async) 5293 .field("lookup_by_name_finish", &self.lookup_by_name_finish) 5294 .field("lookup_by_address", &self.lookup_by_address) 5295 .field("lookup_by_address_async", &self.lookup_by_address_async) 5296 .field("lookup_by_address_finish", &self.lookup_by_address_finish) 5297 .field("lookup_service", &self.lookup_service) 5298 .field("lookup_service_async", &self.lookup_service_async) 5299 .field("lookup_service_finish", &self.lookup_service_finish) 5300 .field("lookup_records", &self.lookup_records) 5301 .field("lookup_records_async", &self.lookup_records_async) 5302 .field("lookup_records_finish", &self.lookup_records_finish) 5303 .field( 5304 "lookup_by_name_with_flags_async", 5305 &self.lookup_by_name_with_flags_async, 5306 ) 5307 .field( 5308 "lookup_by_name_with_flags_finish", 5309 &self.lookup_by_name_with_flags_finish, 5310 ) 5311 .field("lookup_by_name_with_flags", &self.lookup_by_name_with_flags) 5312 .finish() 5313 } 5314 } 5315 5316 #[repr(C)] 5317 pub struct _GResolverPrivate(c_void); 5318 5319 pub type GResolverPrivate = *mut _GResolverPrivate; 5320 5321 #[repr(C)] 5322 pub struct GResource(c_void); 5323 5324 impl ::std::fmt::Debug for GResource { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5325 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5326 f.debug_struct(&format!("GResource @ {:p}", self)).finish() 5327 } 5328 } 5329 5330 #[repr(C)] 5331 #[derive(Copy, Clone)] 5332 pub struct GSeekableIface { 5333 pub g_iface: gobject::GTypeInterface, 5334 pub tell: Option<unsafe extern "C" fn(*mut GSeekable) -> i64>, 5335 pub can_seek: Option<unsafe extern "C" fn(*mut GSeekable) -> gboolean>, 5336 pub seek: Option< 5337 unsafe extern "C" fn( 5338 *mut GSeekable, 5339 i64, 5340 glib::GSeekType, 5341 *mut GCancellable, 5342 *mut *mut glib::GError, 5343 ) -> gboolean, 5344 >, 5345 pub can_truncate: Option<unsafe extern "C" fn(*mut GSeekable) -> gboolean>, 5346 pub truncate_fn: Option< 5347 unsafe extern "C" fn( 5348 *mut GSeekable, 5349 i64, 5350 *mut GCancellable, 5351 *mut *mut glib::GError, 5352 ) -> gboolean, 5353 >, 5354 } 5355 5356 impl ::std::fmt::Debug for GSeekableIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5357 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5358 f.debug_struct(&format!("GSeekableIface @ {:p}", self)) 5359 .field("g_iface", &self.g_iface) 5360 .field("tell", &self.tell) 5361 .field("can_seek", &self.can_seek) 5362 .field("seek", &self.seek) 5363 .field("can_truncate", &self.can_truncate) 5364 .field("truncate_fn", &self.truncate_fn) 5365 .finish() 5366 } 5367 } 5368 5369 #[repr(C)] 5370 #[derive(Copy, Clone)] 5371 pub struct GSettingsBackendClass { 5372 pub parent_class: gobject::GObjectClass, 5373 pub read: Option< 5374 unsafe extern "C" fn( 5375 *mut GSettingsBackend, 5376 *const c_char, 5377 *const glib::GVariantType, 5378 gboolean, 5379 ) -> *mut glib::GVariant, 5380 >, 5381 pub get_writable: 5382 Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char) -> gboolean>, 5383 pub write: Option< 5384 unsafe extern "C" fn( 5385 *mut GSettingsBackend, 5386 *const c_char, 5387 *mut glib::GVariant, 5388 gpointer, 5389 ) -> gboolean, 5390 >, 5391 pub write_tree: 5392 Option<unsafe extern "C" fn(*mut GSettingsBackend, *mut glib::GTree, gpointer) -> gboolean>, 5393 pub reset: Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char, gpointer)>, 5394 pub subscribe: Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char)>, 5395 pub unsubscribe: Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char)>, 5396 pub sync: Option<unsafe extern "C" fn(*mut GSettingsBackend)>, 5397 pub get_permission: 5398 Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char) -> *mut GPermission>, 5399 pub read_user_value: Option< 5400 unsafe extern "C" fn( 5401 *mut GSettingsBackend, 5402 *const c_char, 5403 *const glib::GVariantType, 5404 ) -> *mut glib::GVariant, 5405 >, 5406 pub padding: [gpointer; 23], 5407 } 5408 5409 impl ::std::fmt::Debug for GSettingsBackendClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5410 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5411 f.debug_struct(&format!("GSettingsBackendClass @ {:p}", self)) 5412 .field("parent_class", &self.parent_class) 5413 .field("read", &self.read) 5414 .field("get_writable", &self.get_writable) 5415 .field("write", &self.write) 5416 .field("write_tree", &self.write_tree) 5417 .field("reset", &self.reset) 5418 .field("subscribe", &self.subscribe) 5419 .field("unsubscribe", &self.unsubscribe) 5420 .field("sync", &self.sync) 5421 .field("get_permission", &self.get_permission) 5422 .field("read_user_value", &self.read_user_value) 5423 .finish() 5424 } 5425 } 5426 5427 #[repr(C)] 5428 pub struct _GSettingsBackendPrivate(c_void); 5429 5430 pub type GSettingsBackendPrivate = *mut _GSettingsBackendPrivate; 5431 5432 #[repr(C)] 5433 #[derive(Copy, Clone)] 5434 pub struct GSettingsClass { 5435 pub parent_class: gobject::GObjectClass, 5436 pub writable_changed: Option<unsafe extern "C" fn(*mut GSettings, *const c_char)>, 5437 pub changed: Option<unsafe extern "C" fn(*mut GSettings, *const c_char)>, 5438 pub writable_change_event: 5439 Option<unsafe extern "C" fn(*mut GSettings, glib::GQuark) -> gboolean>, 5440 pub change_event: 5441 Option<unsafe extern "C" fn(*mut GSettings, *const glib::GQuark, c_int) -> gboolean>, 5442 pub padding: [gpointer; 20], 5443 } 5444 5445 impl ::std::fmt::Debug for GSettingsClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5446 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5447 f.debug_struct(&format!("GSettingsClass @ {:p}", self)) 5448 .field("parent_class", &self.parent_class) 5449 .field("writable_changed", &self.writable_changed) 5450 .field("changed", &self.changed) 5451 .field("writable_change_event", &self.writable_change_event) 5452 .field("change_event", &self.change_event) 5453 .field("padding", &self.padding) 5454 .finish() 5455 } 5456 } 5457 5458 #[repr(C)] 5459 pub struct _GSettingsPrivate(c_void); 5460 5461 pub type GSettingsPrivate = *mut _GSettingsPrivate; 5462 5463 #[repr(C)] 5464 pub struct GSettingsSchema(c_void); 5465 5466 impl ::std::fmt::Debug for GSettingsSchema { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5467 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5468 f.debug_struct(&format!("GSettingsSchema @ {:p}", self)) 5469 .finish() 5470 } 5471 } 5472 5473 #[repr(C)] 5474 pub struct GSettingsSchemaKey(c_void); 5475 5476 impl ::std::fmt::Debug for GSettingsSchemaKey { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5477 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5478 f.debug_struct(&format!("GSettingsSchemaKey @ {:p}", self)) 5479 .finish() 5480 } 5481 } 5482 5483 #[repr(C)] 5484 pub struct GSettingsSchemaSource(c_void); 5485 5486 impl ::std::fmt::Debug for GSettingsSchemaSource { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5487 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5488 f.debug_struct(&format!("GSettingsSchemaSource @ {:p}", self)) 5489 .finish() 5490 } 5491 } 5492 5493 #[repr(C)] 5494 #[derive(Copy, Clone)] 5495 pub struct GSimpleActionGroupClass { 5496 pub parent_class: gobject::GObjectClass, 5497 pub padding: [gpointer; 12], 5498 } 5499 5500 impl ::std::fmt::Debug for GSimpleActionGroupClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5501 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5502 f.debug_struct(&format!("GSimpleActionGroupClass @ {:p}", self)) 5503 .finish() 5504 } 5505 } 5506 5507 #[repr(C)] 5508 pub struct _GSimpleActionGroupPrivate(c_void); 5509 5510 pub type GSimpleActionGroupPrivate = *mut _GSimpleActionGroupPrivate; 5511 5512 #[repr(C)] 5513 pub struct _GSimpleAsyncResultClass(c_void); 5514 5515 pub type GSimpleAsyncResultClass = *mut _GSimpleAsyncResultClass; 5516 5517 #[repr(C)] 5518 #[derive(Copy, Clone)] 5519 pub struct GSimpleProxyResolverClass { 5520 pub parent_class: gobject::GObjectClass, 5521 pub _g_reserved1: Option<unsafe extern "C" fn()>, 5522 pub _g_reserved2: Option<unsafe extern "C" fn()>, 5523 pub _g_reserved3: Option<unsafe extern "C" fn()>, 5524 pub _g_reserved4: Option<unsafe extern "C" fn()>, 5525 pub _g_reserved5: Option<unsafe extern "C" fn()>, 5526 } 5527 5528 impl ::std::fmt::Debug for GSimpleProxyResolverClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5529 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5530 f.debug_struct(&format!("GSimpleProxyResolverClass @ {:p}", self)) 5531 .field("parent_class", &self.parent_class) 5532 .field("_g_reserved1", &self._g_reserved1) 5533 .field("_g_reserved2", &self._g_reserved2) 5534 .field("_g_reserved3", &self._g_reserved3) 5535 .field("_g_reserved4", &self._g_reserved4) 5536 .field("_g_reserved5", &self._g_reserved5) 5537 .finish() 5538 } 5539 } 5540 5541 #[repr(C)] 5542 pub struct _GSimpleProxyResolverPrivate(c_void); 5543 5544 pub type GSimpleProxyResolverPrivate = *mut _GSimpleProxyResolverPrivate; 5545 5546 #[repr(C)] 5547 #[derive(Copy, Clone)] 5548 pub struct GSocketAddressClass { 5549 pub parent_class: gobject::GObjectClass, 5550 pub get_family: Option<unsafe extern "C" fn(*mut GSocketAddress) -> GSocketFamily>, 5551 pub get_native_size: Option<unsafe extern "C" fn(*mut GSocketAddress) -> ssize_t>, 5552 pub to_native: Option< 5553 unsafe extern "C" fn( 5554 *mut GSocketAddress, 5555 gpointer, 5556 size_t, 5557 *mut *mut glib::GError, 5558 ) -> gboolean, 5559 >, 5560 } 5561 5562 impl ::std::fmt::Debug for GSocketAddressClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5563 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5564 f.debug_struct(&format!("GSocketAddressClass @ {:p}", self)) 5565 .field("parent_class", &self.parent_class) 5566 .field("get_family", &self.get_family) 5567 .field("get_native_size", &self.get_native_size) 5568 .field("to_native", &self.to_native) 5569 .finish() 5570 } 5571 } 5572 5573 #[repr(C)] 5574 #[derive(Copy, Clone)] 5575 pub struct GSocketAddressEnumeratorClass { 5576 pub parent_class: gobject::GObjectClass, 5577 pub next: Option< 5578 unsafe extern "C" fn( 5579 *mut GSocketAddressEnumerator, 5580 *mut GCancellable, 5581 *mut *mut glib::GError, 5582 ) -> *mut GSocketAddress, 5583 >, 5584 pub next_async: Option< 5585 unsafe extern "C" fn( 5586 *mut GSocketAddressEnumerator, 5587 *mut GCancellable, 5588 GAsyncReadyCallback, 5589 gpointer, 5590 ), 5591 >, 5592 pub next_finish: Option< 5593 unsafe extern "C" fn( 5594 *mut GSocketAddressEnumerator, 5595 *mut GAsyncResult, 5596 *mut *mut glib::GError, 5597 ) -> *mut GSocketAddress, 5598 >, 5599 } 5600 5601 impl ::std::fmt::Debug for GSocketAddressEnumeratorClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5602 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5603 f.debug_struct(&format!("GSocketAddressEnumeratorClass @ {:p}", self)) 5604 .field("next", &self.next) 5605 .field("next_async", &self.next_async) 5606 .field("next_finish", &self.next_finish) 5607 .finish() 5608 } 5609 } 5610 5611 #[repr(C)] 5612 #[derive(Copy, Clone)] 5613 pub struct GSocketClass { 5614 pub parent_class: gobject::GObjectClass, 5615 pub _g_reserved1: Option<unsafe extern "C" fn()>, 5616 pub _g_reserved2: Option<unsafe extern "C" fn()>, 5617 pub _g_reserved3: Option<unsafe extern "C" fn()>, 5618 pub _g_reserved4: Option<unsafe extern "C" fn()>, 5619 pub _g_reserved5: Option<unsafe extern "C" fn()>, 5620 pub _g_reserved6: Option<unsafe extern "C" fn()>, 5621 pub _g_reserved7: Option<unsafe extern "C" fn()>, 5622 pub _g_reserved8: Option<unsafe extern "C" fn()>, 5623 pub _g_reserved9: Option<unsafe extern "C" fn()>, 5624 pub _g_reserved10: Option<unsafe extern "C" fn()>, 5625 } 5626 5627 impl ::std::fmt::Debug for GSocketClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5628 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5629 f.debug_struct(&format!("GSocketClass @ {:p}", self)) 5630 .field("parent_class", &self.parent_class) 5631 .field("_g_reserved1", &self._g_reserved1) 5632 .field("_g_reserved2", &self._g_reserved2) 5633 .field("_g_reserved3", &self._g_reserved3) 5634 .field("_g_reserved4", &self._g_reserved4) 5635 .field("_g_reserved5", &self._g_reserved5) 5636 .field("_g_reserved6", &self._g_reserved6) 5637 .field("_g_reserved7", &self._g_reserved7) 5638 .field("_g_reserved8", &self._g_reserved8) 5639 .field("_g_reserved9", &self._g_reserved9) 5640 .field("_g_reserved10", &self._g_reserved10) 5641 .finish() 5642 } 5643 } 5644 5645 #[repr(C)] 5646 #[derive(Copy, Clone)] 5647 pub struct GSocketClientClass { 5648 pub parent_class: gobject::GObjectClass, 5649 pub event: Option< 5650 unsafe extern "C" fn( 5651 *mut GSocketClient, 5652 GSocketClientEvent, 5653 *mut GSocketConnectable, 5654 *mut GIOStream, 5655 ), 5656 >, 5657 pub _g_reserved1: Option<unsafe extern "C" fn()>, 5658 pub _g_reserved2: Option<unsafe extern "C" fn()>, 5659 pub _g_reserved3: Option<unsafe extern "C" fn()>, 5660 pub _g_reserved4: Option<unsafe extern "C" fn()>, 5661 } 5662 5663 impl ::std::fmt::Debug for GSocketClientClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5664 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5665 f.debug_struct(&format!("GSocketClientClass @ {:p}", self)) 5666 .field("parent_class", &self.parent_class) 5667 .field("event", &self.event) 5668 .field("_g_reserved1", &self._g_reserved1) 5669 .field("_g_reserved2", &self._g_reserved2) 5670 .field("_g_reserved3", &self._g_reserved3) 5671 .field("_g_reserved4", &self._g_reserved4) 5672 .finish() 5673 } 5674 } 5675 5676 #[repr(C)] 5677 pub struct _GSocketClientPrivate(c_void); 5678 5679 pub type GSocketClientPrivate = *mut _GSocketClientPrivate; 5680 5681 #[repr(C)] 5682 #[derive(Copy, Clone)] 5683 pub struct GSocketConnectableIface { 5684 pub g_iface: gobject::GTypeInterface, 5685 pub enumerate: 5686 Option<unsafe extern "C" fn(*mut GSocketConnectable) -> *mut GSocketAddressEnumerator>, 5687 pub proxy_enumerate: 5688 Option<unsafe extern "C" fn(*mut GSocketConnectable) -> *mut GSocketAddressEnumerator>, 5689 pub to_string: Option<unsafe extern "C" fn(*mut GSocketConnectable) -> *mut c_char>, 5690 } 5691 5692 impl ::std::fmt::Debug for GSocketConnectableIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5693 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5694 f.debug_struct(&format!("GSocketConnectableIface @ {:p}", self)) 5695 .field("g_iface", &self.g_iface) 5696 .field("enumerate", &self.enumerate) 5697 .field("proxy_enumerate", &self.proxy_enumerate) 5698 .field("to_string", &self.to_string) 5699 .finish() 5700 } 5701 } 5702 5703 #[repr(C)] 5704 #[derive(Copy, Clone)] 5705 pub struct GSocketConnectionClass { 5706 pub parent_class: GIOStreamClass, 5707 pub _g_reserved1: Option<unsafe extern "C" fn()>, 5708 pub _g_reserved2: Option<unsafe extern "C" fn()>, 5709 pub _g_reserved3: Option<unsafe extern "C" fn()>, 5710 pub _g_reserved4: Option<unsafe extern "C" fn()>, 5711 pub _g_reserved5: Option<unsafe extern "C" fn()>, 5712 pub _g_reserved6: Option<unsafe extern "C" fn()>, 5713 } 5714 5715 impl ::std::fmt::Debug for GSocketConnectionClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5716 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5717 f.debug_struct(&format!("GSocketConnectionClass @ {:p}", self)) 5718 .field("parent_class", &self.parent_class) 5719 .field("_g_reserved1", &self._g_reserved1) 5720 .field("_g_reserved2", &self._g_reserved2) 5721 .field("_g_reserved3", &self._g_reserved3) 5722 .field("_g_reserved4", &self._g_reserved4) 5723 .field("_g_reserved5", &self._g_reserved5) 5724 .field("_g_reserved6", &self._g_reserved6) 5725 .finish() 5726 } 5727 } 5728 5729 #[repr(C)] 5730 pub struct _GSocketConnectionPrivate(c_void); 5731 5732 pub type GSocketConnectionPrivate = *mut _GSocketConnectionPrivate; 5733 5734 #[repr(C)] 5735 #[derive(Copy, Clone)] 5736 pub struct GSocketControlMessageClass { 5737 pub parent_class: gobject::GObjectClass, 5738 pub get_size: Option<unsafe extern "C" fn(*mut GSocketControlMessage) -> size_t>, 5739 pub get_level: Option<unsafe extern "C" fn(*mut GSocketControlMessage) -> c_int>, 5740 pub get_type: Option<unsafe extern "C" fn(*mut GSocketControlMessage) -> c_int>, 5741 pub serialize: Option<unsafe extern "C" fn(*mut GSocketControlMessage, gpointer)>, 5742 pub deserialize: 5743 Option<unsafe extern "C" fn(c_int, c_int, size_t, gpointer) -> *mut GSocketControlMessage>, 5744 pub _g_reserved1: Option<unsafe extern "C" fn()>, 5745 pub _g_reserved2: Option<unsafe extern "C" fn()>, 5746 pub _g_reserved3: Option<unsafe extern "C" fn()>, 5747 pub _g_reserved4: Option<unsafe extern "C" fn()>, 5748 pub _g_reserved5: Option<unsafe extern "C" fn()>, 5749 } 5750 5751 impl ::std::fmt::Debug for GSocketControlMessageClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5752 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5753 f.debug_struct(&format!("GSocketControlMessageClass @ {:p}", self)) 5754 .field("parent_class", &self.parent_class) 5755 .field("get_size", &self.get_size) 5756 .field("get_level", &self.get_level) 5757 .field("get_type", &self.get_type) 5758 .field("serialize", &self.serialize) 5759 .field("deserialize", &self.deserialize) 5760 .field("_g_reserved1", &self._g_reserved1) 5761 .field("_g_reserved2", &self._g_reserved2) 5762 .field("_g_reserved3", &self._g_reserved3) 5763 .field("_g_reserved4", &self._g_reserved4) 5764 .field("_g_reserved5", &self._g_reserved5) 5765 .finish() 5766 } 5767 } 5768 5769 #[repr(C)] 5770 pub struct _GSocketControlMessagePrivate(c_void); 5771 5772 pub type GSocketControlMessagePrivate = *mut _GSocketControlMessagePrivate; 5773 5774 #[repr(C)] 5775 #[derive(Copy, Clone)] 5776 pub struct GSocketListenerClass { 5777 pub parent_class: gobject::GObjectClass, 5778 pub changed: Option<unsafe extern "C" fn(*mut GSocketListener)>, 5779 pub event: 5780 Option<unsafe extern "C" fn(*mut GSocketListener, GSocketListenerEvent, *mut GSocket)>, 5781 pub _g_reserved2: Option<unsafe extern "C" fn()>, 5782 pub _g_reserved3: Option<unsafe extern "C" fn()>, 5783 pub _g_reserved4: Option<unsafe extern "C" fn()>, 5784 pub _g_reserved5: Option<unsafe extern "C" fn()>, 5785 pub _g_reserved6: Option<unsafe extern "C" fn()>, 5786 } 5787 5788 impl ::std::fmt::Debug for GSocketListenerClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5789 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5790 f.debug_struct(&format!("GSocketListenerClass @ {:p}", self)) 5791 .field("parent_class", &self.parent_class) 5792 .field("changed", &self.changed) 5793 .field("event", &self.event) 5794 .field("_g_reserved2", &self._g_reserved2) 5795 .field("_g_reserved3", &self._g_reserved3) 5796 .field("_g_reserved4", &self._g_reserved4) 5797 .field("_g_reserved5", &self._g_reserved5) 5798 .field("_g_reserved6", &self._g_reserved6) 5799 .finish() 5800 } 5801 } 5802 5803 #[repr(C)] 5804 pub struct _GSocketListenerPrivate(c_void); 5805 5806 pub type GSocketListenerPrivate = *mut _GSocketListenerPrivate; 5807 5808 #[repr(C)] 5809 pub struct _GSocketPrivate(c_void); 5810 5811 pub type GSocketPrivate = *mut _GSocketPrivate; 5812 5813 #[repr(C)] 5814 #[derive(Copy, Clone)] 5815 pub struct GSocketServiceClass { 5816 pub parent_class: GSocketListenerClass, 5817 pub incoming: Option< 5818 unsafe extern "C" fn( 5819 *mut GSocketService, 5820 *mut GSocketConnection, 5821 *mut gobject::GObject, 5822 ) -> gboolean, 5823 >, 5824 pub _g_reserved1: Option<unsafe extern "C" fn()>, 5825 pub _g_reserved2: Option<unsafe extern "C" fn()>, 5826 pub _g_reserved3: Option<unsafe extern "C" fn()>, 5827 pub _g_reserved4: Option<unsafe extern "C" fn()>, 5828 pub _g_reserved5: Option<unsafe extern "C" fn()>, 5829 pub _g_reserved6: Option<unsafe extern "C" fn()>, 5830 } 5831 5832 impl ::std::fmt::Debug for GSocketServiceClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5833 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5834 f.debug_struct(&format!("GSocketServiceClass @ {:p}", self)) 5835 .field("parent_class", &self.parent_class) 5836 .field("incoming", &self.incoming) 5837 .field("_g_reserved1", &self._g_reserved1) 5838 .field("_g_reserved2", &self._g_reserved2) 5839 .field("_g_reserved3", &self._g_reserved3) 5840 .field("_g_reserved4", &self._g_reserved4) 5841 .field("_g_reserved5", &self._g_reserved5) 5842 .field("_g_reserved6", &self._g_reserved6) 5843 .finish() 5844 } 5845 } 5846 5847 #[repr(C)] 5848 pub struct _GSocketServicePrivate(c_void); 5849 5850 pub type GSocketServicePrivate = *mut _GSocketServicePrivate; 5851 5852 #[repr(C)] 5853 pub struct GSrvTarget(c_void); 5854 5855 impl ::std::fmt::Debug for GSrvTarget { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5856 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5857 f.debug_struct(&format!("GSrvTarget @ {:p}", self)).finish() 5858 } 5859 } 5860 5861 #[repr(C)] 5862 #[derive(Copy, Clone)] 5863 pub struct GStaticResource { 5864 pub data: *const u8, 5865 pub data_len: size_t, 5866 pub resource: *mut GResource, 5867 pub next: *mut GStaticResource, 5868 pub padding: gpointer, 5869 } 5870 5871 impl ::std::fmt::Debug for GStaticResource { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5872 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5873 f.debug_struct(&format!("GStaticResource @ {:p}", self)) 5874 .finish() 5875 } 5876 } 5877 5878 #[repr(C)] 5879 pub struct _GTaskClass(c_void); 5880 5881 pub type GTaskClass = *mut _GTaskClass; 5882 5883 #[repr(C)] 5884 #[derive(Copy, Clone)] 5885 pub struct GTcpConnectionClass { 5886 pub parent_class: GSocketConnectionClass, 5887 } 5888 5889 impl ::std::fmt::Debug for GTcpConnectionClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5890 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5891 f.debug_struct(&format!("GTcpConnectionClass @ {:p}", self)) 5892 .field("parent_class", &self.parent_class) 5893 .finish() 5894 } 5895 } 5896 5897 #[repr(C)] 5898 pub struct _GTcpConnectionPrivate(c_void); 5899 5900 pub type GTcpConnectionPrivate = *mut _GTcpConnectionPrivate; 5901 5902 #[repr(C)] 5903 #[derive(Copy, Clone)] 5904 pub struct GTcpWrapperConnectionClass { 5905 pub parent_class: GTcpConnectionClass, 5906 } 5907 5908 impl ::std::fmt::Debug for GTcpWrapperConnectionClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5909 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5910 f.debug_struct(&format!("GTcpWrapperConnectionClass @ {:p}", self)) 5911 .field("parent_class", &self.parent_class) 5912 .finish() 5913 } 5914 } 5915 5916 #[repr(C)] 5917 pub struct _GTcpWrapperConnectionPrivate(c_void); 5918 5919 pub type GTcpWrapperConnectionPrivate = *mut _GTcpWrapperConnectionPrivate; 5920 5921 #[repr(C)] 5922 pub struct _GThemedIconClass(c_void); 5923 5924 pub type GThemedIconClass = *mut _GThemedIconClass; 5925 5926 #[repr(C)] 5927 #[derive(Copy, Clone)] 5928 pub struct GThreadedSocketServiceClass { 5929 pub parent_class: GSocketServiceClass, 5930 pub run: Option< 5931 unsafe extern "C" fn( 5932 *mut GThreadedSocketService, 5933 *mut GSocketConnection, 5934 *mut gobject::GObject, 5935 ) -> gboolean, 5936 >, 5937 pub _g_reserved1: Option<unsafe extern "C" fn()>, 5938 pub _g_reserved2: Option<unsafe extern "C" fn()>, 5939 pub _g_reserved3: Option<unsafe extern "C" fn()>, 5940 pub _g_reserved4: Option<unsafe extern "C" fn()>, 5941 pub _g_reserved5: Option<unsafe extern "C" fn()>, 5942 } 5943 5944 impl ::std::fmt::Debug for GThreadedSocketServiceClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5945 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5946 f.debug_struct(&format!("GThreadedSocketServiceClass @ {:p}", self)) 5947 .field("parent_class", &self.parent_class) 5948 .field("run", &self.run) 5949 .field("_g_reserved1", &self._g_reserved1) 5950 .field("_g_reserved2", &self._g_reserved2) 5951 .field("_g_reserved3", &self._g_reserved3) 5952 .field("_g_reserved4", &self._g_reserved4) 5953 .field("_g_reserved5", &self._g_reserved5) 5954 .finish() 5955 } 5956 } 5957 5958 #[repr(C)] 5959 pub struct _GThreadedSocketServicePrivate(c_void); 5960 5961 pub type GThreadedSocketServicePrivate = *mut _GThreadedSocketServicePrivate; 5962 5963 #[repr(C)] 5964 #[derive(Copy, Clone)] 5965 pub struct GTlsBackendInterface { 5966 pub g_iface: gobject::GTypeInterface, 5967 pub supports_tls: Option<unsafe extern "C" fn(*mut GTlsBackend) -> gboolean>, 5968 pub get_certificate_type: Option<unsafe extern "C" fn() -> GType>, 5969 pub get_client_connection_type: Option<unsafe extern "C" fn() -> GType>, 5970 pub get_server_connection_type: Option<unsafe extern "C" fn() -> GType>, 5971 pub get_file_database_type: Option<unsafe extern "C" fn() -> GType>, 5972 pub get_default_database: Option<unsafe extern "C" fn(*mut GTlsBackend) -> *mut GTlsDatabase>, 5973 pub supports_dtls: Option<unsafe extern "C" fn(*mut GTlsBackend) -> gboolean>, 5974 pub get_dtls_client_connection_type: Option<unsafe extern "C" fn() -> GType>, 5975 pub get_dtls_server_connection_type: Option<unsafe extern "C" fn() -> GType>, 5976 } 5977 5978 impl ::std::fmt::Debug for GTlsBackendInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5979 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5980 f.debug_struct(&format!("GTlsBackendInterface @ {:p}", self)) 5981 .field("g_iface", &self.g_iface) 5982 .field("supports_tls", &self.supports_tls) 5983 .field("get_certificate_type", &self.get_certificate_type) 5984 .field( 5985 "get_client_connection_type", 5986 &self.get_client_connection_type, 5987 ) 5988 .field( 5989 "get_server_connection_type", 5990 &self.get_server_connection_type, 5991 ) 5992 .field("get_file_database_type", &self.get_file_database_type) 5993 .field("get_default_database", &self.get_default_database) 5994 .field("supports_dtls", &self.supports_dtls) 5995 .field( 5996 "get_dtls_client_connection_type", 5997 &self.get_dtls_client_connection_type, 5998 ) 5999 .field( 6000 "get_dtls_server_connection_type", 6001 &self.get_dtls_server_connection_type, 6002 ) 6003 .finish() 6004 } 6005 } 6006 6007 #[repr(C)] 6008 #[derive(Copy, Clone)] 6009 pub struct GTlsCertificateClass { 6010 pub parent_class: gobject::GObjectClass, 6011 pub verify: Option< 6012 unsafe extern "C" fn( 6013 *mut GTlsCertificate, 6014 *mut GSocketConnectable, 6015 *mut GTlsCertificate, 6016 ) -> GTlsCertificateFlags, 6017 >, 6018 pub padding: [gpointer; 8], 6019 } 6020 6021 impl ::std::fmt::Debug for GTlsCertificateClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6022 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6023 f.debug_struct(&format!("GTlsCertificateClass @ {:p}", self)) 6024 .field("parent_class", &self.parent_class) 6025 .field("verify", &self.verify) 6026 .finish() 6027 } 6028 } 6029 6030 #[repr(C)] 6031 pub struct _GTlsCertificatePrivate(c_void); 6032 6033 pub type GTlsCertificatePrivate = *mut _GTlsCertificatePrivate; 6034 6035 #[repr(C)] 6036 #[derive(Copy, Clone)] 6037 pub struct GTlsClientConnectionInterface { 6038 pub g_iface: gobject::GTypeInterface, 6039 pub copy_session_state: 6040 Option<unsafe extern "C" fn(*mut GTlsClientConnection, *mut GTlsClientConnection)>, 6041 } 6042 6043 impl ::std::fmt::Debug for GTlsClientConnectionInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6044 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6045 f.debug_struct(&format!("GTlsClientConnectionInterface @ {:p}", self)) 6046 .field("g_iface", &self.g_iface) 6047 .field("copy_session_state", &self.copy_session_state) 6048 .finish() 6049 } 6050 } 6051 6052 #[repr(C)] 6053 #[derive(Copy, Clone)] 6054 pub struct GTlsConnectionClass { 6055 pub parent_class: GIOStreamClass, 6056 pub accept_certificate: Option< 6057 unsafe extern "C" fn( 6058 *mut GTlsConnection, 6059 *mut GTlsCertificate, 6060 GTlsCertificateFlags, 6061 ) -> gboolean, 6062 >, 6063 pub handshake: Option< 6064 unsafe extern "C" fn( 6065 *mut GTlsConnection, 6066 *mut GCancellable, 6067 *mut *mut glib::GError, 6068 ) -> gboolean, 6069 >, 6070 pub handshake_async: Option< 6071 unsafe extern "C" fn( 6072 *mut GTlsConnection, 6073 c_int, 6074 *mut GCancellable, 6075 GAsyncReadyCallback, 6076 gpointer, 6077 ), 6078 >, 6079 pub handshake_finish: Option< 6080 unsafe extern "C" fn( 6081 *mut GTlsConnection, 6082 *mut GAsyncResult, 6083 *mut *mut glib::GError, 6084 ) -> gboolean, 6085 >, 6086 pub get_binding_data: Option< 6087 unsafe extern "C" fn( 6088 *mut GTlsConnection, 6089 GTlsChannelBindingType, 6090 *mut glib::GByteArray, 6091 *mut *mut glib::GError, 6092 ) -> gboolean, 6093 >, 6094 pub padding: [gpointer; 7], 6095 } 6096 6097 impl ::std::fmt::Debug for GTlsConnectionClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6098 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6099 f.debug_struct(&format!("GTlsConnectionClass @ {:p}", self)) 6100 .field("parent_class", &self.parent_class) 6101 .field("accept_certificate", &self.accept_certificate) 6102 .field("handshake", &self.handshake) 6103 .field("handshake_async", &self.handshake_async) 6104 .field("handshake_finish", &self.handshake_finish) 6105 .field("get_binding_data", &self.get_binding_data) 6106 .finish() 6107 } 6108 } 6109 6110 #[repr(C)] 6111 pub struct _GTlsConnectionPrivate(c_void); 6112 6113 pub type GTlsConnectionPrivate = *mut _GTlsConnectionPrivate; 6114 6115 #[repr(C)] 6116 #[derive(Copy, Clone)] 6117 pub struct GTlsDatabaseClass { 6118 pub parent_class: gobject::GObjectClass, 6119 pub verify_chain: Option< 6120 unsafe extern "C" fn( 6121 *mut GTlsDatabase, 6122 *mut GTlsCertificate, 6123 *const c_char, 6124 *mut GSocketConnectable, 6125 *mut GTlsInteraction, 6126 GTlsDatabaseVerifyFlags, 6127 *mut GCancellable, 6128 *mut *mut glib::GError, 6129 ) -> GTlsCertificateFlags, 6130 >, 6131 pub verify_chain_async: Option< 6132 unsafe extern "C" fn( 6133 *mut GTlsDatabase, 6134 *mut GTlsCertificate, 6135 *const c_char, 6136 *mut GSocketConnectable, 6137 *mut GTlsInteraction, 6138 GTlsDatabaseVerifyFlags, 6139 *mut GCancellable, 6140 GAsyncReadyCallback, 6141 gpointer, 6142 ), 6143 >, 6144 pub verify_chain_finish: Option< 6145 unsafe extern "C" fn( 6146 *mut GTlsDatabase, 6147 *mut GAsyncResult, 6148 *mut *mut glib::GError, 6149 ) -> GTlsCertificateFlags, 6150 >, 6151 pub create_certificate_handle: 6152 Option<unsafe extern "C" fn(*mut GTlsDatabase, *mut GTlsCertificate) -> *mut c_char>, 6153 pub lookup_certificate_for_handle: Option< 6154 unsafe extern "C" fn( 6155 *mut GTlsDatabase, 6156 *const c_char, 6157 *mut GTlsInteraction, 6158 GTlsDatabaseLookupFlags, 6159 *mut GCancellable, 6160 *mut *mut glib::GError, 6161 ) -> *mut GTlsCertificate, 6162 >, 6163 pub lookup_certificate_for_handle_async: Option< 6164 unsafe extern "C" fn( 6165 *mut GTlsDatabase, 6166 *const c_char, 6167 *mut GTlsInteraction, 6168 GTlsDatabaseLookupFlags, 6169 *mut GCancellable, 6170 GAsyncReadyCallback, 6171 gpointer, 6172 ), 6173 >, 6174 pub lookup_certificate_for_handle_finish: Option< 6175 unsafe extern "C" fn( 6176 *mut GTlsDatabase, 6177 *mut GAsyncResult, 6178 *mut *mut glib::GError, 6179 ) -> *mut GTlsCertificate, 6180 >, 6181 pub lookup_certificate_issuer: Option< 6182 unsafe extern "C" fn( 6183 *mut GTlsDatabase, 6184 *mut GTlsCertificate, 6185 *mut GTlsInteraction, 6186 GTlsDatabaseLookupFlags, 6187 *mut GCancellable, 6188 *mut *mut glib::GError, 6189 ) -> *mut GTlsCertificate, 6190 >, 6191 pub lookup_certificate_issuer_async: Option< 6192 unsafe extern "C" fn( 6193 *mut GTlsDatabase, 6194 *mut GTlsCertificate, 6195 *mut GTlsInteraction, 6196 GTlsDatabaseLookupFlags, 6197 *mut GCancellable, 6198 GAsyncReadyCallback, 6199 gpointer, 6200 ), 6201 >, 6202 pub lookup_certificate_issuer_finish: Option< 6203 unsafe extern "C" fn( 6204 *mut GTlsDatabase, 6205 *mut GAsyncResult, 6206 *mut *mut glib::GError, 6207 ) -> *mut GTlsCertificate, 6208 >, 6209 pub lookup_certificates_issued_by: Option< 6210 unsafe extern "C" fn( 6211 *mut GTlsDatabase, 6212 *mut glib::GByteArray, 6213 *mut GTlsInteraction, 6214 GTlsDatabaseLookupFlags, 6215 *mut GCancellable, 6216 *mut *mut glib::GError, 6217 ) -> *mut glib::GList, 6218 >, 6219 pub lookup_certificates_issued_by_async: Option< 6220 unsafe extern "C" fn( 6221 *mut GTlsDatabase, 6222 *mut glib::GByteArray, 6223 *mut GTlsInteraction, 6224 GTlsDatabaseLookupFlags, 6225 *mut GCancellable, 6226 GAsyncReadyCallback, 6227 gpointer, 6228 ), 6229 >, 6230 pub lookup_certificates_issued_by_finish: Option< 6231 unsafe extern "C" fn( 6232 *mut GTlsDatabase, 6233 *mut GAsyncResult, 6234 *mut *mut glib::GError, 6235 ) -> *mut glib::GList, 6236 >, 6237 pub padding: [gpointer; 16], 6238 } 6239 6240 impl ::std::fmt::Debug for GTlsDatabaseClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6241 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6242 f.debug_struct(&format!("GTlsDatabaseClass @ {:p}", self)) 6243 .field("parent_class", &self.parent_class) 6244 .field("verify_chain", &self.verify_chain) 6245 .field("verify_chain_async", &self.verify_chain_async) 6246 .field("verify_chain_finish", &self.verify_chain_finish) 6247 .field("create_certificate_handle", &self.create_certificate_handle) 6248 .field( 6249 "lookup_certificate_for_handle", 6250 &self.lookup_certificate_for_handle, 6251 ) 6252 .field( 6253 "lookup_certificate_for_handle_async", 6254 &self.lookup_certificate_for_handle_async, 6255 ) 6256 .field( 6257 "lookup_certificate_for_handle_finish", 6258 &self.lookup_certificate_for_handle_finish, 6259 ) 6260 .field("lookup_certificate_issuer", &self.lookup_certificate_issuer) 6261 .field( 6262 "lookup_certificate_issuer_async", 6263 &self.lookup_certificate_issuer_async, 6264 ) 6265 .field( 6266 "lookup_certificate_issuer_finish", 6267 &self.lookup_certificate_issuer_finish, 6268 ) 6269 .field( 6270 "lookup_certificates_issued_by", 6271 &self.lookup_certificates_issued_by, 6272 ) 6273 .field( 6274 "lookup_certificates_issued_by_async", 6275 &self.lookup_certificates_issued_by_async, 6276 ) 6277 .field( 6278 "lookup_certificates_issued_by_finish", 6279 &self.lookup_certificates_issued_by_finish, 6280 ) 6281 .finish() 6282 } 6283 } 6284 6285 #[repr(C)] 6286 pub struct _GTlsDatabasePrivate(c_void); 6287 6288 pub type GTlsDatabasePrivate = *mut _GTlsDatabasePrivate; 6289 6290 #[repr(C)] 6291 #[derive(Copy, Clone)] 6292 pub struct GTlsFileDatabaseInterface { 6293 pub g_iface: gobject::GTypeInterface, 6294 pub padding: [gpointer; 8], 6295 } 6296 6297 impl ::std::fmt::Debug for GTlsFileDatabaseInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6298 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6299 f.debug_struct(&format!("GTlsFileDatabaseInterface @ {:p}", self)) 6300 .field("g_iface", &self.g_iface) 6301 .finish() 6302 } 6303 } 6304 6305 #[repr(C)] 6306 #[derive(Copy, Clone)] 6307 pub struct GTlsInteractionClass { 6308 pub parent_class: gobject::GObjectClass, 6309 pub ask_password: Option< 6310 unsafe extern "C" fn( 6311 *mut GTlsInteraction, 6312 *mut GTlsPassword, 6313 *mut GCancellable, 6314 *mut *mut glib::GError, 6315 ) -> GTlsInteractionResult, 6316 >, 6317 pub ask_password_async: Option< 6318 unsafe extern "C" fn( 6319 *mut GTlsInteraction, 6320 *mut GTlsPassword, 6321 *mut GCancellable, 6322 GAsyncReadyCallback, 6323 gpointer, 6324 ), 6325 >, 6326 pub ask_password_finish: Option< 6327 unsafe extern "C" fn( 6328 *mut GTlsInteraction, 6329 *mut GAsyncResult, 6330 *mut *mut glib::GError, 6331 ) -> GTlsInteractionResult, 6332 >, 6333 pub request_certificate: Option< 6334 unsafe extern "C" fn( 6335 *mut GTlsInteraction, 6336 *mut GTlsConnection, 6337 GTlsCertificateRequestFlags, 6338 *mut GCancellable, 6339 *mut *mut glib::GError, 6340 ) -> GTlsInteractionResult, 6341 >, 6342 pub request_certificate_async: Option< 6343 unsafe extern "C" fn( 6344 *mut GTlsInteraction, 6345 *mut GTlsConnection, 6346 GTlsCertificateRequestFlags, 6347 *mut GCancellable, 6348 GAsyncReadyCallback, 6349 gpointer, 6350 ), 6351 >, 6352 pub request_certificate_finish: Option< 6353 unsafe extern "C" fn( 6354 *mut GTlsInteraction, 6355 *mut GAsyncResult, 6356 *mut *mut glib::GError, 6357 ) -> GTlsInteractionResult, 6358 >, 6359 pub padding: [gpointer; 21], 6360 } 6361 6362 impl ::std::fmt::Debug for GTlsInteractionClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6363 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6364 f.debug_struct(&format!("GTlsInteractionClass @ {:p}", self)) 6365 .field("ask_password", &self.ask_password) 6366 .field("ask_password_async", &self.ask_password_async) 6367 .field("ask_password_finish", &self.ask_password_finish) 6368 .field("request_certificate", &self.request_certificate) 6369 .field("request_certificate_async", &self.request_certificate_async) 6370 .field( 6371 "request_certificate_finish", 6372 &self.request_certificate_finish, 6373 ) 6374 .finish() 6375 } 6376 } 6377 6378 #[repr(C)] 6379 pub struct _GTlsInteractionPrivate(c_void); 6380 6381 pub type GTlsInteractionPrivate = *mut _GTlsInteractionPrivate; 6382 6383 #[repr(C)] 6384 #[derive(Copy, Clone)] 6385 pub struct GTlsPasswordClass { 6386 pub parent_class: gobject::GObjectClass, 6387 pub get_value: Option<unsafe extern "C" fn(*mut GTlsPassword, *mut size_t) -> *const u8>, 6388 pub set_value: 6389 Option<unsafe extern "C" fn(*mut GTlsPassword, *mut u8, ssize_t, glib::GDestroyNotify)>, 6390 pub get_default_warning: Option<unsafe extern "C" fn(*mut GTlsPassword) -> *const c_char>, 6391 pub padding: [gpointer; 4], 6392 } 6393 6394 impl ::std::fmt::Debug for GTlsPasswordClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6395 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6396 f.debug_struct(&format!("GTlsPasswordClass @ {:p}", self)) 6397 .field("parent_class", &self.parent_class) 6398 .field("get_value", &self.get_value) 6399 .field("set_value", &self.set_value) 6400 .field("get_default_warning", &self.get_default_warning) 6401 .finish() 6402 } 6403 } 6404 6405 #[repr(C)] 6406 pub struct _GTlsPasswordPrivate(c_void); 6407 6408 pub type GTlsPasswordPrivate = *mut _GTlsPasswordPrivate; 6409 6410 #[repr(C)] 6411 #[derive(Copy, Clone)] 6412 pub struct GTlsServerConnectionInterface { 6413 pub g_iface: gobject::GTypeInterface, 6414 } 6415 6416 impl ::std::fmt::Debug for GTlsServerConnectionInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6417 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6418 f.debug_struct(&format!("GTlsServerConnectionInterface @ {:p}", self)) 6419 .field("g_iface", &self.g_iface) 6420 .finish() 6421 } 6422 } 6423 6424 #[repr(C)] 6425 #[derive(Copy, Clone)] 6426 pub struct GUnixConnectionClass { 6427 pub parent_class: GSocketConnectionClass, 6428 } 6429 6430 impl ::std::fmt::Debug for GUnixConnectionClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6431 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6432 f.debug_struct(&format!("GUnixConnectionClass @ {:p}", self)) 6433 .field("parent_class", &self.parent_class) 6434 .finish() 6435 } 6436 } 6437 6438 #[repr(C)] 6439 pub struct _GUnixConnectionPrivate(c_void); 6440 6441 pub type GUnixConnectionPrivate = *mut _GUnixConnectionPrivate; 6442 6443 #[repr(C)] 6444 #[derive(Copy, Clone)] 6445 pub struct GUnixCredentialsMessageClass { 6446 pub parent_class: GSocketControlMessageClass, 6447 pub _g_reserved1: Option<unsafe extern "C" fn()>, 6448 pub _g_reserved2: Option<unsafe extern "C" fn()>, 6449 } 6450 6451 impl ::std::fmt::Debug for GUnixCredentialsMessageClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6452 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6453 f.debug_struct(&format!("GUnixCredentialsMessageClass @ {:p}", self)) 6454 .field("parent_class", &self.parent_class) 6455 .field("_g_reserved1", &self._g_reserved1) 6456 .field("_g_reserved2", &self._g_reserved2) 6457 .finish() 6458 } 6459 } 6460 6461 #[repr(C)] 6462 pub struct _GUnixCredentialsMessagePrivate(c_void); 6463 6464 pub type GUnixCredentialsMessagePrivate = *mut _GUnixCredentialsMessagePrivate; 6465 6466 #[repr(C)] 6467 #[derive(Copy, Clone)] 6468 pub struct GUnixFDListClass { 6469 pub parent_class: gobject::GObjectClass, 6470 pub _g_reserved1: Option<unsafe extern "C" fn()>, 6471 pub _g_reserved2: Option<unsafe extern "C" fn()>, 6472 pub _g_reserved3: Option<unsafe extern "C" fn()>, 6473 pub _g_reserved4: Option<unsafe extern "C" fn()>, 6474 pub _g_reserved5: Option<unsafe extern "C" fn()>, 6475 } 6476 6477 impl ::std::fmt::Debug for GUnixFDListClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6478 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6479 f.debug_struct(&format!("GUnixFDListClass @ {:p}", self)) 6480 .field("parent_class", &self.parent_class) 6481 .field("_g_reserved1", &self._g_reserved1) 6482 .field("_g_reserved2", &self._g_reserved2) 6483 .field("_g_reserved3", &self._g_reserved3) 6484 .field("_g_reserved4", &self._g_reserved4) 6485 .field("_g_reserved5", &self._g_reserved5) 6486 .finish() 6487 } 6488 } 6489 6490 #[repr(C)] 6491 pub struct _GUnixFDListPrivate(c_void); 6492 6493 pub type GUnixFDListPrivate = *mut _GUnixFDListPrivate; 6494 6495 #[repr(C)] 6496 #[derive(Copy, Clone)] 6497 pub struct GUnixFDMessageClass { 6498 pub parent_class: GSocketControlMessageClass, 6499 pub _g_reserved1: Option<unsafe extern "C" fn()>, 6500 pub _g_reserved2: Option<unsafe extern "C" fn()>, 6501 } 6502 6503 impl ::std::fmt::Debug for GUnixFDMessageClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6504 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6505 f.debug_struct(&format!("GUnixFDMessageClass @ {:p}", self)) 6506 .field("parent_class", &self.parent_class) 6507 .field("_g_reserved1", &self._g_reserved1) 6508 .field("_g_reserved2", &self._g_reserved2) 6509 .finish() 6510 } 6511 } 6512 6513 #[repr(C)] 6514 pub struct _GUnixFDMessagePrivate(c_void); 6515 6516 pub type GUnixFDMessagePrivate = *mut _GUnixFDMessagePrivate; 6517 6518 #[repr(C)] 6519 #[derive(Copy, Clone)] 6520 pub struct GUnixInputStreamClass { 6521 pub parent_class: GInputStreamClass, 6522 pub _g_reserved1: Option<unsafe extern "C" fn()>, 6523 pub _g_reserved2: Option<unsafe extern "C" fn()>, 6524 pub _g_reserved3: Option<unsafe extern "C" fn()>, 6525 pub _g_reserved4: Option<unsafe extern "C" fn()>, 6526 pub _g_reserved5: Option<unsafe extern "C" fn()>, 6527 } 6528 6529 impl ::std::fmt::Debug for GUnixInputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6530 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6531 f.debug_struct(&format!("GUnixInputStreamClass @ {:p}", self)) 6532 .field("parent_class", &self.parent_class) 6533 .field("_g_reserved1", &self._g_reserved1) 6534 .field("_g_reserved2", &self._g_reserved2) 6535 .field("_g_reserved3", &self._g_reserved3) 6536 .field("_g_reserved4", &self._g_reserved4) 6537 .field("_g_reserved5", &self._g_reserved5) 6538 .finish() 6539 } 6540 } 6541 6542 #[repr(C)] 6543 pub struct _GUnixInputStreamPrivate(c_void); 6544 6545 pub type GUnixInputStreamPrivate = *mut _GUnixInputStreamPrivate; 6546 6547 #[repr(C)] 6548 pub struct GUnixMountEntry(c_void); 6549 6550 impl ::std::fmt::Debug for GUnixMountEntry { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6551 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6552 f.debug_struct(&format!("GUnixMountEntry @ {:p}", self)) 6553 .finish() 6554 } 6555 } 6556 6557 #[repr(C)] 6558 pub struct _GUnixMountMonitorClass(c_void); 6559 6560 pub type GUnixMountMonitorClass = *mut _GUnixMountMonitorClass; 6561 6562 #[repr(C)] 6563 pub struct GUnixMountPoint(c_void); 6564 6565 impl ::std::fmt::Debug for GUnixMountPoint { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6566 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6567 f.debug_struct(&format!("GUnixMountPoint @ {:p}", self)) 6568 .finish() 6569 } 6570 } 6571 6572 #[repr(C)] 6573 #[derive(Copy, Clone)] 6574 pub struct GUnixOutputStreamClass { 6575 pub parent_class: GOutputStreamClass, 6576 pub _g_reserved1: Option<unsafe extern "C" fn()>, 6577 pub _g_reserved2: Option<unsafe extern "C" fn()>, 6578 pub _g_reserved3: Option<unsafe extern "C" fn()>, 6579 pub _g_reserved4: Option<unsafe extern "C" fn()>, 6580 pub _g_reserved5: Option<unsafe extern "C" fn()>, 6581 } 6582 6583 impl ::std::fmt::Debug for GUnixOutputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6584 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6585 f.debug_struct(&format!("GUnixOutputStreamClass @ {:p}", self)) 6586 .field("parent_class", &self.parent_class) 6587 .field("_g_reserved1", &self._g_reserved1) 6588 .field("_g_reserved2", &self._g_reserved2) 6589 .field("_g_reserved3", &self._g_reserved3) 6590 .field("_g_reserved4", &self._g_reserved4) 6591 .field("_g_reserved5", &self._g_reserved5) 6592 .finish() 6593 } 6594 } 6595 6596 #[repr(C)] 6597 pub struct _GUnixOutputStreamPrivate(c_void); 6598 6599 pub type GUnixOutputStreamPrivate = *mut _GUnixOutputStreamPrivate; 6600 6601 #[repr(C)] 6602 #[derive(Copy, Clone)] 6603 pub struct GUnixSocketAddressClass { 6604 pub parent_class: GSocketAddressClass, 6605 } 6606 6607 impl ::std::fmt::Debug for GUnixSocketAddressClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6608 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6609 f.debug_struct(&format!("GUnixSocketAddressClass @ {:p}", self)) 6610 .field("parent_class", &self.parent_class) 6611 .finish() 6612 } 6613 } 6614 6615 #[repr(C)] 6616 pub struct _GUnixSocketAddressPrivate(c_void); 6617 6618 pub type GUnixSocketAddressPrivate = *mut _GUnixSocketAddressPrivate; 6619 6620 #[repr(C)] 6621 #[derive(Copy, Clone)] 6622 pub struct GVfsClass { 6623 pub parent_class: gobject::GObjectClass, 6624 pub is_active: Option<unsafe extern "C" fn(*mut GVfs) -> gboolean>, 6625 pub get_file_for_path: Option<unsafe extern "C" fn(*mut GVfs, *const c_char) -> *mut GFile>, 6626 pub get_file_for_uri: Option<unsafe extern "C" fn(*mut GVfs, *const c_char) -> *mut GFile>, 6627 pub get_supported_uri_schemes: Option<unsafe extern "C" fn(*mut GVfs) -> *const *const c_char>, 6628 pub parse_name: Option<unsafe extern "C" fn(*mut GVfs, *const c_char) -> *mut GFile>, 6629 pub local_file_add_info: Option< 6630 unsafe extern "C" fn( 6631 *mut GVfs, 6632 *const c_char, 6633 u64, 6634 *mut GFileAttributeMatcher, 6635 *mut GFileInfo, 6636 *mut GCancellable, 6637 *mut gpointer, 6638 *mut glib::GDestroyNotify, 6639 ), 6640 >, 6641 pub add_writable_namespaces: 6642 Option<unsafe extern "C" fn(*mut GVfs, *mut GFileAttributeInfoList)>, 6643 pub local_file_set_attributes: Option< 6644 unsafe extern "C" fn( 6645 *mut GVfs, 6646 *const c_char, 6647 *mut GFileInfo, 6648 GFileQueryInfoFlags, 6649 *mut GCancellable, 6650 *mut *mut glib::GError, 6651 ) -> gboolean, 6652 >, 6653 pub local_file_removed: Option<unsafe extern "C" fn(*mut GVfs, *const c_char)>, 6654 pub local_file_moved: Option<unsafe extern "C" fn(*mut GVfs, *const c_char, *const c_char)>, 6655 pub deserialize_icon: 6656 Option<unsafe extern "C" fn(*mut GVfs, *mut glib::GVariant) -> *mut GIcon>, 6657 pub _g_reserved1: Option<unsafe extern "C" fn()>, 6658 pub _g_reserved2: Option<unsafe extern "C" fn()>, 6659 pub _g_reserved3: Option<unsafe extern "C" fn()>, 6660 pub _g_reserved4: Option<unsafe extern "C" fn()>, 6661 pub _g_reserved5: Option<unsafe extern "C" fn()>, 6662 pub _g_reserved6: Option<unsafe extern "C" fn()>, 6663 } 6664 6665 impl ::std::fmt::Debug for GVfsClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6666 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6667 f.debug_struct(&format!("GVfsClass @ {:p}", self)) 6668 .field("parent_class", &self.parent_class) 6669 .field("is_active", &self.is_active) 6670 .field("get_file_for_path", &self.get_file_for_path) 6671 .field("get_file_for_uri", &self.get_file_for_uri) 6672 .field("get_supported_uri_schemes", &self.get_supported_uri_schemes) 6673 .field("parse_name", &self.parse_name) 6674 .field("local_file_add_info", &self.local_file_add_info) 6675 .field("add_writable_namespaces", &self.add_writable_namespaces) 6676 .field("local_file_set_attributes", &self.local_file_set_attributes) 6677 .field("local_file_removed", &self.local_file_removed) 6678 .field("local_file_moved", &self.local_file_moved) 6679 .field("deserialize_icon", &self.deserialize_icon) 6680 .field("_g_reserved1", &self._g_reserved1) 6681 .field("_g_reserved2", &self._g_reserved2) 6682 .field("_g_reserved3", &self._g_reserved3) 6683 .field("_g_reserved4", &self._g_reserved4) 6684 .field("_g_reserved5", &self._g_reserved5) 6685 .field("_g_reserved6", &self._g_reserved6) 6686 .finish() 6687 } 6688 } 6689 6690 #[repr(C)] 6691 #[derive(Copy, Clone)] 6692 pub struct GVolumeIface { 6693 pub g_iface: gobject::GTypeInterface, 6694 pub changed: Option<unsafe extern "C" fn(*mut GVolume)>, 6695 pub removed: Option<unsafe extern "C" fn(*mut GVolume)>, 6696 pub get_name: Option<unsafe extern "C" fn(*mut GVolume) -> *const c_char>, 6697 pub get_icon: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GIcon>, 6698 pub get_uuid: Option<unsafe extern "C" fn(*mut GVolume) -> *const c_char>, 6699 pub get_drive: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GDrive>, 6700 pub get_mount: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GMount>, 6701 pub can_mount: Option<unsafe extern "C" fn(*mut GVolume) -> gboolean>, 6702 pub can_eject: Option<unsafe extern "C" fn(*mut GVolume) -> gboolean>, 6703 pub mount_fn: Option< 6704 unsafe extern "C" fn( 6705 *mut GVolume, 6706 GMountMountFlags, 6707 *mut GMountOperation, 6708 *mut GCancellable, 6709 GAsyncReadyCallback, 6710 gpointer, 6711 ), 6712 >, 6713 pub mount_finish: Option< 6714 unsafe extern "C" fn(*mut GVolume, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 6715 >, 6716 pub eject: Option< 6717 unsafe extern "C" fn( 6718 *mut GVolume, 6719 GMountUnmountFlags, 6720 *mut GCancellable, 6721 GAsyncReadyCallback, 6722 gpointer, 6723 ), 6724 >, 6725 pub eject_finish: Option< 6726 unsafe extern "C" fn(*mut GVolume, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 6727 >, 6728 pub get_identifier: Option<unsafe extern "C" fn(*mut GVolume, *const c_char) -> *mut c_char>, 6729 pub enumerate_identifiers: Option<unsafe extern "C" fn(*mut GVolume) -> *mut *mut c_char>, 6730 pub should_automount: Option<unsafe extern "C" fn(*mut GVolume) -> gboolean>, 6731 pub get_activation_root: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GFile>, 6732 pub eject_with_operation: Option< 6733 unsafe extern "C" fn( 6734 *mut GVolume, 6735 GMountUnmountFlags, 6736 *mut GMountOperation, 6737 *mut GCancellable, 6738 GAsyncReadyCallback, 6739 gpointer, 6740 ), 6741 >, 6742 pub eject_with_operation_finish: Option< 6743 unsafe extern "C" fn(*mut GVolume, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 6744 >, 6745 pub get_sort_key: Option<unsafe extern "C" fn(*mut GVolume) -> *const c_char>, 6746 pub get_symbolic_icon: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GIcon>, 6747 } 6748 6749 impl ::std::fmt::Debug for GVolumeIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6750 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6751 f.debug_struct(&format!("GVolumeIface @ {:p}", self)) 6752 .field("g_iface", &self.g_iface) 6753 .field("changed", &self.changed) 6754 .field("removed", &self.removed) 6755 .field("get_name", &self.get_name) 6756 .field("get_icon", &self.get_icon) 6757 .field("get_uuid", &self.get_uuid) 6758 .field("get_drive", &self.get_drive) 6759 .field("get_mount", &self.get_mount) 6760 .field("can_mount", &self.can_mount) 6761 .field("can_eject", &self.can_eject) 6762 .field("mount_fn", &self.mount_fn) 6763 .field("mount_finish", &self.mount_finish) 6764 .field("eject", &self.eject) 6765 .field("eject_finish", &self.eject_finish) 6766 .field("get_identifier", &self.get_identifier) 6767 .field("enumerate_identifiers", &self.enumerate_identifiers) 6768 .field("should_automount", &self.should_automount) 6769 .field("get_activation_root", &self.get_activation_root) 6770 .field("eject_with_operation", &self.eject_with_operation) 6771 .field( 6772 "eject_with_operation_finish", 6773 &self.eject_with_operation_finish, 6774 ) 6775 .field("get_sort_key", &self.get_sort_key) 6776 .field("get_symbolic_icon", &self.get_symbolic_icon) 6777 .finish() 6778 } 6779 } 6780 6781 #[repr(C)] 6782 #[derive(Copy, Clone)] 6783 pub struct GVolumeMonitorClass { 6784 pub parent_class: gobject::GObjectClass, 6785 pub volume_added: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GVolume)>, 6786 pub volume_removed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GVolume)>, 6787 pub volume_changed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GVolume)>, 6788 pub mount_added: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GMount)>, 6789 pub mount_removed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GMount)>, 6790 pub mount_pre_unmount: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GMount)>, 6791 pub mount_changed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GMount)>, 6792 pub drive_connected: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>, 6793 pub drive_disconnected: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>, 6794 pub drive_changed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>, 6795 pub is_supported: Option<unsafe extern "C" fn() -> gboolean>, 6796 pub get_connected_drives: Option<unsafe extern "C" fn(*mut GVolumeMonitor) -> *mut glib::GList>, 6797 pub get_volumes: Option<unsafe extern "C" fn(*mut GVolumeMonitor) -> *mut glib::GList>, 6798 pub get_mounts: Option<unsafe extern "C" fn(*mut GVolumeMonitor) -> *mut glib::GList>, 6799 pub get_volume_for_uuid: 6800 Option<unsafe extern "C" fn(*mut GVolumeMonitor, *const c_char) -> *mut GVolume>, 6801 pub get_mount_for_uuid: 6802 Option<unsafe extern "C" fn(*mut GVolumeMonitor, *const c_char) -> *mut GMount>, 6803 pub adopt_orphan_mount: 6804 Option<unsafe extern "C" fn(*mut GMount, *mut GVolumeMonitor) -> *mut GVolume>, 6805 pub drive_eject_button: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>, 6806 pub drive_stop_button: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>, 6807 pub _g_reserved1: Option<unsafe extern "C" fn()>, 6808 pub _g_reserved2: Option<unsafe extern "C" fn()>, 6809 pub _g_reserved3: Option<unsafe extern "C" fn()>, 6810 pub _g_reserved4: Option<unsafe extern "C" fn()>, 6811 pub _g_reserved5: Option<unsafe extern "C" fn()>, 6812 pub _g_reserved6: Option<unsafe extern "C" fn()>, 6813 } 6814 6815 impl ::std::fmt::Debug for GVolumeMonitorClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6816 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6817 f.debug_struct(&format!("GVolumeMonitorClass @ {:p}", self)) 6818 .field("parent_class", &self.parent_class) 6819 .field("volume_added", &self.volume_added) 6820 .field("volume_removed", &self.volume_removed) 6821 .field("volume_changed", &self.volume_changed) 6822 .field("mount_added", &self.mount_added) 6823 .field("mount_removed", &self.mount_removed) 6824 .field("mount_pre_unmount", &self.mount_pre_unmount) 6825 .field("mount_changed", &self.mount_changed) 6826 .field("drive_connected", &self.drive_connected) 6827 .field("drive_disconnected", &self.drive_disconnected) 6828 .field("drive_changed", &self.drive_changed) 6829 .field("is_supported", &self.is_supported) 6830 .field("get_connected_drives", &self.get_connected_drives) 6831 .field("get_volumes", &self.get_volumes) 6832 .field("get_mounts", &self.get_mounts) 6833 .field("get_volume_for_uuid", &self.get_volume_for_uuid) 6834 .field("get_mount_for_uuid", &self.get_mount_for_uuid) 6835 .field("adopt_orphan_mount", &self.adopt_orphan_mount) 6836 .field("drive_eject_button", &self.drive_eject_button) 6837 .field("drive_stop_button", &self.drive_stop_button) 6838 .field("_g_reserved1", &self._g_reserved1) 6839 .field("_g_reserved2", &self._g_reserved2) 6840 .field("_g_reserved3", &self._g_reserved3) 6841 .field("_g_reserved4", &self._g_reserved4) 6842 .field("_g_reserved5", &self._g_reserved5) 6843 .field("_g_reserved6", &self._g_reserved6) 6844 .finish() 6845 } 6846 } 6847 6848 #[repr(C)] 6849 #[derive(Copy, Clone)] 6850 pub struct GZlibCompressorClass { 6851 pub parent_class: gobject::GObjectClass, 6852 } 6853 6854 impl ::std::fmt::Debug for GZlibCompressorClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6855 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6856 f.debug_struct(&format!("GZlibCompressorClass @ {:p}", self)) 6857 .field("parent_class", &self.parent_class) 6858 .finish() 6859 } 6860 } 6861 6862 #[repr(C)] 6863 #[derive(Copy, Clone)] 6864 pub struct GZlibDecompressorClass { 6865 pub parent_class: gobject::GObjectClass, 6866 } 6867 6868 impl ::std::fmt::Debug for GZlibDecompressorClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6869 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6870 f.debug_struct(&format!("GZlibDecompressorClass @ {:p}", self)) 6871 .field("parent_class", &self.parent_class) 6872 .finish() 6873 } 6874 } 6875 6876 // Classes 6877 #[repr(C)] 6878 pub struct GAppInfoMonitor(c_void); 6879 6880 impl ::std::fmt::Debug for GAppInfoMonitor { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6881 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6882 f.debug_struct(&format!("GAppInfoMonitor @ {:p}", self)) 6883 .finish() 6884 } 6885 } 6886 6887 #[repr(C)] 6888 #[derive(Copy, Clone)] 6889 pub struct GAppLaunchContext { 6890 pub parent_instance: gobject::GObject, 6891 pub priv_: *mut GAppLaunchContextPrivate, 6892 } 6893 6894 impl ::std::fmt::Debug for GAppLaunchContext { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6895 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6896 f.debug_struct(&format!("GAppLaunchContext @ {:p}", self)) 6897 .field("parent_instance", &self.parent_instance) 6898 .finish() 6899 } 6900 } 6901 6902 #[repr(C)] 6903 #[derive(Copy, Clone)] 6904 pub struct GApplication { 6905 pub parent_instance: gobject::GObject, 6906 pub priv_: *mut GApplicationPrivate, 6907 } 6908 6909 impl ::std::fmt::Debug for GApplication { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6910 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6911 f.debug_struct(&format!("GApplication @ {:p}", self)) 6912 .finish() 6913 } 6914 } 6915 6916 #[repr(C)] 6917 #[derive(Copy, Clone)] 6918 pub struct GApplicationCommandLine { 6919 pub parent_instance: gobject::GObject, 6920 pub priv_: *mut GApplicationCommandLinePrivate, 6921 } 6922 6923 impl ::std::fmt::Debug for GApplicationCommandLine { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6924 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6925 f.debug_struct(&format!("GApplicationCommandLine @ {:p}", self)) 6926 .finish() 6927 } 6928 } 6929 6930 #[repr(C)] 6931 #[derive(Copy, Clone)] 6932 pub struct GBufferedInputStream { 6933 pub parent_instance: GFilterInputStream, 6934 pub priv_: *mut GBufferedInputStreamPrivate, 6935 } 6936 6937 impl ::std::fmt::Debug for GBufferedInputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6938 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6939 f.debug_struct(&format!("GBufferedInputStream @ {:p}", self)) 6940 .field("parent_instance", &self.parent_instance) 6941 .finish() 6942 } 6943 } 6944 6945 #[repr(C)] 6946 #[derive(Copy, Clone)] 6947 pub struct GBufferedOutputStream { 6948 pub parent_instance: GFilterOutputStream, 6949 pub priv_: *mut GBufferedOutputStreamPrivate, 6950 } 6951 6952 impl ::std::fmt::Debug for GBufferedOutputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6953 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6954 f.debug_struct(&format!("GBufferedOutputStream @ {:p}", self)) 6955 .field("parent_instance", &self.parent_instance) 6956 .field("priv_", &self.priv_) 6957 .finish() 6958 } 6959 } 6960 6961 #[repr(C)] 6962 pub struct GBytesIcon(c_void); 6963 6964 impl ::std::fmt::Debug for GBytesIcon { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6965 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6966 f.debug_struct(&format!("GBytesIcon @ {:p}", self)).finish() 6967 } 6968 } 6969 6970 #[repr(C)] 6971 #[derive(Copy, Clone)] 6972 pub struct GCancellable { 6973 pub parent_instance: gobject::GObject, 6974 pub priv_: *mut GCancellablePrivate, 6975 } 6976 6977 impl ::std::fmt::Debug for GCancellable { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6978 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6979 f.debug_struct(&format!("GCancellable @ {:p}", self)) 6980 .field("parent_instance", &self.parent_instance) 6981 .finish() 6982 } 6983 } 6984 6985 #[repr(C)] 6986 pub struct GCharsetConverter(c_void); 6987 6988 impl ::std::fmt::Debug for GCharsetConverter { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6989 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6990 f.debug_struct(&format!("GCharsetConverter @ {:p}", self)) 6991 .finish() 6992 } 6993 } 6994 6995 #[repr(C)] 6996 #[derive(Copy, Clone)] 6997 pub struct GConverterInputStream { 6998 pub parent_instance: GFilterInputStream, 6999 pub priv_: *mut GConverterInputStreamPrivate, 7000 } 7001 7002 impl ::std::fmt::Debug for GConverterInputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7003 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7004 f.debug_struct(&format!("GConverterInputStream @ {:p}", self)) 7005 .field("parent_instance", &self.parent_instance) 7006 .finish() 7007 } 7008 } 7009 7010 #[repr(C)] 7011 #[derive(Copy, Clone)] 7012 pub struct GConverterOutputStream { 7013 pub parent_instance: GFilterOutputStream, 7014 pub priv_: *mut GConverterOutputStreamPrivate, 7015 } 7016 7017 impl ::std::fmt::Debug for GConverterOutputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7018 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7019 f.debug_struct(&format!("GConverterOutputStream @ {:p}", self)) 7020 .field("parent_instance", &self.parent_instance) 7021 .finish() 7022 } 7023 } 7024 7025 #[repr(C)] 7026 pub struct GCredentials(c_void); 7027 7028 impl ::std::fmt::Debug for GCredentials { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7029 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7030 f.debug_struct(&format!("GCredentials @ {:p}", self)) 7031 .finish() 7032 } 7033 } 7034 7035 #[repr(C)] 7036 pub struct GDBusActionGroup(c_void); 7037 7038 impl ::std::fmt::Debug for GDBusActionGroup { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7039 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7040 f.debug_struct(&format!("GDBusActionGroup @ {:p}", self)) 7041 .finish() 7042 } 7043 } 7044 7045 #[repr(C)] 7046 pub struct GDBusAuthObserver(c_void); 7047 7048 impl ::std::fmt::Debug for GDBusAuthObserver { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7049 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7050 f.debug_struct(&format!("GDBusAuthObserver @ {:p}", self)) 7051 .finish() 7052 } 7053 } 7054 7055 #[repr(C)] 7056 pub struct GDBusConnection(c_void); 7057 7058 impl ::std::fmt::Debug for GDBusConnection { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7059 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7060 f.debug_struct(&format!("GDBusConnection @ {:p}", self)) 7061 .finish() 7062 } 7063 } 7064 7065 #[repr(C)] 7066 #[derive(Copy, Clone)] 7067 pub struct GDBusInterfaceSkeleton { 7068 pub parent_instance: gobject::GObject, 7069 pub priv_: *mut GDBusInterfaceSkeletonPrivate, 7070 } 7071 7072 impl ::std::fmt::Debug for GDBusInterfaceSkeleton { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7073 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7074 f.debug_struct(&format!("GDBusInterfaceSkeleton @ {:p}", self)) 7075 .finish() 7076 } 7077 } 7078 7079 #[repr(C)] 7080 pub struct GDBusMenuModel(c_void); 7081 7082 impl ::std::fmt::Debug for GDBusMenuModel { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7083 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7084 f.debug_struct(&format!("GDBusMenuModel @ {:p}", self)) 7085 .finish() 7086 } 7087 } 7088 7089 #[repr(C)] 7090 pub struct GDBusMessage(c_void); 7091 7092 impl ::std::fmt::Debug for GDBusMessage { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7093 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7094 f.debug_struct(&format!("GDBusMessage @ {:p}", self)) 7095 .finish() 7096 } 7097 } 7098 7099 #[repr(C)] 7100 pub struct GDBusMethodInvocation(c_void); 7101 7102 impl ::std::fmt::Debug for GDBusMethodInvocation { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7103 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7104 f.debug_struct(&format!("GDBusMethodInvocation @ {:p}", self)) 7105 .finish() 7106 } 7107 } 7108 7109 #[repr(C)] 7110 #[derive(Copy, Clone)] 7111 pub struct GDBusObjectManagerClient { 7112 pub parent_instance: gobject::GObject, 7113 pub priv_: *mut GDBusObjectManagerClientPrivate, 7114 } 7115 7116 impl ::std::fmt::Debug for GDBusObjectManagerClient { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7117 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7118 f.debug_struct(&format!("GDBusObjectManagerClient @ {:p}", self)) 7119 .finish() 7120 } 7121 } 7122 7123 #[repr(C)] 7124 #[derive(Copy, Clone)] 7125 pub struct GDBusObjectManagerServer { 7126 pub parent_instance: gobject::GObject, 7127 pub priv_: *mut GDBusObjectManagerServerPrivate, 7128 } 7129 7130 impl ::std::fmt::Debug for GDBusObjectManagerServer { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7131 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7132 f.debug_struct(&format!("GDBusObjectManagerServer @ {:p}", self)) 7133 .finish() 7134 } 7135 } 7136 7137 #[repr(C)] 7138 #[derive(Copy, Clone)] 7139 pub struct GDBusObjectProxy { 7140 pub parent_instance: gobject::GObject, 7141 pub priv_: *mut GDBusObjectProxyPrivate, 7142 } 7143 7144 impl ::std::fmt::Debug for GDBusObjectProxy { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7145 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7146 f.debug_struct(&format!("GDBusObjectProxy @ {:p}", self)) 7147 .finish() 7148 } 7149 } 7150 7151 #[repr(C)] 7152 #[derive(Copy, Clone)] 7153 pub struct GDBusObjectSkeleton { 7154 pub parent_instance: gobject::GObject, 7155 pub priv_: *mut GDBusObjectSkeletonPrivate, 7156 } 7157 7158 impl ::std::fmt::Debug for GDBusObjectSkeleton { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7159 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7160 f.debug_struct(&format!("GDBusObjectSkeleton @ {:p}", self)) 7161 .finish() 7162 } 7163 } 7164 7165 #[repr(C)] 7166 #[derive(Copy, Clone)] 7167 pub struct GDBusProxy { 7168 pub parent_instance: gobject::GObject, 7169 pub priv_: *mut GDBusProxyPrivate, 7170 } 7171 7172 impl ::std::fmt::Debug for GDBusProxy { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7173 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7174 f.debug_struct(&format!("GDBusProxy @ {:p}", self)).finish() 7175 } 7176 } 7177 7178 #[repr(C)] 7179 pub struct GDBusServer(c_void); 7180 7181 impl ::std::fmt::Debug for GDBusServer { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7182 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7183 f.debug_struct(&format!("GDBusServer @ {:p}", self)) 7184 .finish() 7185 } 7186 } 7187 7188 #[repr(C)] 7189 #[derive(Copy, Clone)] 7190 pub struct GDataInputStream { 7191 pub parent_instance: GBufferedInputStream, 7192 pub priv_: *mut GDataInputStreamPrivate, 7193 } 7194 7195 impl ::std::fmt::Debug for GDataInputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7196 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7197 f.debug_struct(&format!("GDataInputStream @ {:p}", self)) 7198 .field("parent_instance", &self.parent_instance) 7199 .finish() 7200 } 7201 } 7202 7203 #[repr(C)] 7204 #[derive(Copy, Clone)] 7205 pub struct GDataOutputStream { 7206 pub parent_instance: GFilterOutputStream, 7207 pub priv_: *mut GDataOutputStreamPrivate, 7208 } 7209 7210 impl ::std::fmt::Debug for GDataOutputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7211 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7212 f.debug_struct(&format!("GDataOutputStream @ {:p}", self)) 7213 .field("parent_instance", &self.parent_instance) 7214 .finish() 7215 } 7216 } 7217 7218 #[repr(C)] 7219 pub struct GDesktopAppInfo(c_void); 7220 7221 impl ::std::fmt::Debug for GDesktopAppInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7222 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7223 f.debug_struct(&format!("GDesktopAppInfo @ {:p}", self)) 7224 .finish() 7225 } 7226 } 7227 7228 #[repr(C)] 7229 pub struct GEmblem(c_void); 7230 7231 impl ::std::fmt::Debug for GEmblem { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7232 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7233 f.debug_struct(&format!("GEmblem @ {:p}", self)).finish() 7234 } 7235 } 7236 7237 #[repr(C)] 7238 #[derive(Copy, Clone)] 7239 pub struct GEmblemedIcon { 7240 pub parent_instance: gobject::GObject, 7241 pub priv_: *mut GEmblemedIconPrivate, 7242 } 7243 7244 impl ::std::fmt::Debug for GEmblemedIcon { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7245 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7246 f.debug_struct(&format!("GEmblemedIcon @ {:p}", self)) 7247 .field("parent_instance", &self.parent_instance) 7248 .finish() 7249 } 7250 } 7251 7252 #[repr(C)] 7253 #[derive(Copy, Clone)] 7254 pub struct GFileEnumerator { 7255 pub parent_instance: gobject::GObject, 7256 pub priv_: *mut GFileEnumeratorPrivate, 7257 } 7258 7259 impl ::std::fmt::Debug for GFileEnumerator { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7260 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7261 f.debug_struct(&format!("GFileEnumerator @ {:p}", self)) 7262 .field("parent_instance", &self.parent_instance) 7263 .finish() 7264 } 7265 } 7266 7267 #[repr(C)] 7268 #[derive(Copy, Clone)] 7269 pub struct GFileIOStream { 7270 pub parent_instance: GIOStream, 7271 pub priv_: *mut GFileIOStreamPrivate, 7272 } 7273 7274 impl ::std::fmt::Debug for GFileIOStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7275 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7276 f.debug_struct(&format!("GFileIOStream @ {:p}", self)) 7277 .field("parent_instance", &self.parent_instance) 7278 .finish() 7279 } 7280 } 7281 7282 #[repr(C)] 7283 pub struct GFileIcon(c_void); 7284 7285 impl ::std::fmt::Debug for GFileIcon { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7286 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7287 f.debug_struct(&format!("GFileIcon @ {:p}", self)).finish() 7288 } 7289 } 7290 7291 #[repr(C)] 7292 pub struct GFileInfo(c_void); 7293 7294 impl ::std::fmt::Debug for GFileInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7295 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7296 f.debug_struct(&format!("GFileInfo @ {:p}", self)).finish() 7297 } 7298 } 7299 7300 #[repr(C)] 7301 #[derive(Copy, Clone)] 7302 pub struct GFileInputStream { 7303 pub parent_instance: GInputStream, 7304 pub priv_: *mut GFileInputStreamPrivate, 7305 } 7306 7307 impl ::std::fmt::Debug for GFileInputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7308 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7309 f.debug_struct(&format!("GFileInputStream @ {:p}", self)) 7310 .field("parent_instance", &self.parent_instance) 7311 .finish() 7312 } 7313 } 7314 7315 #[repr(C)] 7316 #[derive(Copy, Clone)] 7317 pub struct GFileMonitor { 7318 pub parent_instance: gobject::GObject, 7319 pub priv_: *mut GFileMonitorPrivate, 7320 } 7321 7322 impl ::std::fmt::Debug for GFileMonitor { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7323 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7324 f.debug_struct(&format!("GFileMonitor @ {:p}", self)) 7325 .field("parent_instance", &self.parent_instance) 7326 .finish() 7327 } 7328 } 7329 7330 #[repr(C)] 7331 #[derive(Copy, Clone)] 7332 pub struct GFileOutputStream { 7333 pub parent_instance: GOutputStream, 7334 pub priv_: *mut GFileOutputStreamPrivate, 7335 } 7336 7337 impl ::std::fmt::Debug for GFileOutputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7338 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7339 f.debug_struct(&format!("GFileOutputStream @ {:p}", self)) 7340 .field("parent_instance", &self.parent_instance) 7341 .finish() 7342 } 7343 } 7344 7345 #[repr(C)] 7346 pub struct GFilenameCompleter(c_void); 7347 7348 impl ::std::fmt::Debug for GFilenameCompleter { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7349 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7350 f.debug_struct(&format!("GFilenameCompleter @ {:p}", self)) 7351 .finish() 7352 } 7353 } 7354 7355 #[repr(C)] 7356 #[derive(Copy, Clone)] 7357 pub struct GFilterInputStream { 7358 pub parent_instance: GInputStream, 7359 pub base_stream: *mut GInputStream, 7360 } 7361 7362 impl ::std::fmt::Debug for GFilterInputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7363 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7364 f.debug_struct(&format!("GFilterInputStream @ {:p}", self)) 7365 .field("parent_instance", &self.parent_instance) 7366 .field("base_stream", &self.base_stream) 7367 .finish() 7368 } 7369 } 7370 7371 #[repr(C)] 7372 #[derive(Copy, Clone)] 7373 pub struct GFilterOutputStream { 7374 pub parent_instance: GOutputStream, 7375 pub base_stream: *mut GOutputStream, 7376 } 7377 7378 impl ::std::fmt::Debug for GFilterOutputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7379 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7380 f.debug_struct(&format!("GFilterOutputStream @ {:p}", self)) 7381 .field("parent_instance", &self.parent_instance) 7382 .field("base_stream", &self.base_stream) 7383 .finish() 7384 } 7385 } 7386 7387 #[repr(C)] 7388 pub struct GIOModule(c_void); 7389 7390 impl ::std::fmt::Debug for GIOModule { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7391 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7392 f.debug_struct(&format!("GIOModule @ {:p}", self)).finish() 7393 } 7394 } 7395 7396 #[repr(C)] 7397 #[derive(Copy, Clone)] 7398 pub struct GIOStream { 7399 pub parent_instance: gobject::GObject, 7400 pub priv_: *mut GIOStreamPrivate, 7401 } 7402 7403 impl ::std::fmt::Debug for GIOStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7404 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7405 f.debug_struct(&format!("GIOStream @ {:p}", self)) 7406 .field("parent_instance", &self.parent_instance) 7407 .finish() 7408 } 7409 } 7410 7411 #[repr(C)] 7412 #[derive(Copy, Clone)] 7413 pub struct GInetAddress { 7414 pub parent_instance: gobject::GObject, 7415 pub priv_: *mut GInetAddressPrivate, 7416 } 7417 7418 impl ::std::fmt::Debug for GInetAddress { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7419 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7420 f.debug_struct(&format!("GInetAddress @ {:p}", self)) 7421 .field("parent_instance", &self.parent_instance) 7422 .finish() 7423 } 7424 } 7425 7426 #[repr(C)] 7427 #[derive(Copy, Clone)] 7428 pub struct GInetAddressMask { 7429 pub parent_instance: gobject::GObject, 7430 pub priv_: *mut GInetAddressMaskPrivate, 7431 } 7432 7433 impl ::std::fmt::Debug for GInetAddressMask { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7434 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7435 f.debug_struct(&format!("GInetAddressMask @ {:p}", self)) 7436 .field("parent_instance", &self.parent_instance) 7437 .finish() 7438 } 7439 } 7440 7441 #[repr(C)] 7442 #[derive(Copy, Clone)] 7443 pub struct GInetSocketAddress { 7444 pub parent_instance: GSocketAddress, 7445 pub priv_: *mut GInetSocketAddressPrivate, 7446 } 7447 7448 impl ::std::fmt::Debug for GInetSocketAddress { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7449 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7450 f.debug_struct(&format!("GInetSocketAddress @ {:p}", self)) 7451 .field("parent_instance", &self.parent_instance) 7452 .finish() 7453 } 7454 } 7455 7456 #[repr(C)] 7457 #[derive(Copy, Clone)] 7458 pub struct GInputStream { 7459 pub parent_instance: gobject::GObject, 7460 pub priv_: *mut GInputStreamPrivate, 7461 } 7462 7463 impl ::std::fmt::Debug for GInputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7464 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7465 f.debug_struct(&format!("GInputStream @ {:p}", self)) 7466 .field("parent_instance", &self.parent_instance) 7467 .finish() 7468 } 7469 } 7470 7471 #[repr(C)] 7472 pub struct GListStore(c_void); 7473 7474 impl ::std::fmt::Debug for GListStore { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7475 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7476 f.debug_struct(&format!("GListStore @ {:p}", self)).finish() 7477 } 7478 } 7479 7480 #[repr(C)] 7481 #[derive(Copy, Clone)] 7482 pub struct GMemoryInputStream { 7483 pub parent_instance: GInputStream, 7484 pub priv_: *mut GMemoryInputStreamPrivate, 7485 } 7486 7487 impl ::std::fmt::Debug for GMemoryInputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7488 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7489 f.debug_struct(&format!("GMemoryInputStream @ {:p}", self)) 7490 .field("parent_instance", &self.parent_instance) 7491 .finish() 7492 } 7493 } 7494 7495 #[repr(C)] 7496 #[derive(Copy, Clone)] 7497 pub struct GMemoryOutputStream { 7498 pub parent_instance: GOutputStream, 7499 pub priv_: *mut GMemoryOutputStreamPrivate, 7500 } 7501 7502 impl ::std::fmt::Debug for GMemoryOutputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7503 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7504 f.debug_struct(&format!("GMemoryOutputStream @ {:p}", self)) 7505 .field("parent_instance", &self.parent_instance) 7506 .finish() 7507 } 7508 } 7509 7510 #[repr(C)] 7511 pub struct GMenu(c_void); 7512 7513 impl ::std::fmt::Debug for GMenu { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7514 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7515 f.debug_struct(&format!("GMenu @ {:p}", self)).finish() 7516 } 7517 } 7518 7519 #[repr(C)] 7520 #[derive(Copy, Clone)] 7521 pub struct GMenuAttributeIter { 7522 pub parent_instance: gobject::GObject, 7523 pub priv_: *mut GMenuAttributeIterPrivate, 7524 } 7525 7526 impl ::std::fmt::Debug for GMenuAttributeIter { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7527 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7528 f.debug_struct(&format!("GMenuAttributeIter @ {:p}", self)) 7529 .field("parent_instance", &self.parent_instance) 7530 .field("priv_", &self.priv_) 7531 .finish() 7532 } 7533 } 7534 7535 #[repr(C)] 7536 pub struct GMenuItem(c_void); 7537 7538 impl ::std::fmt::Debug for GMenuItem { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7539 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7540 f.debug_struct(&format!("GMenuItem @ {:p}", self)).finish() 7541 } 7542 } 7543 7544 #[repr(C)] 7545 #[derive(Copy, Clone)] 7546 pub struct GMenuLinkIter { 7547 pub parent_instance: gobject::GObject, 7548 pub priv_: *mut GMenuLinkIterPrivate, 7549 } 7550 7551 impl ::std::fmt::Debug for GMenuLinkIter { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7552 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7553 f.debug_struct(&format!("GMenuLinkIter @ {:p}", self)) 7554 .field("parent_instance", &self.parent_instance) 7555 .field("priv_", &self.priv_) 7556 .finish() 7557 } 7558 } 7559 7560 #[repr(C)] 7561 #[derive(Copy, Clone)] 7562 pub struct GMenuModel { 7563 pub parent_instance: gobject::GObject, 7564 pub priv_: *mut GMenuModelPrivate, 7565 } 7566 7567 impl ::std::fmt::Debug for GMenuModel { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7568 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7569 f.debug_struct(&format!("GMenuModel @ {:p}", self)) 7570 .field("parent_instance", &self.parent_instance) 7571 .field("priv_", &self.priv_) 7572 .finish() 7573 } 7574 } 7575 7576 #[repr(C)] 7577 #[derive(Copy, Clone)] 7578 pub struct GMountOperation { 7579 pub parent_instance: gobject::GObject, 7580 pub priv_: *mut GMountOperationPrivate, 7581 } 7582 7583 impl ::std::fmt::Debug for GMountOperation { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7584 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7585 f.debug_struct(&format!("GMountOperation @ {:p}", self)) 7586 .field("parent_instance", &self.parent_instance) 7587 .field("priv_", &self.priv_) 7588 .finish() 7589 } 7590 } 7591 7592 #[repr(C)] 7593 #[derive(Copy, Clone)] 7594 pub struct GNativeSocketAddress { 7595 pub parent_instance: GSocketAddress, 7596 pub priv_: *mut GNativeSocketAddressPrivate, 7597 } 7598 7599 impl ::std::fmt::Debug for GNativeSocketAddress { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7600 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7601 f.debug_struct(&format!("GNativeSocketAddress @ {:p}", self)) 7602 .field("parent_instance", &self.parent_instance) 7603 .finish() 7604 } 7605 } 7606 7607 #[repr(C)] 7608 #[derive(Copy, Clone)] 7609 pub struct GNativeVolumeMonitor { 7610 pub parent_instance: GVolumeMonitor, 7611 } 7612 7613 impl ::std::fmt::Debug for GNativeVolumeMonitor { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7614 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7615 f.debug_struct(&format!("GNativeVolumeMonitor @ {:p}", self)) 7616 .field("parent_instance", &self.parent_instance) 7617 .finish() 7618 } 7619 } 7620 7621 #[repr(C)] 7622 #[derive(Copy, Clone)] 7623 pub struct GNetworkAddress { 7624 pub parent_instance: gobject::GObject, 7625 pub priv_: *mut GNetworkAddressPrivate, 7626 } 7627 7628 impl ::std::fmt::Debug for GNetworkAddress { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7629 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7630 f.debug_struct(&format!("GNetworkAddress @ {:p}", self)) 7631 .field("parent_instance", &self.parent_instance) 7632 .finish() 7633 } 7634 } 7635 7636 #[repr(C)] 7637 #[derive(Copy, Clone)] 7638 pub struct GNetworkService { 7639 pub parent_instance: gobject::GObject, 7640 pub priv_: *mut GNetworkServicePrivate, 7641 } 7642 7643 impl ::std::fmt::Debug for GNetworkService { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7644 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7645 f.debug_struct(&format!("GNetworkService @ {:p}", self)) 7646 .field("parent_instance", &self.parent_instance) 7647 .finish() 7648 } 7649 } 7650 7651 #[repr(C)] 7652 pub struct GNotification(c_void); 7653 7654 impl ::std::fmt::Debug for GNotification { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7655 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7656 f.debug_struct(&format!("GNotification @ {:p}", self)) 7657 .finish() 7658 } 7659 } 7660 7661 #[repr(C)] 7662 #[derive(Copy, Clone)] 7663 pub struct GOutputStream { 7664 pub parent_instance: gobject::GObject, 7665 pub priv_: *mut GOutputStreamPrivate, 7666 } 7667 7668 impl ::std::fmt::Debug for GOutputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7669 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7670 f.debug_struct(&format!("GOutputStream @ {:p}", self)) 7671 .field("parent_instance", &self.parent_instance) 7672 .finish() 7673 } 7674 } 7675 7676 #[repr(C)] 7677 #[derive(Copy, Clone)] 7678 pub struct GPermission { 7679 pub parent_instance: gobject::GObject, 7680 pub priv_: *mut GPermissionPrivate, 7681 } 7682 7683 impl ::std::fmt::Debug for GPermission { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7684 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7685 f.debug_struct(&format!("GPermission @ {:p}", self)) 7686 .field("parent_instance", &self.parent_instance) 7687 .finish() 7688 } 7689 } 7690 7691 #[repr(C)] 7692 pub struct GPropertyAction(c_void); 7693 7694 impl ::std::fmt::Debug for GPropertyAction { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7695 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7696 f.debug_struct(&format!("GPropertyAction @ {:p}", self)) 7697 .finish() 7698 } 7699 } 7700 7701 #[repr(C)] 7702 #[derive(Copy, Clone)] 7703 pub struct GProxyAddress { 7704 pub parent_instance: GInetSocketAddress, 7705 pub priv_: *mut GProxyAddressPrivate, 7706 } 7707 7708 impl ::std::fmt::Debug for GProxyAddress { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7709 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7710 f.debug_struct(&format!("GProxyAddress @ {:p}", self)) 7711 .field("parent_instance", &self.parent_instance) 7712 .finish() 7713 } 7714 } 7715 7716 #[repr(C)] 7717 #[derive(Copy, Clone)] 7718 pub struct GProxyAddressEnumerator { 7719 pub parent_instance: GSocketAddressEnumerator, 7720 pub priv_: *mut GProxyAddressEnumeratorPrivate, 7721 } 7722 7723 impl ::std::fmt::Debug for GProxyAddressEnumerator { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7724 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7725 f.debug_struct(&format!("GProxyAddressEnumerator @ {:p}", self)) 7726 .finish() 7727 } 7728 } 7729 7730 #[repr(C)] 7731 #[derive(Copy, Clone)] 7732 pub struct GResolver { 7733 pub parent_instance: gobject::GObject, 7734 pub priv_: *mut GResolverPrivate, 7735 } 7736 7737 impl ::std::fmt::Debug for GResolver { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7738 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7739 f.debug_struct(&format!("GResolver @ {:p}", self)) 7740 .field("parent_instance", &self.parent_instance) 7741 .field("priv_", &self.priv_) 7742 .finish() 7743 } 7744 } 7745 7746 #[repr(C)] 7747 #[derive(Copy, Clone)] 7748 pub struct GSettings { 7749 pub parent_instance: gobject::GObject, 7750 pub priv_: *mut GSettingsPrivate, 7751 } 7752 7753 impl ::std::fmt::Debug for GSettings { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7754 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7755 f.debug_struct(&format!("GSettings @ {:p}", self)) 7756 .field("parent_instance", &self.parent_instance) 7757 .field("priv_", &self.priv_) 7758 .finish() 7759 } 7760 } 7761 7762 #[repr(C)] 7763 #[derive(Copy, Clone)] 7764 pub struct GSettingsBackend { 7765 pub parent_instance: gobject::GObject, 7766 pub priv_: *mut GSettingsBackendPrivate, 7767 } 7768 7769 impl ::std::fmt::Debug for GSettingsBackend { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7770 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7771 f.debug_struct(&format!("GSettingsBackend @ {:p}", self)) 7772 .field("parent_instance", &self.parent_instance) 7773 .finish() 7774 } 7775 } 7776 7777 #[repr(C)] 7778 pub struct GSimpleAction(c_void); 7779 7780 impl ::std::fmt::Debug for GSimpleAction { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7781 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7782 f.debug_struct(&format!("GSimpleAction @ {:p}", self)) 7783 .finish() 7784 } 7785 } 7786 7787 #[repr(C)] 7788 #[derive(Copy, Clone)] 7789 pub struct GSimpleActionGroup { 7790 pub parent_instance: gobject::GObject, 7791 pub priv_: *mut GSimpleActionGroupPrivate, 7792 } 7793 7794 impl ::std::fmt::Debug for GSimpleActionGroup { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7795 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7796 f.debug_struct(&format!("GSimpleActionGroup @ {:p}", self)) 7797 .finish() 7798 } 7799 } 7800 7801 #[repr(C)] 7802 pub struct GSimpleAsyncResult(c_void); 7803 7804 impl ::std::fmt::Debug for GSimpleAsyncResult { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7805 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7806 f.debug_struct(&format!("GSimpleAsyncResult @ {:p}", self)) 7807 .finish() 7808 } 7809 } 7810 7811 #[repr(C)] 7812 pub struct GSimpleIOStream(c_void); 7813 7814 impl ::std::fmt::Debug for GSimpleIOStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7815 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7816 f.debug_struct(&format!("GSimpleIOStream @ {:p}", self)) 7817 .finish() 7818 } 7819 } 7820 7821 #[repr(C)] 7822 pub struct GSimplePermission(c_void); 7823 7824 impl ::std::fmt::Debug for GSimplePermission { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7825 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7826 f.debug_struct(&format!("GSimplePermission @ {:p}", self)) 7827 .finish() 7828 } 7829 } 7830 7831 #[repr(C)] 7832 #[derive(Copy, Clone)] 7833 pub struct GSimpleProxyResolver { 7834 pub parent_instance: gobject::GObject, 7835 pub priv_: *mut GSimpleProxyResolverPrivate, 7836 } 7837 7838 impl ::std::fmt::Debug for GSimpleProxyResolver { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7839 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7840 f.debug_struct(&format!("GSimpleProxyResolver @ {:p}", self)) 7841 .field("parent_instance", &self.parent_instance) 7842 .finish() 7843 } 7844 } 7845 7846 #[repr(C)] 7847 #[derive(Copy, Clone)] 7848 pub struct GSocket { 7849 pub parent_instance: gobject::GObject, 7850 pub priv_: *mut GSocketPrivate, 7851 } 7852 7853 impl ::std::fmt::Debug for GSocket { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7854 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7855 f.debug_struct(&format!("GSocket @ {:p}", self)) 7856 .field("parent_instance", &self.parent_instance) 7857 .field("priv_", &self.priv_) 7858 .finish() 7859 } 7860 } 7861 7862 #[repr(C)] 7863 #[derive(Copy, Clone)] 7864 pub struct GSocketAddress { 7865 pub parent_instance: gobject::GObject, 7866 } 7867 7868 impl ::std::fmt::Debug for GSocketAddress { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7869 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7870 f.debug_struct(&format!("GSocketAddress @ {:p}", self)) 7871 .field("parent_instance", &self.parent_instance) 7872 .finish() 7873 } 7874 } 7875 7876 #[repr(C)] 7877 #[derive(Copy, Clone)] 7878 pub struct GSocketAddressEnumerator { 7879 pub parent_instance: gobject::GObject, 7880 } 7881 7882 impl ::std::fmt::Debug for GSocketAddressEnumerator { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7883 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7884 f.debug_struct(&format!("GSocketAddressEnumerator @ {:p}", self)) 7885 .finish() 7886 } 7887 } 7888 7889 #[repr(C)] 7890 #[derive(Copy, Clone)] 7891 pub struct GSocketClient { 7892 pub parent_instance: gobject::GObject, 7893 pub priv_: *mut GSocketClientPrivate, 7894 } 7895 7896 impl ::std::fmt::Debug for GSocketClient { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7897 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7898 f.debug_struct(&format!("GSocketClient @ {:p}", self)) 7899 .field("parent_instance", &self.parent_instance) 7900 .field("priv_", &self.priv_) 7901 .finish() 7902 } 7903 } 7904 7905 #[repr(C)] 7906 #[derive(Copy, Clone)] 7907 pub struct GSocketConnection { 7908 pub parent_instance: GIOStream, 7909 pub priv_: *mut GSocketConnectionPrivate, 7910 } 7911 7912 impl ::std::fmt::Debug for GSocketConnection { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7913 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7914 f.debug_struct(&format!("GSocketConnection @ {:p}", self)) 7915 .field("parent_instance", &self.parent_instance) 7916 .field("priv_", &self.priv_) 7917 .finish() 7918 } 7919 } 7920 7921 #[repr(C)] 7922 #[derive(Copy, Clone)] 7923 pub struct GSocketControlMessage { 7924 pub parent_instance: gobject::GObject, 7925 pub priv_: *mut GSocketControlMessagePrivate, 7926 } 7927 7928 impl ::std::fmt::Debug for GSocketControlMessage { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7929 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7930 f.debug_struct(&format!("GSocketControlMessage @ {:p}", self)) 7931 .field("parent_instance", &self.parent_instance) 7932 .field("priv_", &self.priv_) 7933 .finish() 7934 } 7935 } 7936 7937 #[repr(C)] 7938 #[derive(Copy, Clone)] 7939 pub struct GSocketListener { 7940 pub parent_instance: gobject::GObject, 7941 pub priv_: *mut GSocketListenerPrivate, 7942 } 7943 7944 impl ::std::fmt::Debug for GSocketListener { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7945 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7946 f.debug_struct(&format!("GSocketListener @ {:p}", self)) 7947 .field("parent_instance", &self.parent_instance) 7948 .field("priv_", &self.priv_) 7949 .finish() 7950 } 7951 } 7952 7953 #[repr(C)] 7954 #[derive(Copy, Clone)] 7955 pub struct GSocketService { 7956 pub parent_instance: GSocketListener, 7957 pub priv_: *mut GSocketServicePrivate, 7958 } 7959 7960 impl ::std::fmt::Debug for GSocketService { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7961 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7962 f.debug_struct(&format!("GSocketService @ {:p}", self)) 7963 .field("parent_instance", &self.parent_instance) 7964 .field("priv_", &self.priv_) 7965 .finish() 7966 } 7967 } 7968 7969 #[repr(C)] 7970 pub struct GSubprocess(c_void); 7971 7972 impl ::std::fmt::Debug for GSubprocess { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7973 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7974 f.debug_struct(&format!("GSubprocess @ {:p}", self)) 7975 .finish() 7976 } 7977 } 7978 7979 #[repr(C)] 7980 pub struct GSubprocessLauncher(c_void); 7981 7982 impl ::std::fmt::Debug for GSubprocessLauncher { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7983 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7984 f.debug_struct(&format!("GSubprocessLauncher @ {:p}", self)) 7985 .finish() 7986 } 7987 } 7988 7989 #[repr(C)] 7990 pub struct GTask(c_void); 7991 7992 impl ::std::fmt::Debug for GTask { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7993 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7994 f.debug_struct(&format!("GTask @ {:p}", self)).finish() 7995 } 7996 } 7997 7998 #[repr(C)] 7999 #[derive(Copy, Clone)] 8000 pub struct GTcpConnection { 8001 pub parent_instance: GSocketConnection, 8002 pub priv_: *mut GTcpConnectionPrivate, 8003 } 8004 8005 impl ::std::fmt::Debug for GTcpConnection { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8006 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8007 f.debug_struct(&format!("GTcpConnection @ {:p}", self)) 8008 .field("parent_instance", &self.parent_instance) 8009 .field("priv_", &self.priv_) 8010 .finish() 8011 } 8012 } 8013 8014 #[repr(C)] 8015 #[derive(Copy, Clone)] 8016 pub struct GTcpWrapperConnection { 8017 pub parent_instance: GTcpConnection, 8018 pub priv_: *mut GTcpWrapperConnectionPrivate, 8019 } 8020 8021 impl ::std::fmt::Debug for GTcpWrapperConnection { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8022 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8023 f.debug_struct(&format!("GTcpWrapperConnection @ {:p}", self)) 8024 .field("parent_instance", &self.parent_instance) 8025 .field("priv_", &self.priv_) 8026 .finish() 8027 } 8028 } 8029 8030 #[repr(C)] 8031 pub struct GTestDBus(c_void); 8032 8033 impl ::std::fmt::Debug for GTestDBus { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8034 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8035 f.debug_struct(&format!("GTestDBus @ {:p}", self)).finish() 8036 } 8037 } 8038 8039 #[repr(C)] 8040 pub struct GThemedIcon(c_void); 8041 8042 impl ::std::fmt::Debug for GThemedIcon { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8043 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8044 f.debug_struct(&format!("GThemedIcon @ {:p}", self)) 8045 .finish() 8046 } 8047 } 8048 8049 #[repr(C)] 8050 #[derive(Copy, Clone)] 8051 pub struct GThreadedSocketService { 8052 pub parent_instance: GSocketService, 8053 pub priv_: *mut GThreadedSocketServicePrivate, 8054 } 8055 8056 impl ::std::fmt::Debug for GThreadedSocketService { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8057 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8058 f.debug_struct(&format!("GThreadedSocketService @ {:p}", self)) 8059 .field("parent_instance", &self.parent_instance) 8060 .field("priv_", &self.priv_) 8061 .finish() 8062 } 8063 } 8064 8065 #[repr(C)] 8066 #[derive(Copy, Clone)] 8067 pub struct GTlsCertificate { 8068 pub parent_instance: gobject::GObject, 8069 pub priv_: *mut GTlsCertificatePrivate, 8070 } 8071 8072 impl ::std::fmt::Debug for GTlsCertificate { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8073 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8074 f.debug_struct(&format!("GTlsCertificate @ {:p}", self)) 8075 .field("parent_instance", &self.parent_instance) 8076 .field("priv_", &self.priv_) 8077 .finish() 8078 } 8079 } 8080 8081 #[repr(C)] 8082 #[derive(Copy, Clone)] 8083 pub struct GTlsConnection { 8084 pub parent_instance: GIOStream, 8085 pub priv_: *mut GTlsConnectionPrivate, 8086 } 8087 8088 impl ::std::fmt::Debug for GTlsConnection { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8089 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8090 f.debug_struct(&format!("GTlsConnection @ {:p}", self)) 8091 .field("parent_instance", &self.parent_instance) 8092 .field("priv_", &self.priv_) 8093 .finish() 8094 } 8095 } 8096 8097 #[repr(C)] 8098 #[derive(Copy, Clone)] 8099 pub struct GTlsDatabase { 8100 pub parent_instance: gobject::GObject, 8101 pub priv_: *mut GTlsDatabasePrivate, 8102 } 8103 8104 impl ::std::fmt::Debug for GTlsDatabase { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8105 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8106 f.debug_struct(&format!("GTlsDatabase @ {:p}", self)) 8107 .field("parent_instance", &self.parent_instance) 8108 .field("priv_", &self.priv_) 8109 .finish() 8110 } 8111 } 8112 8113 #[repr(C)] 8114 #[derive(Copy, Clone)] 8115 pub struct GTlsInteraction { 8116 pub parent_instance: gobject::GObject, 8117 pub priv_: *mut GTlsInteractionPrivate, 8118 } 8119 8120 impl ::std::fmt::Debug for GTlsInteraction { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8121 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8122 f.debug_struct(&format!("GTlsInteraction @ {:p}", self)) 8123 .finish() 8124 } 8125 } 8126 8127 #[repr(C)] 8128 #[derive(Copy, Clone)] 8129 pub struct GTlsPassword { 8130 pub parent_instance: gobject::GObject, 8131 pub priv_: *mut GTlsPasswordPrivate, 8132 } 8133 8134 impl ::std::fmt::Debug for GTlsPassword { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8135 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8136 f.debug_struct(&format!("GTlsPassword @ {:p}", self)) 8137 .field("parent_instance", &self.parent_instance) 8138 .field("priv_", &self.priv_) 8139 .finish() 8140 } 8141 } 8142 8143 #[repr(C)] 8144 #[derive(Copy, Clone)] 8145 pub struct GUnixConnection { 8146 pub parent_instance: GSocketConnection, 8147 pub priv_: *mut GUnixConnectionPrivate, 8148 } 8149 8150 impl ::std::fmt::Debug for GUnixConnection { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8151 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8152 f.debug_struct(&format!("GUnixConnection @ {:p}", self)) 8153 .field("parent_instance", &self.parent_instance) 8154 .field("priv_", &self.priv_) 8155 .finish() 8156 } 8157 } 8158 8159 #[repr(C)] 8160 #[derive(Copy, Clone)] 8161 pub struct GUnixCredentialsMessage { 8162 pub parent_instance: GSocketControlMessage, 8163 pub priv_: *mut GUnixCredentialsMessagePrivate, 8164 } 8165 8166 impl ::std::fmt::Debug for GUnixCredentialsMessage { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8167 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8168 f.debug_struct(&format!("GUnixCredentialsMessage @ {:p}", self)) 8169 .field("parent_instance", &self.parent_instance) 8170 .field("priv_", &self.priv_) 8171 .finish() 8172 } 8173 } 8174 8175 #[repr(C)] 8176 #[derive(Copy, Clone)] 8177 pub struct GUnixFDList { 8178 pub parent_instance: gobject::GObject, 8179 pub priv_: *mut GUnixFDListPrivate, 8180 } 8181 8182 impl ::std::fmt::Debug for GUnixFDList { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8183 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8184 f.debug_struct(&format!("GUnixFDList @ {:p}", self)) 8185 .field("parent_instance", &self.parent_instance) 8186 .field("priv_", &self.priv_) 8187 .finish() 8188 } 8189 } 8190 8191 #[repr(C)] 8192 #[derive(Copy, Clone)] 8193 pub struct GUnixFDMessage { 8194 pub parent_instance: GSocketControlMessage, 8195 pub priv_: *mut GUnixFDMessagePrivate, 8196 } 8197 8198 impl ::std::fmt::Debug for GUnixFDMessage { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8199 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8200 f.debug_struct(&format!("GUnixFDMessage @ {:p}", self)) 8201 .field("parent_instance", &self.parent_instance) 8202 .field("priv_", &self.priv_) 8203 .finish() 8204 } 8205 } 8206 8207 #[repr(C)] 8208 #[derive(Copy, Clone)] 8209 pub struct GUnixInputStream { 8210 pub parent_instance: GInputStream, 8211 pub priv_: *mut GUnixInputStreamPrivate, 8212 } 8213 8214 impl ::std::fmt::Debug for GUnixInputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8215 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8216 f.debug_struct(&format!("GUnixInputStream @ {:p}", self)) 8217 .field("parent_instance", &self.parent_instance) 8218 .finish() 8219 } 8220 } 8221 8222 #[repr(C)] 8223 pub struct GUnixMountMonitor(c_void); 8224 8225 impl ::std::fmt::Debug for GUnixMountMonitor { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8226 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8227 f.debug_struct(&format!("GUnixMountMonitor @ {:p}", self)) 8228 .finish() 8229 } 8230 } 8231 8232 #[repr(C)] 8233 #[derive(Copy, Clone)] 8234 pub struct GUnixOutputStream { 8235 pub parent_instance: GOutputStream, 8236 pub priv_: *mut GUnixOutputStreamPrivate, 8237 } 8238 8239 impl ::std::fmt::Debug for GUnixOutputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8240 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8241 f.debug_struct(&format!("GUnixOutputStream @ {:p}", self)) 8242 .field("parent_instance", &self.parent_instance) 8243 .finish() 8244 } 8245 } 8246 8247 #[repr(C)] 8248 #[derive(Copy, Clone)] 8249 pub struct GUnixSocketAddress { 8250 pub parent_instance: GSocketAddress, 8251 pub priv_: *mut GUnixSocketAddressPrivate, 8252 } 8253 8254 impl ::std::fmt::Debug for GUnixSocketAddress { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8255 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8256 f.debug_struct(&format!("GUnixSocketAddress @ {:p}", self)) 8257 .field("parent_instance", &self.parent_instance) 8258 .finish() 8259 } 8260 } 8261 8262 #[repr(C)] 8263 #[derive(Copy, Clone)] 8264 pub struct GVfs { 8265 pub parent_instance: gobject::GObject, 8266 } 8267 8268 impl ::std::fmt::Debug for GVfs { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8269 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8270 f.debug_struct(&format!("GVfs @ {:p}", self)) 8271 .field("parent_instance", &self.parent_instance) 8272 .finish() 8273 } 8274 } 8275 8276 #[repr(C)] 8277 #[derive(Copy, Clone)] 8278 pub struct GVolumeMonitor { 8279 pub parent_instance: gobject::GObject, 8280 pub priv_: gpointer, 8281 } 8282 8283 impl ::std::fmt::Debug for GVolumeMonitor { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8284 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8285 f.debug_struct(&format!("GVolumeMonitor @ {:p}", self)) 8286 .field("parent_instance", &self.parent_instance) 8287 .finish() 8288 } 8289 } 8290 8291 #[repr(C)] 8292 pub struct GZlibCompressor(c_void); 8293 8294 impl ::std::fmt::Debug for GZlibCompressor { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8295 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8296 f.debug_struct(&format!("GZlibCompressor @ {:p}", self)) 8297 .finish() 8298 } 8299 } 8300 8301 #[repr(C)] 8302 pub struct GZlibDecompressor(c_void); 8303 8304 impl ::std::fmt::Debug for GZlibDecompressor { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8305 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8306 f.debug_struct(&format!("GZlibDecompressor @ {:p}", self)) 8307 .finish() 8308 } 8309 } 8310 8311 // Interfaces 8312 #[repr(C)] 8313 pub struct GAction(c_void); 8314 8315 impl ::std::fmt::Debug for GAction { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8316 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8317 write!(f, "GAction @ {:p}", self) 8318 } 8319 } 8320 8321 #[repr(C)] 8322 pub struct GActionGroup(c_void); 8323 8324 impl ::std::fmt::Debug for GActionGroup { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8325 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8326 write!(f, "GActionGroup @ {:p}", self) 8327 } 8328 } 8329 8330 #[repr(C)] 8331 pub struct GActionMap(c_void); 8332 8333 impl ::std::fmt::Debug for GActionMap { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8334 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8335 write!(f, "GActionMap @ {:p}", self) 8336 } 8337 } 8338 8339 #[repr(C)] 8340 pub struct GAppInfo(c_void); 8341 8342 impl ::std::fmt::Debug for GAppInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8343 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8344 write!(f, "GAppInfo @ {:p}", self) 8345 } 8346 } 8347 8348 #[repr(C)] 8349 pub struct GAsyncInitable(c_void); 8350 8351 impl ::std::fmt::Debug for GAsyncInitable { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8352 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8353 write!(f, "GAsyncInitable @ {:p}", self) 8354 } 8355 } 8356 8357 #[repr(C)] 8358 pub struct GAsyncResult(c_void); 8359 8360 impl ::std::fmt::Debug for GAsyncResult { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8361 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8362 write!(f, "GAsyncResult @ {:p}", self) 8363 } 8364 } 8365 8366 #[repr(C)] 8367 pub struct GConverter(c_void); 8368 8369 impl ::std::fmt::Debug for GConverter { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8370 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8371 write!(f, "GConverter @ {:p}", self) 8372 } 8373 } 8374 8375 #[repr(C)] 8376 pub struct GDBusInterface(c_void); 8377 8378 impl ::std::fmt::Debug for GDBusInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8379 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8380 write!(f, "GDBusInterface @ {:p}", self) 8381 } 8382 } 8383 8384 #[repr(C)] 8385 pub struct GDBusObject(c_void); 8386 8387 impl ::std::fmt::Debug for GDBusObject { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8388 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8389 write!(f, "GDBusObject @ {:p}", self) 8390 } 8391 } 8392 8393 #[repr(C)] 8394 pub struct GDBusObjectManager(c_void); 8395 8396 impl ::std::fmt::Debug for GDBusObjectManager { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8397 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8398 write!(f, "GDBusObjectManager @ {:p}", self) 8399 } 8400 } 8401 8402 #[repr(C)] 8403 pub struct GDatagramBased(c_void); 8404 8405 impl ::std::fmt::Debug for GDatagramBased { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8406 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8407 write!(f, "GDatagramBased @ {:p}", self) 8408 } 8409 } 8410 8411 #[repr(C)] 8412 pub struct GDesktopAppInfoLookup(c_void); 8413 8414 impl ::std::fmt::Debug for GDesktopAppInfoLookup { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8415 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8416 write!(f, "GDesktopAppInfoLookup @ {:p}", self) 8417 } 8418 } 8419 8420 #[repr(C)] 8421 pub struct GDrive(c_void); 8422 8423 impl ::std::fmt::Debug for GDrive { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8424 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8425 write!(f, "GDrive @ {:p}", self) 8426 } 8427 } 8428 8429 #[repr(C)] 8430 pub struct GDtlsClientConnection(c_void); 8431 8432 impl ::std::fmt::Debug for GDtlsClientConnection { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8433 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8434 write!(f, "GDtlsClientConnection @ {:p}", self) 8435 } 8436 } 8437 8438 #[repr(C)] 8439 pub struct GDtlsConnection(c_void); 8440 8441 impl ::std::fmt::Debug for GDtlsConnection { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8442 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8443 write!(f, "GDtlsConnection @ {:p}", self) 8444 } 8445 } 8446 8447 #[repr(C)] 8448 pub struct GDtlsServerConnection(c_void); 8449 8450 impl ::std::fmt::Debug for GDtlsServerConnection { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8451 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8452 write!(f, "GDtlsServerConnection @ {:p}", self) 8453 } 8454 } 8455 8456 #[repr(C)] 8457 pub struct GFile(c_void); 8458 8459 impl ::std::fmt::Debug for GFile { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8460 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8461 write!(f, "GFile @ {:p}", self) 8462 } 8463 } 8464 8465 #[repr(C)] 8466 pub struct GFileDescriptorBased(c_void); 8467 8468 impl ::std::fmt::Debug for GFileDescriptorBased { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8469 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8470 write!(f, "GFileDescriptorBased @ {:p}", self) 8471 } 8472 } 8473 8474 #[repr(C)] 8475 pub struct GIcon(c_void); 8476 8477 impl ::std::fmt::Debug for GIcon { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8478 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8479 write!(f, "GIcon @ {:p}", self) 8480 } 8481 } 8482 8483 #[repr(C)] 8484 pub struct GInitable(c_void); 8485 8486 impl ::std::fmt::Debug for GInitable { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8487 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8488 write!(f, "GInitable @ {:p}", self) 8489 } 8490 } 8491 8492 #[repr(C)] 8493 pub struct GListModel(c_void); 8494 8495 impl ::std::fmt::Debug for GListModel { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8496 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8497 write!(f, "GListModel @ {:p}", self) 8498 } 8499 } 8500 8501 #[repr(C)] 8502 pub struct GLoadableIcon(c_void); 8503 8504 impl ::std::fmt::Debug for GLoadableIcon { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8505 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8506 write!(f, "GLoadableIcon @ {:p}", self) 8507 } 8508 } 8509 8510 #[repr(C)] 8511 pub struct GMemoryMonitor(c_void); 8512 8513 impl ::std::fmt::Debug for GMemoryMonitor { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8514 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8515 write!(f, "GMemoryMonitor @ {:p}", self) 8516 } 8517 } 8518 8519 #[repr(C)] 8520 pub struct GMount(c_void); 8521 8522 impl ::std::fmt::Debug for GMount { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8523 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8524 write!(f, "GMount @ {:p}", self) 8525 } 8526 } 8527 8528 #[repr(C)] 8529 pub struct GNetworkMonitor(c_void); 8530 8531 impl ::std::fmt::Debug for GNetworkMonitor { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8532 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8533 write!(f, "GNetworkMonitor @ {:p}", self) 8534 } 8535 } 8536 8537 #[repr(C)] 8538 pub struct GPollableInputStream(c_void); 8539 8540 impl ::std::fmt::Debug for GPollableInputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8541 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8542 write!(f, "GPollableInputStream @ {:p}", self) 8543 } 8544 } 8545 8546 #[repr(C)] 8547 pub struct GPollableOutputStream(c_void); 8548 8549 impl ::std::fmt::Debug for GPollableOutputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8550 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8551 write!(f, "GPollableOutputStream @ {:p}", self) 8552 } 8553 } 8554 8555 #[repr(C)] 8556 pub struct GProxy(c_void); 8557 8558 impl ::std::fmt::Debug for GProxy { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8559 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8560 write!(f, "GProxy @ {:p}", self) 8561 } 8562 } 8563 8564 #[repr(C)] 8565 pub struct GProxyResolver(c_void); 8566 8567 impl ::std::fmt::Debug for GProxyResolver { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8568 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8569 write!(f, "GProxyResolver @ {:p}", self) 8570 } 8571 } 8572 8573 #[repr(C)] 8574 pub struct GRemoteActionGroup(c_void); 8575 8576 impl ::std::fmt::Debug for GRemoteActionGroup { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8577 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8578 write!(f, "GRemoteActionGroup @ {:p}", self) 8579 } 8580 } 8581 8582 #[repr(C)] 8583 pub struct GSeekable(c_void); 8584 8585 impl ::std::fmt::Debug for GSeekable { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8586 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8587 write!(f, "GSeekable @ {:p}", self) 8588 } 8589 } 8590 8591 #[repr(C)] 8592 pub struct GSocketConnectable(c_void); 8593 8594 impl ::std::fmt::Debug for GSocketConnectable { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8595 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8596 write!(f, "GSocketConnectable @ {:p}", self) 8597 } 8598 } 8599 8600 #[repr(C)] 8601 pub struct GTlsBackend(c_void); 8602 8603 impl ::std::fmt::Debug for GTlsBackend { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8604 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8605 write!(f, "GTlsBackend @ {:p}", self) 8606 } 8607 } 8608 8609 #[repr(C)] 8610 pub struct GTlsClientConnection(c_void); 8611 8612 impl ::std::fmt::Debug for GTlsClientConnection { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8613 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8614 write!(f, "GTlsClientConnection @ {:p}", self) 8615 } 8616 } 8617 8618 #[repr(C)] 8619 pub struct GTlsFileDatabase(c_void); 8620 8621 impl ::std::fmt::Debug for GTlsFileDatabase { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8622 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8623 write!(f, "GTlsFileDatabase @ {:p}", self) 8624 } 8625 } 8626 8627 #[repr(C)] 8628 pub struct GTlsServerConnection(c_void); 8629 8630 impl ::std::fmt::Debug for GTlsServerConnection { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8631 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8632 write!(f, "GTlsServerConnection @ {:p}", self) 8633 } 8634 } 8635 8636 #[repr(C)] 8637 pub struct GVolume(c_void); 8638 8639 impl ::std::fmt::Debug for GVolume { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8640 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8641 write!(f, "GVolume @ {:p}", self) 8642 } 8643 } 8644 8645 #[link(name = "gio-2.0")] 8646 extern "C" { 8647 8648 //========================================================================= 8649 // GBusType 8650 //========================================================================= g_bus_type_get_type() -> GType8651 pub fn g_bus_type_get_type() -> GType; 8652 8653 //========================================================================= 8654 // GConverterResult 8655 //========================================================================= g_converter_result_get_type() -> GType8656 pub fn g_converter_result_get_type() -> GType; 8657 8658 //========================================================================= 8659 // GCredentialsType 8660 //========================================================================= g_credentials_type_get_type() -> GType8661 pub fn g_credentials_type_get_type() -> GType; 8662 8663 //========================================================================= 8664 // GDBusError 8665 //========================================================================= g_dbus_error_get_type() -> GType8666 pub fn g_dbus_error_get_type() -> GType; g_dbus_error_encode_gerror(error: *const glib::GError) -> *mut c_char8667 pub fn g_dbus_error_encode_gerror(error: *const glib::GError) -> *mut c_char; g_dbus_error_get_remote_error(error: *const glib::GError) -> *mut c_char8668 pub fn g_dbus_error_get_remote_error(error: *const glib::GError) -> *mut c_char; g_dbus_error_is_remote_error(error: *const glib::GError) -> gboolean8669 pub fn g_dbus_error_is_remote_error(error: *const glib::GError) -> gboolean; g_dbus_error_new_for_dbus_error( dbus_error_name: *const c_char, dbus_error_message: *const c_char, ) -> *mut glib::GError8670 pub fn g_dbus_error_new_for_dbus_error( 8671 dbus_error_name: *const c_char, 8672 dbus_error_message: *const c_char, 8673 ) -> *mut glib::GError; g_dbus_error_quark() -> glib::GQuark8674 pub fn g_dbus_error_quark() -> glib::GQuark; g_dbus_error_register_error( error_domain: glib::GQuark, error_code: c_int, dbus_error_name: *const c_char, ) -> gboolean8675 pub fn g_dbus_error_register_error( 8676 error_domain: glib::GQuark, 8677 error_code: c_int, 8678 dbus_error_name: *const c_char, 8679 ) -> gboolean; g_dbus_error_register_error_domain( error_domain_quark_name: *const c_char, quark_volatile: *mut size_t, entries: *const GDBusErrorEntry, num_entries: c_uint, )8680 pub fn g_dbus_error_register_error_domain( 8681 error_domain_quark_name: *const c_char, 8682 quark_volatile: *mut size_t, 8683 entries: *const GDBusErrorEntry, 8684 num_entries: c_uint, 8685 ); g_dbus_error_set_dbus_error( error: *mut *mut glib::GError, dbus_error_name: *const c_char, dbus_error_message: *const c_char, format: *const c_char, ... )8686 pub fn g_dbus_error_set_dbus_error( 8687 error: *mut *mut glib::GError, 8688 dbus_error_name: *const c_char, 8689 dbus_error_message: *const c_char, 8690 format: *const c_char, 8691 ... 8692 ); 8693 //pub fn g_dbus_error_set_dbus_error_valist(error: *mut *mut glib::GError, dbus_error_name: *const c_char, dbus_error_message: *const c_char, format: *const c_char, var_args: /*Unimplemented*/va_list); g_dbus_error_strip_remote_error(error: *mut glib::GError) -> gboolean8694 pub fn g_dbus_error_strip_remote_error(error: *mut glib::GError) -> gboolean; g_dbus_error_unregister_error( error_domain: glib::GQuark, error_code: c_int, dbus_error_name: *const c_char, ) -> gboolean8695 pub fn g_dbus_error_unregister_error( 8696 error_domain: glib::GQuark, 8697 error_code: c_int, 8698 dbus_error_name: *const c_char, 8699 ) -> gboolean; 8700 8701 //========================================================================= 8702 // GDBusMessageByteOrder 8703 //========================================================================= g_dbus_message_byte_order_get_type() -> GType8704 pub fn g_dbus_message_byte_order_get_type() -> GType; 8705 8706 //========================================================================= 8707 // GDBusMessageHeaderField 8708 //========================================================================= g_dbus_message_header_field_get_type() -> GType8709 pub fn g_dbus_message_header_field_get_type() -> GType; 8710 8711 //========================================================================= 8712 // GDBusMessageType 8713 //========================================================================= g_dbus_message_type_get_type() -> GType8714 pub fn g_dbus_message_type_get_type() -> GType; 8715 8716 //========================================================================= 8717 // GDataStreamByteOrder 8718 //========================================================================= g_data_stream_byte_order_get_type() -> GType8719 pub fn g_data_stream_byte_order_get_type() -> GType; 8720 8721 //========================================================================= 8722 // GDataStreamNewlineType 8723 //========================================================================= g_data_stream_newline_type_get_type() -> GType8724 pub fn g_data_stream_newline_type_get_type() -> GType; 8725 8726 //========================================================================= 8727 // GDriveStartStopType 8728 //========================================================================= g_drive_start_stop_type_get_type() -> GType8729 pub fn g_drive_start_stop_type_get_type() -> GType; 8730 8731 //========================================================================= 8732 // GEmblemOrigin 8733 //========================================================================= g_emblem_origin_get_type() -> GType8734 pub fn g_emblem_origin_get_type() -> GType; 8735 8736 //========================================================================= 8737 // GFileAttributeStatus 8738 //========================================================================= g_file_attribute_status_get_type() -> GType8739 pub fn g_file_attribute_status_get_type() -> GType; 8740 8741 //========================================================================= 8742 // GFileAttributeType 8743 //========================================================================= g_file_attribute_type_get_type() -> GType8744 pub fn g_file_attribute_type_get_type() -> GType; 8745 8746 //========================================================================= 8747 // GFileMonitorEvent 8748 //========================================================================= g_file_monitor_event_get_type() -> GType8749 pub fn g_file_monitor_event_get_type() -> GType; 8750 8751 //========================================================================= 8752 // GFileType 8753 //========================================================================= g_file_type_get_type() -> GType8754 pub fn g_file_type_get_type() -> GType; 8755 8756 //========================================================================= 8757 // GFilesystemPreviewType 8758 //========================================================================= g_filesystem_preview_type_get_type() -> GType8759 pub fn g_filesystem_preview_type_get_type() -> GType; 8760 8761 //========================================================================= 8762 // GIOErrorEnum 8763 //========================================================================= g_io_error_enum_get_type() -> GType8764 pub fn g_io_error_enum_get_type() -> GType; 8765 8766 //========================================================================= 8767 // GIOModuleScopeFlags 8768 //========================================================================= g_io_module_scope_flags_get_type() -> GType8769 pub fn g_io_module_scope_flags_get_type() -> GType; 8770 8771 //========================================================================= 8772 // GMemoryMonitorWarningLevel 8773 //========================================================================= 8774 #[cfg(any(feature = "v2_64", feature = "dox"))] 8775 #[cfg_attr(feature = "dox", doc(cfg(feature = "v2_64")))] g_memory_monitor_warning_level_get_type() -> GType8776 pub fn g_memory_monitor_warning_level_get_type() -> GType; 8777 8778 //========================================================================= 8779 // GMountOperationResult 8780 //========================================================================= g_mount_operation_result_get_type() -> GType8781 pub fn g_mount_operation_result_get_type() -> GType; 8782 8783 //========================================================================= 8784 // GNetworkConnectivity 8785 //========================================================================= g_network_connectivity_get_type() -> GType8786 pub fn g_network_connectivity_get_type() -> GType; 8787 8788 //========================================================================= 8789 // GNotificationPriority 8790 //========================================================================= g_notification_priority_get_type() -> GType8791 pub fn g_notification_priority_get_type() -> GType; 8792 8793 //========================================================================= 8794 // GPasswordSave 8795 //========================================================================= g_password_save_get_type() -> GType8796 pub fn g_password_save_get_type() -> GType; 8797 8798 //========================================================================= 8799 // GPollableReturn 8800 //========================================================================= 8801 #[cfg(any(feature = "v2_60", feature = "dox"))] 8802 #[cfg_attr(feature = "dox", doc(cfg(feature = "v2_60")))] g_pollable_return_get_type() -> GType8803 pub fn g_pollable_return_get_type() -> GType; 8804 8805 //========================================================================= 8806 // GResolverError 8807 //========================================================================= g_resolver_error_get_type() -> GType8808 pub fn g_resolver_error_get_type() -> GType; g_resolver_error_quark() -> glib::GQuark8809 pub fn g_resolver_error_quark() -> glib::GQuark; 8810 8811 //========================================================================= 8812 // GResolverRecordType 8813 //========================================================================= g_resolver_record_type_get_type() -> GType8814 pub fn g_resolver_record_type_get_type() -> GType; 8815 8816 //========================================================================= 8817 // GResourceError 8818 //========================================================================= g_resource_error_get_type() -> GType8819 pub fn g_resource_error_get_type() -> GType; g_resource_error_quark() -> glib::GQuark8820 pub fn g_resource_error_quark() -> glib::GQuark; 8821 8822 //========================================================================= 8823 // GSocketClientEvent 8824 //========================================================================= g_socket_client_event_get_type() -> GType8825 pub fn g_socket_client_event_get_type() -> GType; 8826 8827 //========================================================================= 8828 // GSocketFamily 8829 //========================================================================= g_socket_family_get_type() -> GType8830 pub fn g_socket_family_get_type() -> GType; 8831 8832 //========================================================================= 8833 // GSocketListenerEvent 8834 //========================================================================= g_socket_listener_event_get_type() -> GType8835 pub fn g_socket_listener_event_get_type() -> GType; 8836 8837 //========================================================================= 8838 // GSocketProtocol 8839 //========================================================================= g_socket_protocol_get_type() -> GType8840 pub fn g_socket_protocol_get_type() -> GType; 8841 8842 //========================================================================= 8843 // GSocketType 8844 //========================================================================= g_socket_type_get_type() -> GType8845 pub fn g_socket_type_get_type() -> GType; 8846 8847 //========================================================================= 8848 // GTlsAuthenticationMode 8849 //========================================================================= g_tls_authentication_mode_get_type() -> GType8850 pub fn g_tls_authentication_mode_get_type() -> GType; 8851 8852 //========================================================================= 8853 // GTlsCertificateRequestFlags 8854 //========================================================================= g_tls_certificate_request_flags_get_type() -> GType8855 pub fn g_tls_certificate_request_flags_get_type() -> GType; 8856 8857 //========================================================================= 8858 // GTlsChannelBindingError 8859 //========================================================================= 8860 #[cfg(any(feature = "v2_66", feature = "dox"))] 8861 #[cfg_attr(feature = "dox", doc(cfg(feature = "v2_66")))] g_tls_channel_binding_error_get_type() -> GType8862 pub fn g_tls_channel_binding_error_get_type() -> GType; 8863 #[cfg(any(feature = "v2_66", feature = "dox"))] 8864 #[cfg_attr(feature = "dox", doc(cfg(feature = "v2_66")))] g_tls_channel_binding_error_quark() -> glib::GQuark8865 pub fn g_tls_channel_binding_error_quark() -> glib::GQuark; 8866 8867 //========================================================================= 8868 // GTlsChannelBindingType 8869 //========================================================================= 8870 #[cfg(any(feature = "v2_66", feature = "dox"))] 8871 #[cfg_attr(feature = "dox", doc(cfg(feature = "v2_66")))] g_tls_channel_binding_type_get_type() -> GType8872 pub fn g_tls_channel_binding_type_get_type() -> GType; 8873 8874 //========================================================================= 8875 // GTlsDatabaseLookupFlags 8876 //========================================================================= g_tls_database_lookup_flags_get_type() -> GType8877 pub fn g_tls_database_lookup_flags_get_type() -> GType; 8878 8879 //========================================================================= 8880 // GTlsError 8881 //========================================================================= g_tls_error_get_type() -> GType8882 pub fn g_tls_error_get_type() -> GType; g_tls_error_quark() -> glib::GQuark8883 pub fn g_tls_error_quark() -> glib::GQuark; 8884 8885 //========================================================================= 8886 // GTlsInteractionResult 8887 //========================================================================= g_tls_interaction_result_get_type() -> GType8888 pub fn g_tls_interaction_result_get_type() -> GType; 8889 8890 //========================================================================= 8891 // GTlsRehandshakeMode 8892 //========================================================================= g_tls_rehandshake_mode_get_type() -> GType8893 pub fn g_tls_rehandshake_mode_get_type() -> GType; 8894 8895 //========================================================================= 8896 // GUnixSocketAddressType 8897 //========================================================================= g_unix_socket_address_type_get_type() -> GType8898 pub fn g_unix_socket_address_type_get_type() -> GType; 8899 8900 //========================================================================= 8901 // GZlibCompressorFormat 8902 //========================================================================= g_zlib_compressor_format_get_type() -> GType8903 pub fn g_zlib_compressor_format_get_type() -> GType; 8904 8905 //========================================================================= 8906 // GAppInfoCreateFlags 8907 //========================================================================= g_app_info_create_flags_get_type() -> GType8908 pub fn g_app_info_create_flags_get_type() -> GType; 8909 8910 //========================================================================= 8911 // GApplicationFlags 8912 //========================================================================= g_application_flags_get_type() -> GType8913 pub fn g_application_flags_get_type() -> GType; 8914 8915 //========================================================================= 8916 // GAskPasswordFlags 8917 //========================================================================= g_ask_password_flags_get_type() -> GType8918 pub fn g_ask_password_flags_get_type() -> GType; 8919 8920 //========================================================================= 8921 // GBusNameOwnerFlags 8922 //========================================================================= g_bus_name_owner_flags_get_type() -> GType8923 pub fn g_bus_name_owner_flags_get_type() -> GType; 8924 8925 //========================================================================= 8926 // GBusNameWatcherFlags 8927 //========================================================================= g_bus_name_watcher_flags_get_type() -> GType8928 pub fn g_bus_name_watcher_flags_get_type() -> GType; 8929 8930 //========================================================================= 8931 // GConverterFlags 8932 //========================================================================= g_converter_flags_get_type() -> GType8933 pub fn g_converter_flags_get_type() -> GType; 8934 8935 //========================================================================= 8936 // GDBusCallFlags 8937 //========================================================================= g_dbus_call_flags_get_type() -> GType8938 pub fn g_dbus_call_flags_get_type() -> GType; 8939 8940 //========================================================================= 8941 // GDBusCapabilityFlags 8942 //========================================================================= g_dbus_capability_flags_get_type() -> GType8943 pub fn g_dbus_capability_flags_get_type() -> GType; 8944 8945 //========================================================================= 8946 // GDBusConnectionFlags 8947 //========================================================================= g_dbus_connection_flags_get_type() -> GType8948 pub fn g_dbus_connection_flags_get_type() -> GType; 8949 8950 //========================================================================= 8951 // GDBusInterfaceSkeletonFlags 8952 //========================================================================= g_dbus_interface_skeleton_flags_get_type() -> GType8953 pub fn g_dbus_interface_skeleton_flags_get_type() -> GType; 8954 8955 //========================================================================= 8956 // GDBusMessageFlags 8957 //========================================================================= g_dbus_message_flags_get_type() -> GType8958 pub fn g_dbus_message_flags_get_type() -> GType; 8959 8960 //========================================================================= 8961 // GDBusObjectManagerClientFlags 8962 //========================================================================= g_dbus_object_manager_client_flags_get_type() -> GType8963 pub fn g_dbus_object_manager_client_flags_get_type() -> GType; 8964 8965 //========================================================================= 8966 // GDBusPropertyInfoFlags 8967 //========================================================================= g_dbus_property_info_flags_get_type() -> GType8968 pub fn g_dbus_property_info_flags_get_type() -> GType; 8969 8970 //========================================================================= 8971 // GDBusProxyFlags 8972 //========================================================================= g_dbus_proxy_flags_get_type() -> GType8973 pub fn g_dbus_proxy_flags_get_type() -> GType; 8974 8975 //========================================================================= 8976 // GDBusSendMessageFlags 8977 //========================================================================= g_dbus_send_message_flags_get_type() -> GType8978 pub fn g_dbus_send_message_flags_get_type() -> GType; 8979 8980 //========================================================================= 8981 // GDBusServerFlags 8982 //========================================================================= g_dbus_server_flags_get_type() -> GType8983 pub fn g_dbus_server_flags_get_type() -> GType; 8984 8985 //========================================================================= 8986 // GDBusSignalFlags 8987 //========================================================================= g_dbus_signal_flags_get_type() -> GType8988 pub fn g_dbus_signal_flags_get_type() -> GType; 8989 8990 //========================================================================= 8991 // GDBusSubtreeFlags 8992 //========================================================================= g_dbus_subtree_flags_get_type() -> GType8993 pub fn g_dbus_subtree_flags_get_type() -> GType; 8994 8995 //========================================================================= 8996 // GDriveStartFlags 8997 //========================================================================= g_drive_start_flags_get_type() -> GType8998 pub fn g_drive_start_flags_get_type() -> GType; 8999 9000 //========================================================================= 9001 // GFileAttributeInfoFlags 9002 //========================================================================= g_file_attribute_info_flags_get_type() -> GType9003 pub fn g_file_attribute_info_flags_get_type() -> GType; 9004 9005 //========================================================================= 9006 // GFileCopyFlags 9007 //========================================================================= g_file_copy_flags_get_type() -> GType9008 pub fn g_file_copy_flags_get_type() -> GType; 9009 9010 //========================================================================= 9011 // GFileCreateFlags 9012 //========================================================================= g_file_create_flags_get_type() -> GType9013 pub fn g_file_create_flags_get_type() -> GType; 9014 9015 //========================================================================= 9016 // GFileMeasureFlags 9017 //========================================================================= g_file_measure_flags_get_type() -> GType9018 pub fn g_file_measure_flags_get_type() -> GType; 9019 9020 //========================================================================= 9021 // GFileMonitorFlags 9022 //========================================================================= g_file_monitor_flags_get_type() -> GType9023 pub fn g_file_monitor_flags_get_type() -> GType; 9024 9025 //========================================================================= 9026 // GFileQueryInfoFlags 9027 //========================================================================= g_file_query_info_flags_get_type() -> GType9028 pub fn g_file_query_info_flags_get_type() -> GType; 9029 9030 //========================================================================= 9031 // GIOStreamSpliceFlags 9032 //========================================================================= g_io_stream_splice_flags_get_type() -> GType9033 pub fn g_io_stream_splice_flags_get_type() -> GType; 9034 9035 //========================================================================= 9036 // GMountMountFlags 9037 //========================================================================= g_mount_mount_flags_get_type() -> GType9038 pub fn g_mount_mount_flags_get_type() -> GType; 9039 9040 //========================================================================= 9041 // GMountUnmountFlags 9042 //========================================================================= g_mount_unmount_flags_get_type() -> GType9043 pub fn g_mount_unmount_flags_get_type() -> GType; 9044 9045 //========================================================================= 9046 // GOutputStreamSpliceFlags 9047 //========================================================================= g_output_stream_splice_flags_get_type() -> GType9048 pub fn g_output_stream_splice_flags_get_type() -> GType; 9049 9050 //========================================================================= 9051 // GResolverNameLookupFlags 9052 //========================================================================= 9053 #[cfg(any(feature = "v2_60", feature = "dox"))] 9054 #[cfg_attr(feature = "dox", doc(cfg(feature = "v2_60")))] g_resolver_name_lookup_flags_get_type() -> GType9055 pub fn g_resolver_name_lookup_flags_get_type() -> GType; 9056 9057 //========================================================================= 9058 // GResourceFlags 9059 //========================================================================= g_resource_flags_get_type() -> GType9060 pub fn g_resource_flags_get_type() -> GType; 9061 9062 //========================================================================= 9063 // GResourceLookupFlags 9064 //========================================================================= g_resource_lookup_flags_get_type() -> GType9065 pub fn g_resource_lookup_flags_get_type() -> GType; 9066 9067 //========================================================================= 9068 // GSettingsBindFlags 9069 //========================================================================= g_settings_bind_flags_get_type() -> GType9070 pub fn g_settings_bind_flags_get_type() -> GType; 9071 9072 //========================================================================= 9073 // GSocketMsgFlags 9074 //========================================================================= g_socket_msg_flags_get_type() -> GType9075 pub fn g_socket_msg_flags_get_type() -> GType; 9076 9077 //========================================================================= 9078 // GSubprocessFlags 9079 //========================================================================= g_subprocess_flags_get_type() -> GType9080 pub fn g_subprocess_flags_get_type() -> GType; 9081 9082 //========================================================================= 9083 // GTestDBusFlags 9084 //========================================================================= g_test_dbus_flags_get_type() -> GType9085 pub fn g_test_dbus_flags_get_type() -> GType; 9086 9087 //========================================================================= 9088 // GTlsCertificateFlags 9089 //========================================================================= g_tls_certificate_flags_get_type() -> GType9090 pub fn g_tls_certificate_flags_get_type() -> GType; 9091 9092 //========================================================================= 9093 // GTlsDatabaseVerifyFlags 9094 //========================================================================= g_tls_database_verify_flags_get_type() -> GType9095 pub fn g_tls_database_verify_flags_get_type() -> GType; 9096 9097 //========================================================================= 9098 // GTlsPasswordFlags 9099 //========================================================================= g_tls_password_flags_get_type() -> GType9100 pub fn g_tls_password_flags_get_type() -> GType; 9101 9102 //========================================================================= 9103 // GDBusAnnotationInfo 9104 //========================================================================= g_dbus_annotation_info_get_type() -> GType9105 pub fn g_dbus_annotation_info_get_type() -> GType; g_dbus_annotation_info_ref(info: *mut GDBusAnnotationInfo) -> *mut GDBusAnnotationInfo9106 pub fn g_dbus_annotation_info_ref(info: *mut GDBusAnnotationInfo) -> *mut GDBusAnnotationInfo; g_dbus_annotation_info_unref(info: *mut GDBusAnnotationInfo)9107 pub fn g_dbus_annotation_info_unref(info: *mut GDBusAnnotationInfo); g_dbus_annotation_info_lookup( annotations: *mut *mut GDBusAnnotationInfo, name: *const c_char, ) -> *const c_char9108 pub fn g_dbus_annotation_info_lookup( 9109 annotations: *mut *mut GDBusAnnotationInfo, 9110 name: *const c_char, 9111 ) -> *const c_char; 9112 9113 //========================================================================= 9114 // GDBusArgInfo 9115 //========================================================================= g_dbus_arg_info_get_type() -> GType9116 pub fn g_dbus_arg_info_get_type() -> GType; g_dbus_arg_info_ref(info: *mut GDBusArgInfo) -> *mut GDBusArgInfo9117 pub fn g_dbus_arg_info_ref(info: *mut GDBusArgInfo) -> *mut GDBusArgInfo; g_dbus_arg_info_unref(info: *mut GDBusArgInfo)9118 pub fn g_dbus_arg_info_unref(info: *mut GDBusArgInfo); 9119 9120 //========================================================================= 9121 // GDBusInterfaceInfo 9122 //========================================================================= g_dbus_interface_info_get_type() -> GType9123 pub fn g_dbus_interface_info_get_type() -> GType; g_dbus_interface_info_cache_build(info: *mut GDBusInterfaceInfo)9124 pub fn g_dbus_interface_info_cache_build(info: *mut GDBusInterfaceInfo); g_dbus_interface_info_cache_release(info: *mut GDBusInterfaceInfo)9125 pub fn g_dbus_interface_info_cache_release(info: *mut GDBusInterfaceInfo); g_dbus_interface_info_generate_xml( info: *mut GDBusInterfaceInfo, indent: c_uint, string_builder: *mut glib::GString, )9126 pub fn g_dbus_interface_info_generate_xml( 9127 info: *mut GDBusInterfaceInfo, 9128 indent: c_uint, 9129 string_builder: *mut glib::GString, 9130 ); g_dbus_interface_info_lookup_method( info: *mut GDBusInterfaceInfo, name: *const c_char, ) -> *mut GDBusMethodInfo9131 pub fn g_dbus_interface_info_lookup_method( 9132 info: *mut GDBusInterfaceInfo, 9133 name: *const c_char, 9134 ) -> *mut GDBusMethodInfo; g_dbus_interface_info_lookup_property( info: *mut GDBusInterfaceInfo, name: *const c_char, ) -> *mut GDBusPropertyInfo9135 pub fn g_dbus_interface_info_lookup_property( 9136 info: *mut GDBusInterfaceInfo, 9137 name: *const c_char, 9138 ) -> *mut GDBusPropertyInfo; g_dbus_interface_info_lookup_signal( info: *mut GDBusInterfaceInfo, name: *const c_char, ) -> *mut GDBusSignalInfo9139 pub fn g_dbus_interface_info_lookup_signal( 9140 info: *mut GDBusInterfaceInfo, 9141 name: *const c_char, 9142 ) -> *mut GDBusSignalInfo; g_dbus_interface_info_ref(info: *mut GDBusInterfaceInfo) -> *mut GDBusInterfaceInfo9143 pub fn g_dbus_interface_info_ref(info: *mut GDBusInterfaceInfo) -> *mut GDBusInterfaceInfo; g_dbus_interface_info_unref(info: *mut GDBusInterfaceInfo)9144 pub fn g_dbus_interface_info_unref(info: *mut GDBusInterfaceInfo); 9145 9146 //========================================================================= 9147 // GDBusMethodInfo 9148 //========================================================================= g_dbus_method_info_get_type() -> GType9149 pub fn g_dbus_method_info_get_type() -> GType; g_dbus_method_info_ref(info: *mut GDBusMethodInfo) -> *mut GDBusMethodInfo9150 pub fn g_dbus_method_info_ref(info: *mut GDBusMethodInfo) -> *mut GDBusMethodInfo; g_dbus_method_info_unref(info: *mut GDBusMethodInfo)9151 pub fn g_dbus_method_info_unref(info: *mut GDBusMethodInfo); 9152 9153 //========================================================================= 9154 // GDBusNodeInfo 9155 //========================================================================= g_dbus_node_info_get_type() -> GType9156 pub fn g_dbus_node_info_get_type() -> GType; g_dbus_node_info_new_for_xml( xml_data: *const c_char, error: *mut *mut glib::GError, ) -> *mut GDBusNodeInfo9157 pub fn g_dbus_node_info_new_for_xml( 9158 xml_data: *const c_char, 9159 error: *mut *mut glib::GError, 9160 ) -> *mut GDBusNodeInfo; g_dbus_node_info_generate_xml( info: *mut GDBusNodeInfo, indent: c_uint, string_builder: *mut glib::GString, )9161 pub fn g_dbus_node_info_generate_xml( 9162 info: *mut GDBusNodeInfo, 9163 indent: c_uint, 9164 string_builder: *mut glib::GString, 9165 ); g_dbus_node_info_lookup_interface( info: *mut GDBusNodeInfo, name: *const c_char, ) -> *mut GDBusInterfaceInfo9166 pub fn g_dbus_node_info_lookup_interface( 9167 info: *mut GDBusNodeInfo, 9168 name: *const c_char, 9169 ) -> *mut GDBusInterfaceInfo; g_dbus_node_info_ref(info: *mut GDBusNodeInfo) -> *mut GDBusNodeInfo9170 pub fn g_dbus_node_info_ref(info: *mut GDBusNodeInfo) -> *mut GDBusNodeInfo; g_dbus_node_info_unref(info: *mut GDBusNodeInfo)9171 pub fn g_dbus_node_info_unref(info: *mut GDBusNodeInfo); 9172 9173 //========================================================================= 9174 // GDBusPropertyInfo 9175 //========================================================================= g_dbus_property_info_get_type() -> GType9176 pub fn g_dbus_property_info_get_type() -> GType; g_dbus_property_info_ref(info: *mut GDBusPropertyInfo) -> *mut GDBusPropertyInfo9177 pub fn g_dbus_property_info_ref(info: *mut GDBusPropertyInfo) -> *mut GDBusPropertyInfo; g_dbus_property_info_unref(info: *mut GDBusPropertyInfo)9178 pub fn g_dbus_property_info_unref(info: *mut GDBusPropertyInfo); 9179 9180 //========================================================================= 9181 // GDBusSignalInfo 9182 //========================================================================= g_dbus_signal_info_get_type() -> GType9183 pub fn g_dbus_signal_info_get_type() -> GType; g_dbus_signal_info_ref(info: *mut GDBusSignalInfo) -> *mut GDBusSignalInfo9184 pub fn g_dbus_signal_info_ref(info: *mut GDBusSignalInfo) -> *mut GDBusSignalInfo; g_dbus_signal_info_unref(info: *mut GDBusSignalInfo)9185 pub fn g_dbus_signal_info_unref(info: *mut GDBusSignalInfo); 9186 9187 //========================================================================= 9188 // GFileAttributeInfoList 9189 //========================================================================= g_file_attribute_info_list_get_type() -> GType9190 pub fn g_file_attribute_info_list_get_type() -> GType; g_file_attribute_info_list_new() -> *mut GFileAttributeInfoList9191 pub fn g_file_attribute_info_list_new() -> *mut GFileAttributeInfoList; g_file_attribute_info_list_add( list: *mut GFileAttributeInfoList, name: *const c_char, type_: GFileAttributeType, flags: GFileAttributeInfoFlags, )9192 pub fn g_file_attribute_info_list_add( 9193 list: *mut GFileAttributeInfoList, 9194 name: *const c_char, 9195 type_: GFileAttributeType, 9196 flags: GFileAttributeInfoFlags, 9197 ); g_file_attribute_info_list_dup( list: *mut GFileAttributeInfoList, ) -> *mut GFileAttributeInfoList9198 pub fn g_file_attribute_info_list_dup( 9199 list: *mut GFileAttributeInfoList, 9200 ) -> *mut GFileAttributeInfoList; g_file_attribute_info_list_lookup( list: *mut GFileAttributeInfoList, name: *const c_char, ) -> *const GFileAttributeInfo9201 pub fn g_file_attribute_info_list_lookup( 9202 list: *mut GFileAttributeInfoList, 9203 name: *const c_char, 9204 ) -> *const GFileAttributeInfo; g_file_attribute_info_list_ref( list: *mut GFileAttributeInfoList, ) -> *mut GFileAttributeInfoList9205 pub fn g_file_attribute_info_list_ref( 9206 list: *mut GFileAttributeInfoList, 9207 ) -> *mut GFileAttributeInfoList; g_file_attribute_info_list_unref(list: *mut GFileAttributeInfoList)9208 pub fn g_file_attribute_info_list_unref(list: *mut GFileAttributeInfoList); 9209 9210 //========================================================================= 9211 // GFileAttributeMatcher 9212 //========================================================================= g_file_attribute_matcher_get_type() -> GType9213 pub fn g_file_attribute_matcher_get_type() -> GType; g_file_attribute_matcher_new(attributes: *const c_char) -> *mut GFileAttributeMatcher9214 pub fn g_file_attribute_matcher_new(attributes: *const c_char) -> *mut GFileAttributeMatcher; g_file_attribute_matcher_enumerate_namespace( matcher: *mut GFileAttributeMatcher, ns: *const c_char, ) -> gboolean9215 pub fn g_file_attribute_matcher_enumerate_namespace( 9216 matcher: *mut GFileAttributeMatcher, 9217 ns: *const c_char, 9218 ) -> gboolean; g_file_attribute_matcher_enumerate_next( matcher: *mut GFileAttributeMatcher, ) -> *const c_char9219 pub fn g_file_attribute_matcher_enumerate_next( 9220 matcher: *mut GFileAttributeMatcher, 9221 ) -> *const c_char; g_file_attribute_matcher_matches( matcher: *mut GFileAttributeMatcher, attribute: *const c_char, ) -> gboolean9222 pub fn g_file_attribute_matcher_matches( 9223 matcher: *mut GFileAttributeMatcher, 9224 attribute: *const c_char, 9225 ) -> gboolean; g_file_attribute_matcher_matches_only( matcher: *mut GFileAttributeMatcher, attribute: *const c_char, ) -> gboolean9226 pub fn g_file_attribute_matcher_matches_only( 9227 matcher: *mut GFileAttributeMatcher, 9228 attribute: *const c_char, 9229 ) -> gboolean; g_file_attribute_matcher_ref( matcher: *mut GFileAttributeMatcher, ) -> *mut GFileAttributeMatcher9230 pub fn g_file_attribute_matcher_ref( 9231 matcher: *mut GFileAttributeMatcher, 9232 ) -> *mut GFileAttributeMatcher; g_file_attribute_matcher_subtract( matcher: *mut GFileAttributeMatcher, subtract: *mut GFileAttributeMatcher, ) -> *mut GFileAttributeMatcher9233 pub fn g_file_attribute_matcher_subtract( 9234 matcher: *mut GFileAttributeMatcher, 9235 subtract: *mut GFileAttributeMatcher, 9236 ) -> *mut GFileAttributeMatcher; g_file_attribute_matcher_to_string(matcher: *mut GFileAttributeMatcher) -> *mut c_char9237 pub fn g_file_attribute_matcher_to_string(matcher: *mut GFileAttributeMatcher) -> *mut c_char; g_file_attribute_matcher_unref(matcher: *mut GFileAttributeMatcher)9238 pub fn g_file_attribute_matcher_unref(matcher: *mut GFileAttributeMatcher); 9239 9240 //========================================================================= 9241 // GIOExtension 9242 //========================================================================= g_io_extension_get_name(extension: *mut GIOExtension) -> *const c_char9243 pub fn g_io_extension_get_name(extension: *mut GIOExtension) -> *const c_char; g_io_extension_get_priority(extension: *mut GIOExtension) -> c_int9244 pub fn g_io_extension_get_priority(extension: *mut GIOExtension) -> c_int; g_io_extension_get_type(extension: *mut GIOExtension) -> GType9245 pub fn g_io_extension_get_type(extension: *mut GIOExtension) -> GType; g_io_extension_ref_class(extension: *mut GIOExtension) -> *mut gobject::GTypeClass9246 pub fn g_io_extension_ref_class(extension: *mut GIOExtension) -> *mut gobject::GTypeClass; 9247 9248 //========================================================================= 9249 // GIOExtensionPoint 9250 //========================================================================= g_io_extension_point_get_extension_by_name( extension_point: *mut GIOExtensionPoint, name: *const c_char, ) -> *mut GIOExtension9251 pub fn g_io_extension_point_get_extension_by_name( 9252 extension_point: *mut GIOExtensionPoint, 9253 name: *const c_char, 9254 ) -> *mut GIOExtension; g_io_extension_point_get_extensions( extension_point: *mut GIOExtensionPoint, ) -> *mut glib::GList9255 pub fn g_io_extension_point_get_extensions( 9256 extension_point: *mut GIOExtensionPoint, 9257 ) -> *mut glib::GList; g_io_extension_point_get_required_type(extension_point: *mut GIOExtensionPoint) -> GType9258 pub fn g_io_extension_point_get_required_type(extension_point: *mut GIOExtensionPoint) 9259 -> GType; g_io_extension_point_set_required_type( extension_point: *mut GIOExtensionPoint, type_: GType, )9260 pub fn g_io_extension_point_set_required_type( 9261 extension_point: *mut GIOExtensionPoint, 9262 type_: GType, 9263 ); g_io_extension_point_implement( extension_point_name: *const c_char, type_: GType, extension_name: *const c_char, priority: c_int, ) -> *mut GIOExtension9264 pub fn g_io_extension_point_implement( 9265 extension_point_name: *const c_char, 9266 type_: GType, 9267 extension_name: *const c_char, 9268 priority: c_int, 9269 ) -> *mut GIOExtension; g_io_extension_point_lookup(name: *const c_char) -> *mut GIOExtensionPoint9270 pub fn g_io_extension_point_lookup(name: *const c_char) -> *mut GIOExtensionPoint; g_io_extension_point_register(name: *const c_char) -> *mut GIOExtensionPoint9271 pub fn g_io_extension_point_register(name: *const c_char) -> *mut GIOExtensionPoint; 9272 9273 //========================================================================= 9274 // GIOModuleScope 9275 //========================================================================= g_io_module_scope_block(scope: *mut GIOModuleScope, basename: *const c_char)9276 pub fn g_io_module_scope_block(scope: *mut GIOModuleScope, basename: *const c_char); g_io_module_scope_free(scope: *mut GIOModuleScope)9277 pub fn g_io_module_scope_free(scope: *mut GIOModuleScope); g_io_module_scope_new(flags: GIOModuleScopeFlags) -> *mut GIOModuleScope9278 pub fn g_io_module_scope_new(flags: GIOModuleScopeFlags) -> *mut GIOModuleScope; 9279 9280 //========================================================================= 9281 // GIOSchedulerJob 9282 //========================================================================= g_io_scheduler_job_send_to_mainloop( job: *mut GIOSchedulerJob, func: glib::GSourceFunc, user_data: gpointer, notify: glib::GDestroyNotify, ) -> gboolean9283 pub fn g_io_scheduler_job_send_to_mainloop( 9284 job: *mut GIOSchedulerJob, 9285 func: glib::GSourceFunc, 9286 user_data: gpointer, 9287 notify: glib::GDestroyNotify, 9288 ) -> gboolean; g_io_scheduler_job_send_to_mainloop_async( job: *mut GIOSchedulerJob, func: glib::GSourceFunc, user_data: gpointer, notify: glib::GDestroyNotify, )9289 pub fn g_io_scheduler_job_send_to_mainloop_async( 9290 job: *mut GIOSchedulerJob, 9291 func: glib::GSourceFunc, 9292 user_data: gpointer, 9293 notify: glib::GDestroyNotify, 9294 ); 9295 9296 //========================================================================= 9297 // GResource 9298 //========================================================================= g_resource_get_type() -> GType9299 pub fn g_resource_get_type() -> GType; g_resource_new_from_data( data: *mut glib::GBytes, error: *mut *mut glib::GError, ) -> *mut GResource9300 pub fn g_resource_new_from_data( 9301 data: *mut glib::GBytes, 9302 error: *mut *mut glib::GError, 9303 ) -> *mut GResource; g_resource_enumerate_children( resource: *mut GResource, path: *const c_char, lookup_flags: GResourceLookupFlags, error: *mut *mut glib::GError, ) -> *mut *mut c_char9304 pub fn g_resource_enumerate_children( 9305 resource: *mut GResource, 9306 path: *const c_char, 9307 lookup_flags: GResourceLookupFlags, 9308 error: *mut *mut glib::GError, 9309 ) -> *mut *mut c_char; g_resource_get_info( resource: *mut GResource, path: *const c_char, lookup_flags: GResourceLookupFlags, size: *mut size_t, flags: *mut u32, error: *mut *mut glib::GError, ) -> gboolean9310 pub fn g_resource_get_info( 9311 resource: *mut GResource, 9312 path: *const c_char, 9313 lookup_flags: GResourceLookupFlags, 9314 size: *mut size_t, 9315 flags: *mut u32, 9316 error: *mut *mut glib::GError, 9317 ) -> gboolean; g_resource_lookup_data( resource: *mut GResource, path: *const c_char, lookup_flags: GResourceLookupFlags, error: *mut *mut glib::GError, ) -> *mut glib::GBytes9318 pub fn g_resource_lookup_data( 9319 resource: *mut GResource, 9320 path: *const c_char, 9321 lookup_flags: GResourceLookupFlags, 9322 error: *mut *mut glib::GError, 9323 ) -> *mut glib::GBytes; g_resource_open_stream( resource: *mut GResource, path: *const c_char, lookup_flags: GResourceLookupFlags, error: *mut *mut glib::GError, ) -> *mut GInputStream9324 pub fn g_resource_open_stream( 9325 resource: *mut GResource, 9326 path: *const c_char, 9327 lookup_flags: GResourceLookupFlags, 9328 error: *mut *mut glib::GError, 9329 ) -> *mut GInputStream; g_resource_ref(resource: *mut GResource) -> *mut GResource9330 pub fn g_resource_ref(resource: *mut GResource) -> *mut GResource; g_resource_unref(resource: *mut GResource)9331 pub fn g_resource_unref(resource: *mut GResource); g_resource_load( filename: *const c_char, error: *mut *mut glib::GError, ) -> *mut GResource9332 pub fn g_resource_load( 9333 filename: *const c_char, 9334 error: *mut *mut glib::GError, 9335 ) -> *mut GResource; 9336 9337 //========================================================================= 9338 // GSettingsSchema 9339 //========================================================================= g_settings_schema_get_type() -> GType9340 pub fn g_settings_schema_get_type() -> GType; g_settings_schema_get_id(schema: *mut GSettingsSchema) -> *const c_char9341 pub fn g_settings_schema_get_id(schema: *mut GSettingsSchema) -> *const c_char; g_settings_schema_get_key( schema: *mut GSettingsSchema, name: *const c_char, ) -> *mut GSettingsSchemaKey9342 pub fn g_settings_schema_get_key( 9343 schema: *mut GSettingsSchema, 9344 name: *const c_char, 9345 ) -> *mut GSettingsSchemaKey; g_settings_schema_get_path(schema: *mut GSettingsSchema) -> *const c_char9346 pub fn g_settings_schema_get_path(schema: *mut GSettingsSchema) -> *const c_char; g_settings_schema_has_key(schema: *mut GSettingsSchema, name: *const c_char) -> gboolean9347 pub fn g_settings_schema_has_key(schema: *mut GSettingsSchema, name: *const c_char) 9348 -> gboolean; g_settings_schema_list_children(schema: *mut GSettingsSchema) -> *mut *mut c_char9349 pub fn g_settings_schema_list_children(schema: *mut GSettingsSchema) -> *mut *mut c_char; g_settings_schema_list_keys(schema: *mut GSettingsSchema) -> *mut *mut c_char9350 pub fn g_settings_schema_list_keys(schema: *mut GSettingsSchema) -> *mut *mut c_char; g_settings_schema_ref(schema: *mut GSettingsSchema) -> *mut GSettingsSchema9351 pub fn g_settings_schema_ref(schema: *mut GSettingsSchema) -> *mut GSettingsSchema; g_settings_schema_unref(schema: *mut GSettingsSchema)9352 pub fn g_settings_schema_unref(schema: *mut GSettingsSchema); 9353 9354 //========================================================================= 9355 // GSettingsSchemaKey 9356 //========================================================================= g_settings_schema_key_get_type() -> GType9357 pub fn g_settings_schema_key_get_type() -> GType; g_settings_schema_key_get_default_value( key: *mut GSettingsSchemaKey, ) -> *mut glib::GVariant9358 pub fn g_settings_schema_key_get_default_value( 9359 key: *mut GSettingsSchemaKey, 9360 ) -> *mut glib::GVariant; g_settings_schema_key_get_description(key: *mut GSettingsSchemaKey) -> *const c_char9361 pub fn g_settings_schema_key_get_description(key: *mut GSettingsSchemaKey) -> *const c_char; g_settings_schema_key_get_name(key: *mut GSettingsSchemaKey) -> *const c_char9362 pub fn g_settings_schema_key_get_name(key: *mut GSettingsSchemaKey) -> *const c_char; g_settings_schema_key_get_range(key: *mut GSettingsSchemaKey) -> *mut glib::GVariant9363 pub fn g_settings_schema_key_get_range(key: *mut GSettingsSchemaKey) -> *mut glib::GVariant; g_settings_schema_key_get_summary(key: *mut GSettingsSchemaKey) -> *const c_char9364 pub fn g_settings_schema_key_get_summary(key: *mut GSettingsSchemaKey) -> *const c_char; g_settings_schema_key_get_value_type( key: *mut GSettingsSchemaKey, ) -> *const glib::GVariantType9365 pub fn g_settings_schema_key_get_value_type( 9366 key: *mut GSettingsSchemaKey, 9367 ) -> *const glib::GVariantType; g_settings_schema_key_range_check( key: *mut GSettingsSchemaKey, value: *mut glib::GVariant, ) -> gboolean9368 pub fn g_settings_schema_key_range_check( 9369 key: *mut GSettingsSchemaKey, 9370 value: *mut glib::GVariant, 9371 ) -> gboolean; g_settings_schema_key_ref(key: *mut GSettingsSchemaKey) -> *mut GSettingsSchemaKey9372 pub fn g_settings_schema_key_ref(key: *mut GSettingsSchemaKey) -> *mut GSettingsSchemaKey; g_settings_schema_key_unref(key: *mut GSettingsSchemaKey)9373 pub fn g_settings_schema_key_unref(key: *mut GSettingsSchemaKey); 9374 9375 //========================================================================= 9376 // GSettingsSchemaSource 9377 //========================================================================= g_settings_schema_source_get_type() -> GType9378 pub fn g_settings_schema_source_get_type() -> GType; g_settings_schema_source_new_from_directory( directory: *const c_char, parent: *mut GSettingsSchemaSource, trusted: gboolean, error: *mut *mut glib::GError, ) -> *mut GSettingsSchemaSource9379 pub fn g_settings_schema_source_new_from_directory( 9380 directory: *const c_char, 9381 parent: *mut GSettingsSchemaSource, 9382 trusted: gboolean, 9383 error: *mut *mut glib::GError, 9384 ) -> *mut GSettingsSchemaSource; g_settings_schema_source_list_schemas( source: *mut GSettingsSchemaSource, recursive: gboolean, non_relocatable: *mut *mut *mut c_char, relocatable: *mut *mut *mut c_char, )9385 pub fn g_settings_schema_source_list_schemas( 9386 source: *mut GSettingsSchemaSource, 9387 recursive: gboolean, 9388 non_relocatable: *mut *mut *mut c_char, 9389 relocatable: *mut *mut *mut c_char, 9390 ); g_settings_schema_source_lookup( source: *mut GSettingsSchemaSource, schema_id: *const c_char, recursive: gboolean, ) -> *mut GSettingsSchema9391 pub fn g_settings_schema_source_lookup( 9392 source: *mut GSettingsSchemaSource, 9393 schema_id: *const c_char, 9394 recursive: gboolean, 9395 ) -> *mut GSettingsSchema; g_settings_schema_source_ref( source: *mut GSettingsSchemaSource, ) -> *mut GSettingsSchemaSource9396 pub fn g_settings_schema_source_ref( 9397 source: *mut GSettingsSchemaSource, 9398 ) -> *mut GSettingsSchemaSource; g_settings_schema_source_unref(source: *mut GSettingsSchemaSource)9399 pub fn g_settings_schema_source_unref(source: *mut GSettingsSchemaSource); g_settings_schema_source_get_default() -> *mut GSettingsSchemaSource9400 pub fn g_settings_schema_source_get_default() -> *mut GSettingsSchemaSource; 9401 9402 //========================================================================= 9403 // GSrvTarget 9404 //========================================================================= g_srv_target_get_type() -> GType9405 pub fn g_srv_target_get_type() -> GType; g_srv_target_new( hostname: *const c_char, port: u16, priority: u16, weight: u16, ) -> *mut GSrvTarget9406 pub fn g_srv_target_new( 9407 hostname: *const c_char, 9408 port: u16, 9409 priority: u16, 9410 weight: u16, 9411 ) -> *mut GSrvTarget; g_srv_target_copy(target: *mut GSrvTarget) -> *mut GSrvTarget9412 pub fn g_srv_target_copy(target: *mut GSrvTarget) -> *mut GSrvTarget; g_srv_target_free(target: *mut GSrvTarget)9413 pub fn g_srv_target_free(target: *mut GSrvTarget); g_srv_target_get_hostname(target: *mut GSrvTarget) -> *const c_char9414 pub fn g_srv_target_get_hostname(target: *mut GSrvTarget) -> *const c_char; g_srv_target_get_port(target: *mut GSrvTarget) -> u169415 pub fn g_srv_target_get_port(target: *mut GSrvTarget) -> u16; g_srv_target_get_priority(target: *mut GSrvTarget) -> u169416 pub fn g_srv_target_get_priority(target: *mut GSrvTarget) -> u16; g_srv_target_get_weight(target: *mut GSrvTarget) -> u169417 pub fn g_srv_target_get_weight(target: *mut GSrvTarget) -> u16; g_srv_target_list_sort(targets: *mut glib::GList) -> *mut glib::GList9418 pub fn g_srv_target_list_sort(targets: *mut glib::GList) -> *mut glib::GList; 9419 9420 //========================================================================= 9421 // GStaticResource 9422 //========================================================================= g_static_resource_fini(static_resource: *mut GStaticResource)9423 pub fn g_static_resource_fini(static_resource: *mut GStaticResource); g_static_resource_get_resource(static_resource: *mut GStaticResource) -> *mut GResource9424 pub fn g_static_resource_get_resource(static_resource: *mut GStaticResource) -> *mut GResource; g_static_resource_init(static_resource: *mut GStaticResource)9425 pub fn g_static_resource_init(static_resource: *mut GStaticResource); 9426 9427 //========================================================================= 9428 // GUnixMountEntry 9429 //========================================================================= 9430 #[cfg(any(feature = "v2_54", feature = "dox"))] 9431 #[cfg_attr(feature = "dox", doc(cfg(feature = "v2_54")))] g_unix_mount_entry_get_type() -> GType9432 pub fn g_unix_mount_entry_get_type() -> GType; 9433 9434 //========================================================================= 9435 // GUnixMountPoint 9436 //========================================================================= 9437 #[cfg(any(feature = "v2_54", feature = "dox"))] 9438 #[cfg_attr(feature = "dox", doc(cfg(feature = "v2_54")))] g_unix_mount_point_get_type() -> GType9439 pub fn g_unix_mount_point_get_type() -> GType; g_unix_mount_point_compare( mount1: *mut GUnixMountPoint, mount2: *mut GUnixMountPoint, ) -> c_int9440 pub fn g_unix_mount_point_compare( 9441 mount1: *mut GUnixMountPoint, 9442 mount2: *mut GUnixMountPoint, 9443 ) -> c_int; 9444 #[cfg(any(feature = "v2_54", feature = "dox"))] 9445 #[cfg_attr(feature = "dox", doc(cfg(feature = "v2_54")))] g_unix_mount_point_copy(mount_point: *mut GUnixMountPoint) -> *mut GUnixMountPoint9446 pub fn g_unix_mount_point_copy(mount_point: *mut GUnixMountPoint) -> *mut GUnixMountPoint; g_unix_mount_point_free(mount_point: *mut GUnixMountPoint)9447 pub fn g_unix_mount_point_free(mount_point: *mut GUnixMountPoint); g_unix_mount_point_get_device_path(mount_point: *mut GUnixMountPoint) -> *const c_char9448 pub fn g_unix_mount_point_get_device_path(mount_point: *mut GUnixMountPoint) -> *const c_char; g_unix_mount_point_get_fs_type(mount_point: *mut GUnixMountPoint) -> *const c_char9449 pub fn g_unix_mount_point_get_fs_type(mount_point: *mut GUnixMountPoint) -> *const c_char; g_unix_mount_point_get_mount_path(mount_point: *mut GUnixMountPoint) -> *const c_char9450 pub fn g_unix_mount_point_get_mount_path(mount_point: *mut GUnixMountPoint) -> *const c_char; g_unix_mount_point_get_options(mount_point: *mut GUnixMountPoint) -> *const c_char9451 pub fn g_unix_mount_point_get_options(mount_point: *mut GUnixMountPoint) -> *const c_char; g_unix_mount_point_guess_can_eject(mount_point: *mut GUnixMountPoint) -> gboolean9452 pub fn g_unix_mount_point_guess_can_eject(mount_point: *mut GUnixMountPoint) -> gboolean; g_unix_mount_point_guess_icon(mount_point: *mut GUnixMountPoint) -> *mut GIcon9453 pub fn g_unix_mount_point_guess_icon(mount_point: *mut GUnixMountPoint) -> *mut GIcon; g_unix_mount_point_guess_name(mount_point: *mut GUnixMountPoint) -> *mut c_char9454 pub fn g_unix_mount_point_guess_name(mount_point: *mut GUnixMountPoint) -> *mut c_char; g_unix_mount_point_guess_symbolic_icon(mount_point: *mut GUnixMountPoint) -> *mut GIcon9455 pub fn g_unix_mount_point_guess_symbolic_icon(mount_point: *mut GUnixMountPoint) -> *mut GIcon; g_unix_mount_point_is_loopback(mount_point: *mut GUnixMountPoint) -> gboolean9456 pub fn g_unix_mount_point_is_loopback(mount_point: *mut GUnixMountPoint) -> gboolean; g_unix_mount_point_is_readonly(mount_point: *mut GUnixMountPoint) -> gboolean9457 pub fn g_unix_mount_point_is_readonly(mount_point: *mut GUnixMountPoint) -> gboolean; g_unix_mount_point_is_user_mountable(mount_point: *mut GUnixMountPoint) -> gboolean9458 pub fn g_unix_mount_point_is_user_mountable(mount_point: *mut GUnixMountPoint) -> gboolean; 9459 #[cfg(any(feature = "v2_66", feature = "dox"))] 9460 #[cfg_attr(feature = "dox", doc(cfg(feature = "v2_66")))] g_unix_mount_point_at( mount_path: *const c_char, time_read: *mut u64, ) -> *mut GUnixMountPoint9461 pub fn g_unix_mount_point_at( 9462 mount_path: *const c_char, 9463 time_read: *mut u64, 9464 ) -> *mut GUnixMountPoint; 9465 9466 //========================================================================= 9467 // GAppInfoMonitor 9468 //========================================================================= g_app_info_monitor_get_type() -> GType9469 pub fn g_app_info_monitor_get_type() -> GType; g_app_info_monitor_get() -> *mut GAppInfoMonitor9470 pub fn g_app_info_monitor_get() -> *mut GAppInfoMonitor; 9471 9472 //========================================================================= 9473 // GAppLaunchContext 9474 //========================================================================= g_app_launch_context_get_type() -> GType9475 pub fn g_app_launch_context_get_type() -> GType; g_app_launch_context_new() -> *mut GAppLaunchContext9476 pub fn g_app_launch_context_new() -> *mut GAppLaunchContext; g_app_launch_context_get_display( context: *mut GAppLaunchContext, info: *mut GAppInfo, files: *mut glib::GList, ) -> *mut c_char9477 pub fn g_app_launch_context_get_display( 9478 context: *mut GAppLaunchContext, 9479 info: *mut GAppInfo, 9480 files: *mut glib::GList, 9481 ) -> *mut c_char; g_app_launch_context_get_environment( context: *mut GAppLaunchContext, ) -> *mut *mut c_char9482 pub fn g_app_launch_context_get_environment( 9483 context: *mut GAppLaunchContext, 9484 ) -> *mut *mut c_char; g_app_launch_context_get_startup_notify_id( context: *mut GAppLaunchContext, info: *mut GAppInfo, files: *mut glib::GList, ) -> *mut c_char9485 pub fn g_app_launch_context_get_startup_notify_id( 9486 context: *mut GAppLaunchContext, 9487 info: *mut GAppInfo, 9488 files: *mut glib::GList, 9489 ) -> *mut c_char; g_app_launch_context_launch_failed( context: *mut GAppLaunchContext, startup_notify_id: *const c_char, )9490 pub fn g_app_launch_context_launch_failed( 9491 context: *mut GAppLaunchContext, 9492 startup_notify_id: *const c_char, 9493 ); g_app_launch_context_setenv( context: *mut GAppLaunchContext, variable: *const c_char, value: *const c_char, )9494 pub fn g_app_launch_context_setenv( 9495 context: *mut GAppLaunchContext, 9496 variable: *const c_char, 9497 value: *const c_char, 9498 ); g_app_launch_context_unsetenv(context: *mut GAppLaunchContext, variable: *const c_char)9499 pub fn g_app_launch_context_unsetenv(context: *mut GAppLaunchContext, variable: *const c_char); 9500 9501 //========================================================================= 9502 // GApplication 9503 //========================================================================= g_application_get_type() -> GType9504 pub fn g_application_get_type() -> GType; g_application_new( application_id: *const c_char, flags: GApplicationFlags, ) -> *mut GApplication9505 pub fn g_application_new( 9506 application_id: *const c_char, 9507 flags: GApplicationFlags, 9508 ) -> *mut GApplication; g_application_get_default() -> *mut GApplication9509 pub fn g_application_get_default() -> *mut GApplication; g_application_id_is_valid(application_id: *const c_char) -> gboolean9510 pub fn g_application_id_is_valid(application_id: *const c_char) -> gboolean; g_application_activate(application: *mut GApplication)9511 pub fn g_application_activate(application: *mut GApplication); g_application_add_main_option( application: *mut GApplication, long_name: *const c_char, short_name: c_char, flags: glib::GOptionFlags, arg: glib::GOptionArg, description: *const c_char, arg_description: *const c_char, )9512 pub fn g_application_add_main_option( 9513 application: *mut GApplication, 9514 long_name: *const c_char, 9515 short_name: c_char, 9516 flags: glib::GOptionFlags, 9517 arg: glib::GOptionArg, 9518 description: *const c_char, 9519 arg_description: *const c_char, 9520 ); g_application_add_main_option_entries( application: *mut GApplication, entries: *const glib::GOptionEntry, )9521 pub fn g_application_add_main_option_entries( 9522 application: *mut GApplication, 9523 entries: *const glib::GOptionEntry, 9524 ); g_application_add_option_group( application: *mut GApplication, group: *mut glib::GOptionGroup, )9525 pub fn g_application_add_option_group( 9526 application: *mut GApplication, 9527 group: *mut glib::GOptionGroup, 9528 ); g_application_bind_busy_property( application: *mut GApplication, object: *mut gobject::GObject, property: *const c_char, )9529 pub fn g_application_bind_busy_property( 9530 application: *mut GApplication, 9531 object: *mut gobject::GObject, 9532 property: *const c_char, 9533 ); g_application_get_application_id(application: *mut GApplication) -> *const c_char9534 pub fn g_application_get_application_id(application: *mut GApplication) -> *const c_char; g_application_get_dbus_connection( application: *mut GApplication, ) -> *mut GDBusConnection9535 pub fn g_application_get_dbus_connection( 9536 application: *mut GApplication, 9537 ) -> *mut GDBusConnection; g_application_get_dbus_object_path(application: *mut GApplication) -> *const c_char9538 pub fn g_application_get_dbus_object_path(application: *mut GApplication) -> *const c_char; g_application_get_flags(application: *mut GApplication) -> GApplicationFlags9539 pub fn g_application_get_flags(application: *mut GApplication) -> GApplicationFlags; g_application_get_inactivity_timeout(application: *mut GApplication) -> c_uint9540 pub fn g_application_get_inactivity_timeout(application: *mut GApplication) -> c_uint; g_application_get_is_busy(application: *mut GApplication) -> gboolean9541 pub fn g_application_get_is_busy(application: *mut GApplication) -> gboolean; g_application_get_is_registered(application: *mut GApplication) -> gboolean9542 pub fn g_application_get_is_registered(application: *mut GApplication) -> gboolean; g_application_get_is_remote(application: *mut GApplication) -> gboolean9543 pub fn g_application_get_is_remote(application: *mut GApplication) -> gboolean; g_application_get_resource_base_path(application: *mut GApplication) -> *const c_char9544 pub fn g_application_get_resource_base_path(application: *mut GApplication) -> *const c_char; g_application_hold(application: *mut GApplication)9545 pub fn g_application_hold(application: *mut GApplication); g_application_mark_busy(application: *mut GApplication)9546 pub fn g_application_mark_busy(application: *mut GApplication); g_application_open( application: *mut GApplication, files: *mut *mut GFile, n_files: c_int, hint: *const c_char, )9547 pub fn g_application_open( 9548 application: *mut GApplication, 9549 files: *mut *mut GFile, 9550 n_files: c_int, 9551 hint: *const c_char, 9552 ); g_application_quit(application: *mut GApplication)9553 pub fn g_application_quit(application: *mut GApplication); g_application_register( application: *mut GApplication, cancellable: *mut GCancellable, error: *mut *mut glib::GError, ) -> gboolean9554 pub fn g_application_register( 9555 application: *mut GApplication, 9556 cancellable: *mut GCancellable, 9557 error: *mut *mut glib::GError, 9558 ) -> gboolean; g_application_release(application: *mut GApplication)9559 pub fn g_application_release(application: *mut GApplication); g_application_run( application: *mut GApplication, argc: c_int, argv: *mut *mut c_char, ) -> c_int9560 pub fn g_application_run( 9561 application: *mut GApplication, 9562 argc: c_int, 9563 argv: *mut *mut c_char, 9564 ) -> c_int; g_application_send_notification( application: *mut GApplication, id: *const c_char, notification: *mut GNotification, )9565 pub fn g_application_send_notification( 9566 application: *mut GApplication, 9567 id: *const c_char, 9568 notification: *mut GNotification, 9569 ); g_application_set_action_group( application: *mut GApplication, action_group: *mut GActionGroup, )9570 pub fn g_application_set_action_group( 9571 application: *mut GApplication, 9572 action_group: *mut GActionGroup, 9573 ); g_application_set_application_id( application: *mut GApplication, application_id: *const c_char, )9574 pub fn g_application_set_application_id( 9575 application: *mut GApplication, 9576 application_id: *const c_char, 9577 ); g_application_set_default(application: *mut GApplication)9578 pub fn g_application_set_default(application: *mut GApplication); g_application_set_flags(application: *mut GApplication, flags: GApplicationFlags)9579 pub fn g_application_set_flags(application: *mut GApplication, flags: GApplicationFlags); g_application_set_inactivity_timeout( application: *mut GApplication, inactivity_timeout: c_uint, )9580 pub fn g_application_set_inactivity_timeout( 9581 application: *mut GApplication, 9582 inactivity_timeout: c_uint, 9583 ); 9584 #[cfg(any(feature = "v2_56", feature = "dox"))] 9585 #[cfg_attr(feature = "dox", doc(cfg(feature = "v2_56")))] g_application_set_option_context_description( application: *mut GApplication, description: *const c_char, )9586 pub fn g_application_set_option_context_description( 9587 application: *mut GApplication, 9588 description: *const c_char, 9589 ); 9590 #[cfg(any(feature = "v2_56", feature = "dox"))] 9591 #[cfg_attr(feature = "dox", doc(cfg(feature = "v2_56")))] g_application_set_option_context_parameter_string( application: *mut GApplication, parameter_string: *const c_char, )9592 pub fn g_application_set_option_context_parameter_string( 9593 application: *mut GApplication, 9594 parameter_string: *const c_char, 9595 ); 9596 #[cfg(any(feature = "v2_56", feature = "dox"))] 9597 #[cfg_attr(feature = "dox", doc(cfg(feature = "v2_56")))] g_application_set_option_context_summary( application: *mut GApplication, summary: *const c_char, )9598 pub fn g_application_set_option_context_summary( 9599 application: *mut GApplication, 9600 summary: *const c_char, 9601 ); g_application_set_resource_base_path( application: *mut GApplication, resource_path: *const c_char, )9602 pub fn g_application_set_resource_base_path( 9603 application: *mut GApplication, 9604 resource_path: *const c_char, 9605 ); g_application_unbind_busy_property( application: *mut GApplication, object: *mut gobject::GObject, property: *const c_char, )9606 pub fn g_application_unbind_busy_property( 9607 application: *mut GApplication, 9608 object: *mut gobject::GObject, 9609 property: *const c_char, 9610 ); g_application_unmark_busy(application: *mut GApplication)9611 pub fn g_application_unmark_busy(application: *mut GApplication); g_application_withdraw_notification(application: *mut GApplication, id: *const c_char)9612 pub fn g_application_withdraw_notification(application: *mut GApplication, id: *const c_char); 9613 9614 //========================================================================= 9615 // GApplicationCommandLine 9616 //========================================================================= g_application_command_line_get_type() -> GType9617 pub fn g_application_command_line_get_type() -> GType; g_application_command_line_create_file_for_arg( cmdline: *mut GApplicationCommandLine, arg: *const c_char, ) -> *mut GFile9618 pub fn g_application_command_line_create_file_for_arg( 9619 cmdline: *mut GApplicationCommandLine, 9620 arg: *const c_char, 9621 ) -> *mut GFile; g_application_command_line_get_arguments( cmdline: *mut GApplicationCommandLine, argc: *mut c_int, ) -> *mut *mut c_char9622 pub fn g_application_command_line_get_arguments( 9623 cmdline: *mut GApplicationCommandLine, 9624 argc: *mut c_int, 9625 ) -> *mut *mut c_char; g_application_command_line_get_cwd( cmdline: *mut GApplicationCommandLine, ) -> *const c_char9626 pub fn g_application_command_line_get_cwd( 9627 cmdline: *mut GApplicationCommandLine, 9628 ) -> *const c_char; g_application_command_line_get_environ( cmdline: *mut GApplicationCommandLine, ) -> *const *const c_char9629 pub fn g_application_command_line_get_environ( 9630 cmdline: *mut GApplicationCommandLine, 9631 ) -> *const *const c_char; g_application_command_line_get_exit_status( cmdline: *mut GApplicationCommandLine, ) -> c_int9632 pub fn g_application_command_line_get_exit_status( 9633 cmdline: *mut GApplicationCommandLine, 9634 ) -> c_int; g_application_command_line_get_is_remote( cmdline: *mut GApplicationCommandLine, ) -> gboolean9635 pub fn g_application_command_line_get_is_remote( 9636 cmdline: *mut GApplicationCommandLine, 9637 ) -> gboolean; g_application_command_line_get_options_dict( cmdline: *mut GApplicationCommandLine, ) -> *mut glib::GVariantDict9638 pub fn g_application_command_line_get_options_dict( 9639 cmdline: *mut GApplicationCommandLine, 9640 ) -> *mut glib::GVariantDict; g_application_command_line_get_platform_data( cmdline: *mut GApplicationCommandLine, ) -> *mut glib::GVariant9641 pub fn g_application_command_line_get_platform_data( 9642 cmdline: *mut GApplicationCommandLine, 9643 ) -> *mut glib::GVariant; g_application_command_line_get_stdin( cmdline: *mut GApplicationCommandLine, ) -> *mut GInputStream9644 pub fn g_application_command_line_get_stdin( 9645 cmdline: *mut GApplicationCommandLine, 9646 ) -> *mut GInputStream; g_application_command_line_getenv( cmdline: *mut GApplicationCommandLine, name: *const c_char, ) -> *const c_char9647 pub fn g_application_command_line_getenv( 9648 cmdline: *mut GApplicationCommandLine, 9649 name: *const c_char, 9650 ) -> *const c_char; g_application_command_line_print( cmdline: *mut GApplicationCommandLine, format: *const c_char, ... )9651 pub fn g_application_command_line_print( 9652 cmdline: *mut GApplicationCommandLine, 9653 format: *const c_char, 9654 ... 9655 ); g_application_command_line_printerr( cmdline: *mut GApplicationCommandLine, format: *const c_char, ... )9656 pub fn g_application_command_line_printerr( 9657 cmdline: *mut GApplicationCommandLine, 9658 format: *const c_char, 9659 ... 9660 ); g_application_command_line_set_exit_status( cmdline: *mut GApplicationCommandLine, exit_status: c_int, )9661 pub fn g_application_command_line_set_exit_status( 9662 cmdline: *mut GApplicationCommandLine, 9663 exit_status: c_int, 9664 ); 9665 9666 //========================================================================= 9667 // GBufferedInputStream 9668 //========================================================================= g_buffered_input_stream_get_type() -> GType9669 pub fn g_buffered_input_stream_get_type() -> GType; g_buffered_input_stream_new(base_stream: *mut GInputStream) -> *mut GInputStream9670 pub fn g_buffered_input_stream_new(base_stream: *mut GInputStream) -> *mut GInputStream; g_buffered_input_stream_new_sized( base_stream: *mut GInputStream, size: size_t, ) -> *mut GInputStream9671 pub fn g_buffered_input_stream_new_sized( 9672 base_stream: *mut GInputStream, 9673 size: size_t, 9674 ) -> *mut GInputStream; g_buffered_input_stream_fill( stream: *mut GBufferedInputStream, count: ssize_t, cancellable: *mut GCancellable, error: *mut *mut glib::GError, ) -> ssize_t9675 pub fn g_buffered_input_stream_fill( 9676 stream: *mut GBufferedInputStream, 9677 count: ssize_t, 9678 cancellable: *mut GCancellable, 9679 error: *mut *mut glib::GError, 9680 ) -> ssize_t; g_buffered_input_stream_fill_async( stream: *mut GBufferedInputStream, count: ssize_t, io_priority: c_int, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer, )9681 pub fn g_buffered_input_stream_fill_async( 9682 stream: *mut GBufferedInputStream, 9683 count: ssize_t, 9684 io_priority: c_int, 9685 cancellable: *mut GCancellable, 9686 callback: GAsyncReadyCallback, 9687 user_data: gpointer, 9688 ); g_buffered_input_stream_fill_finish( stream: *mut GBufferedInputStream, result: *mut GAsyncResult, error: *mut *mut glib::GError, ) -> ssize_t9689 pub fn g_buffered_input_stream_fill_finish( 9690 stream: *mut GBufferedInputStream, 9691 result: *mut GAsyncResult, 9692 error: *mut *mut glib::GError, 9693 ) -> ssize_t; g_buffered_input_stream_get_available(stream: *mut GBufferedInputStream) -> size_t9694 pub fn g_buffered_input_stream_get_available(stream: *mut GBufferedInputStream) -> size_t; g_buffered_input_stream_get_buffer_size(stream: *mut GBufferedInputStream) -> size_t9695 pub fn g_buffered_input_stream_get_buffer_size(stream: *mut GBufferedInputStream) -> size_t; g_buffered_input_stream_peek( stream: *mut GBufferedInputStream, buffer: *mut u8, offset: size_t, count: size_t, ) -> size_t9696 pub fn g_buffered_input_stream_peek( 9697 stream: *mut GBufferedInputStream, 9698 buffer: *mut u8, 9699 offset: size_t, 9700 count: size_t, 9701 ) -> size_t; g_buffered_input_stream_peek_buffer( stream: *mut GBufferedInputStream, count: *mut size_t, ) -> *mut u89702 pub fn g_buffered_input_stream_peek_buffer( 9703 stream: *mut GBufferedInputStream, 9704 count: *mut size_t, 9705 ) -> *mut u8; g_buffered_input_stream_read_byte( stream: *mut GBufferedInputStream, cancellable: *mut GCancellable, error: *mut *mut glib::GError, ) -> c_int9706 pub fn g_buffered_input_stream_read_byte( 9707 stream: *mut GBufferedInputStream, 9708 cancellable: *mut GCancellable, 9709 error: *mut *mut glib::GError, 9710 ) -> c_int; g_buffered_input_stream_set_buffer_size(stream: *mut GBufferedInputStream, size: size_t)9711 pub fn g_buffered_input_stream_set_buffer_size(stream: *mut GBufferedInputStream, size: size_t); 9712 9713 //========================================================================= 9714 // GBufferedOutputStream 9715 //========================================================================= g_buffered_output_stream_get_type() -> GType9716 pub fn g_buffered_output_stream_get_type() -> GType; g_buffered_output_stream_new(base_stream: *mut GOutputStream) -> *mut GOutputStream9717 pub fn g_buffered_output_stream_new(base_stream: *mut GOutputStream) -> *mut GOutputStream; g_buffered_output_stream_new_sized( base_stream: *mut GOutputStream, size: size_t, ) -> *mut GOutputStream9718 pub fn g_buffered_output_stream_new_sized( 9719 base_stream: *mut GOutputStream, 9720 size: size_t, 9721 ) -> *mut GOutputStream; g_buffered_output_stream_get_auto_grow(stream: *mut GBufferedOutputStream) -> gboolean9722 pub fn g_buffered_output_stream_get_auto_grow(stream: *mut GBufferedOutputStream) -> gboolean; g_buffered_output_stream_get_buffer_size(stream: *mut GBufferedOutputStream) -> size_t9723 pub fn g_buffered_output_stream_get_buffer_size(stream: *mut GBufferedOutputStream) -> size_t; g_buffered_output_stream_set_auto_grow( stream: *mut GBufferedOutputStream, auto_grow: gboolean, )9724 pub fn g_buffered_output_stream_set_auto_grow( 9725 stream: *mut GBufferedOutputStream, 9726 auto_grow: gboolean, 9727 ); g_buffered_output_stream_set_buffer_size( stream: *mut GBufferedOutputStream, size: size_t, )9728 pub fn g_buffered_output_stream_set_buffer_size( 9729 stream: *mut GBufferedOutputStream, 9730 size: size_t, 9731 ); 9732 9733 //========================================================================= 9734 // GBytesIcon 9735 //========================================================================= g_bytes_icon_get_type() -> GType9736 pub fn g_bytes_icon_get_type() -> GType; g_bytes_icon_new(bytes: *mut glib::GBytes) -> *mut GBytesIcon9737 pub fn g_bytes_icon_new(bytes: *mut glib::GBytes) -> *mut GBytesIcon; g_bytes_icon_get_bytes(icon: *mut GBytesIcon) -> *mut glib::GBytes9738 pub fn g_bytes_icon_get_bytes(icon: *mut GBytesIcon) -> *mut glib::GBytes; 9739 9740 //========================================================================= 9741 // GCancellable 9742 //========================================================================= g_cancellable_get_type() -> GType9743 pub fn g_cancellable_get_type() -> GType; g_cancellable_new() -> *mut GCancellable9744 pub fn g_cancellable_new() -> *mut GCancellable; g_cancellable_get_current() -> *mut GCancellable9745 pub fn g_cancellable_get_current() -> *mut GCancellable; g_cancellable_cancel(cancellable: *mut GCancellable)9746 pub fn g_cancellable_cancel(cancellable: *mut GCancellable); g_cancellable_connect( cancellable: *mut GCancellable, callback: gobject::GCallback, data: gpointer, data_destroy_func: glib::GDestroyNotify, ) -> c_ulong9747 pub fn g_cancellable_connect( 9748 cancellable: *mut GCancellable, 9749 callback: gobject::GCallback, 9750 data: gpointer, 9751 data_destroy_func: glib::GDestroyNotify, 9752 ) -> c_ulong; g_cancellable_disconnect(cancellable: *mut GCancellable, handler_id: c_ulong)9753 pub fn g_cancellable_disconnect(cancellable: *mut GCancellable, handler_id: c_ulong); g_cancellable_get_fd(cancellable: *mut GCancellable) -> c_int9754 pub fn g_cancellable_get_fd(cancellable: *mut GCancellable) -> c_int; g_cancellable_is_cancelled(cancellable: *mut GCancellable) -> gboolean9755 pub fn g_cancellable_is_cancelled(cancellable: *mut GCancellable) -> gboolean; g_cancellable_make_pollfd( cancellable: *mut GCancellable, pollfd: *mut glib::GPollFD, ) -> gboolean9756 pub fn g_cancellable_make_pollfd( 9757 cancellable: *mut GCancellable, 9758 pollfd: *mut glib::GPollFD, 9759 ) -> gboolean; g_cancellable_pop_current(cancellable: *mut GCancellable)9760 pub fn g_cancellable_pop_current(cancellable: *mut GCancellable); g_cancellable_push_current(cancellable: *mut GCancellable)9761 pub fn g_cancellable_push_current(cancellable: *mut GCancellable); g_cancellable_release_fd(cancellable: *mut GCancellable)9762 pub fn g_cancellable_release_fd(cancellable: *mut GCancellable); g_cancellable_reset(cancellable: *mut GCancellable)9763 pub fn g_cancellable_reset(cancellable: *mut GCancellable); g_cancellable_set_error_if_cancelled( cancellable: *mut GCancellable, error: *mut *mut glib::GError, ) -> gboolean9764 pub fn g_cancellable_set_error_if_cancelled( 9765 cancellable: *mut GCancellable, 9766 error: *mut *mut glib::GError, 9767 ) -> gboolean; g_cancellable_source_new(cancellable: *mut GCancellable) -> *mut glib::GSource9768 pub fn g_cancellable_source_new(cancellable: *mut GCancellable) -> *mut glib::GSource; 9769 9770 //========================================================================= 9771 // GCharsetConverter 9772 //========================================================================= g_charset_converter_get_type() -> GType9773 pub fn g_charset_converter_get_type() -> GType; g_charset_converter_new( to_charset: *const c_char, from_charset: *const c_char, error: *mut *mut glib::GError, ) -> *mut GCharsetConverter9774 pub fn g_charset_converter_new( 9775 to_charset: *const c_char, 9776 from_charset: *const c_char, 9777 error: *mut *mut glib::GError, 9778 ) -> *mut GCharsetConverter; g_charset_converter_get_num_fallbacks(converter: *mut GCharsetConverter) -> c_uint9779 pub fn g_charset_converter_get_num_fallbacks(converter: *mut GCharsetConverter) -> c_uint; g_charset_converter_get_use_fallback(converter: *mut GCharsetConverter) -> gboolean9780 pub fn g_charset_converter_get_use_fallback(converter: *mut GCharsetConverter) -> gboolean; g_charset_converter_set_use_fallback( converter: *mut GCharsetConverter, use_fallback: gboolean, )9781 pub fn g_charset_converter_set_use_fallback( 9782 converter: *mut GCharsetConverter, 9783 use_fallback: gboolean, 9784 ); 9785 9786 //========================================================================= 9787 // GConverterInputStream 9788 //========================================================================= g_converter_input_stream_get_type() -> GType9789 pub fn g_converter_input_stream_get_type() -> GType; g_converter_input_stream_new( base_stream: *mut GInputStream, converter: *mut GConverter, ) -> *mut GInputStream9790 pub fn g_converter_input_stream_new( 9791 base_stream: *mut GInputStream, 9792 converter: *mut GConverter, 9793 ) -> *mut GInputStream; g_converter_input_stream_get_converter( converter_stream: *mut GConverterInputStream, ) -> *mut GConverter9794 pub fn g_converter_input_stream_get_converter( 9795 converter_stream: *mut GConverterInputStream, 9796 ) -> *mut GConverter; 9797 9798 //========================================================================= 9799 // GConverterOutputStream 9800 //========================================================================= g_converter_output_stream_get_type() -> GType9801 pub fn g_converter_output_stream_get_type() -> GType; g_converter_output_stream_new( base_stream: *mut GOutputStream, converter: *mut GConverter, ) -> *mut GOutputStream9802 pub fn g_converter_output_stream_new( 9803 base_stream: *mut GOutputStream, 9804 converter: *mut GConverter, 9805 ) -> *mut GOutputStream; g_converter_output_stream_get_converter( converter_stream: *mut GConverterOutputStream, ) -> *mut GConverter9806 pub fn g_converter_output_stream_get_converter( 9807 converter_stream: *mut GConverterOutputStream, 9808 ) -> *mut GConverter; 9809 9810 //========================================================================= 9811 // GCredentials 9812 //========================================================================= g_credentials_get_type() -> GType9813 pub fn g_credentials_get_type() -> GType; g_credentials_new() -> *mut GCredentials9814 pub fn g_credentials_new() -> *mut GCredentials; g_credentials_get_native( credentials: *mut GCredentials, native_type: GCredentialsType, ) -> gpointer9815 pub fn g_credentials_get_native( 9816 credentials: *mut GCredentials, 9817 native_type: GCredentialsType, 9818 ) -> gpointer; g_credentials_get_unix_pid( credentials: *mut GCredentials, error: *mut *mut glib::GError, ) -> c_int9819 pub fn g_credentials_get_unix_pid( 9820 credentials: *mut GCredentials, 9821 error: *mut *mut glib::GError, 9822 ) -> c_int; g_credentials_get_unix_user( credentials: *mut GCredentials, error: *mut *mut glib::GError, ) -> c_uint9823 pub fn g_credentials_get_unix_user( 9824 credentials: *mut GCredentials, 9825 error: *mut *mut glib::GError, 9826 ) -> c_uint; g_credentials_is_same_user( credentials: *mut GCredentials, other_credentials: *mut GCredentials, error: *mut *mut glib::GError, ) -> gboolean9827 pub fn g_credentials_is_same_user( 9828 credentials: *mut GCredentials, 9829 other_credentials: *mut GCredentials, 9830 error: *mut *mut glib::GError, 9831 ) -> gboolean; g_credentials_set_native( credentials: *mut GCredentials, native_type: GCredentialsType, native: gpointer, )9832 pub fn g_credentials_set_native( 9833 credentials: *mut GCredentials, 9834 native_type: GCredentialsType, 9835 native: gpointer, 9836 ); g_credentials_set_unix_user( credentials: *mut GCredentials, uid: c_uint, error: *mut *mut glib::GError, ) -> gboolean9837 pub fn g_credentials_set_unix_user( 9838 credentials: *mut GCredentials, 9839 uid: c_uint, 9840 error: *mut *mut glib::GError, 9841 ) -> gboolean; g_credentials_to_string(credentials: *mut GCredentials) -> *mut c_char9842 pub fn g_credentials_to_string(credentials: *mut GCredentials) -> *mut c_char; 9843 9844 //========================================================================= 9845 // GDBusActionGroup 9846 //========================================================================= g_dbus_action_group_get_type() -> GType9847 pub fn g_dbus_action_group_get_type() -> GType; g_dbus_action_group_get( connection: *mut GDBusConnection, bus_name: *const c_char, object_path: *const c_char, ) -> *mut GDBusActionGroup9848 pub fn g_dbus_action_group_get( 9849 connection: *mut GDBusConnection, 9850 bus_name: *const c_char, 9851 object_path: *const c_char, 9852 ) -> *mut GDBusActionGroup; 9853 9854 //========================================================================= 9855 // GDBusAuthObserver 9856 //========================================================================= g_dbus_auth_observer_get_type() -> GType9857 pub fn g_dbus_auth_observer_get_type() -> GType; g_dbus_auth_observer_new() -> *mut GDBusAuthObserver9858 pub fn g_dbus_auth_observer_new() -> *mut GDBusAuthObserver; g_dbus_auth_observer_allow_mechanism( observer: *mut GDBusAuthObserver, mechanism: *const c_char, ) -> gboolean9859 pub fn g_dbus_auth_observer_allow_mechanism( 9860 observer: *mut GDBusAuthObserver, 9861 mechanism: *const c_char, 9862 ) -> gboolean; g_dbus_auth_observer_authorize_authenticated_peer( observer: *mut GDBusAuthObserver, stream: *mut GIOStream, credentials: *mut GCredentials, ) -> gboolean9863 pub fn g_dbus_auth_observer_authorize_authenticated_peer( 9864 observer: *mut GDBusAuthObserver, 9865 stream: *mut GIOStream, 9866 credentials: *mut GCredentials, 9867 ) -> gboolean; 9868 9869 //========================================================================= 9870 // GDBusConnection 9871 //========================================================================= g_dbus_connection_get_type() -> GType9872 pub fn g_dbus_connection_get_type() -> GType; g_dbus_connection_new_finish( res: *mut GAsyncResult, error: *mut *mut glib::GError, ) -> *mut GDBusConnection9873 pub fn g_dbus_connection_new_finish( 9874 res: *mut GAsyncResult, 9875 error: *mut *mut glib::GError, 9876 ) -> *mut GDBusConnection; g_dbus_connection_new_for_address_finish( res: *mut GAsyncResult, error: *mut *mut glib::GError, ) -> *mut GDBusConnection9877 pub fn g_dbus_connection_new_for_address_finish( 9878 res: *mut GAsyncResult, 9879 error: *mut *mut glib::GError, 9880 ) -> *mut GDBusConnection; g_dbus_connection_new_for_address_sync( address: *const c_char, flags: GDBusConnectionFlags, observer: *mut GDBusAuthObserver, cancellable: *mut GCancellable, error: *mut *mut glib::GError, ) -> *mut GDBusConnection9881 pub fn g_dbus_connection_new_for_address_sync( 9882 address: *const c_char, 9883 flags: GDBusConnectionFlags, 9884 observer: *mut GDBusAuthObserver, 9885 cancellable: *mut GCancellable, 9886 error: *mut *mut glib::GError, 9887 ) -> *mut GDBusConnection; g_dbus_connection_new_sync( stream: *mut GIOStream, guid: *const c_char, flags: GDBusConnectionFlags, observer: *mut GDBusAuthObserver, cancellable: *mut GCancellable, error: *mut *mut glib::GError, ) -> *mut GDBusConnection9888 pub fn g_dbus_connection_new_sync( 9889 stream: *mut GIOStream, 9890 guid: *const c_char, 9891 flags: GDBusConnectionFlags, 9892 observer: *mut GDBusAuthObserver, 9893 cancellable: *mut GCancellable, 9894 error: *mut *mut glib::GError, 9895 ) -> *mut GDBusConnection; g_dbus_connection_new( stream: *mut GIOStream, guid: *const c_char, flags: GDBusConnectionFlags, observer: *mut GDBusAuthObserver, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer, )9896 pub fn g_dbus_connection_new( 9897 stream: *mut GIOStream, 9898 guid: *const c_char, 9899 flags: GDBusConnectionFlags, 9900 observer: *mut GDBusAuthObserver, 9901 cancellable: *mut GCancellable, 9902 callback: GAsyncReadyCallback, 9903 user_data: gpointer, 9904 ); g_dbus_connection_new_for_address( address: *const c_char, flags: GDBusConnectionFlags, observer: *mut GDBusAuthObserver, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer, )9905 pub fn g_dbus_connection_new_for_address( 9906 address: *const c_char, 9907 flags: GDBusConnectionFlags, 9908 observer: *mut GDBusAuthObserver, 9909 cancellable: *mut GCancellable, 9910 callback: GAsyncReadyCallback, 9911 user_data: gpointer, 9912 ); g_dbus_connection_add_filter( connection: *mut GDBusConnection, filter_function: GDBusMessageFilterFunction, user_data: gpointer, user_data_free_func: glib::GDestroyNotify, ) -> c_uint9913 pub fn g_dbus_connection_add_filter( 9914 connection: *mut GDBusConnection, 9915 filter_function: GDBusMessageFilterFunction, 9916 user_data: gpointer, 9917 user_data_free_func: glib::GDestroyNotify, 9918 ) -> c_uint; g_dbus_connection_call( connection: *mut GDBusConnection, bus_name: *const c_char, object_path: *const c_char, interface_name: *const c_char, method_name: *const c_char, parameters: *mut glib::GVariant, reply_type: *const glib::GVariantType, flags: GDBusCallFlags, timeout_msec: c_int, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer, )9919 pub fn g_dbus_connection_call( 9920 connection: *mut GDBusConnection, 9921 bus_name: *const c_char, 9922 object_path: *const c_char, 9923 interface_name: *const c_char, 9924 method_name: *const c_char, 9925 parameters: *mut glib::GVariant, 9926 reply_type: *const glib::GVariantType, 9927 flags: GDBusCallFlags, 9928 timeout_msec: c_int, 9929 cancellable: *mut GCancellable, 9930 callback: GAsyncReadyCallback, 9931 user_data: gpointer, 9932 ); g_dbus_connection_call_finish( connection: *mut GDBusConnection, res: *mut GAsyncResult, error: *mut *mut glib::GError, ) -> *mut glib::GVariant9933 pub fn g_dbus_connection_call_finish( 9934 connection: *mut GDBusConnection, 9935 res: *mut GAsyncResult, 9936 error: *mut *mut glib::GError, 9937 ) -> *mut glib::GVariant; g_dbus_connection_call_sync( connection: *mut GDBusConnection, bus_name: *const c_char, object_path: *const c_char, interface_name: *const c_char, method_name: *const c_char, parameters: *mut glib::GVariant, reply_type: *const glib::GVariantType, flags: GDBusCallFlags, timeout_msec: c_int, cancellable: *mut GCancellable, error: *mut *mut glib::GError, ) -> *mut glib::GVariant9938 pub fn g_dbus_connection_call_sync( 9939 connection: *mut GDBusConnection, 9940 bus_name: *const c_char, 9941 object_path: *const c_char, 9942 interface_name: *const c_char, 9943 method_name: *const c_char, 9944 parameters: *mut glib::GVariant, 9945 reply_type: *const glib::GVariantType, 9946 flags: GDBusCallFlags, 9947 timeout_msec: c_int, 9948 cancellable: *mut GCancellable, 9949 error: *mut *mut glib::GError, 9950 ) -> *mut glib::GVariant; g_dbus_connection_call_with_unix_fd_list( connection: *mut GDBusConnection, bus_name: *const c_char, object_path: *const c_char, interface_name: *const c_char, method_name: *const c_char, parameters: *mut glib::GVariant, reply_type: *const glib::GVariantType, flags: GDBusCallFlags, timeout_msec: c_int, fd_list: *mut GUnixFDList, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer, )9951 pub fn g_dbus_connection_call_with_unix_fd_list( 9952 connection: *mut GDBusConnection, 9953 bus_name: *const c_char, 9954 object_path: *const c_char, 9955 interface_name: *const c_char, 9956 method_name: *const c_char, 9957 parameters: *mut glib::GVariant, 9958 reply_type: *const glib::GVariantType, 9959 flags: GDBusCallFlags, 9960 timeout_msec: c_int, 9961 fd_list: *mut GUnixFDList, 9962 cancellable: *mut GCancellable, 9963 callback: GAsyncReadyCallback, 9964 user_data: gpointer, 9965 ); g_dbus_connection_call_with_unix_fd_list_finish( connection: *mut GDBusConnection, out_fd_list: *mut *mut GUnixFDList, res: *mut GAsyncResult, error: *mut *mut glib::GError, ) -> *mut glib::GVariant9966 pub fn g_dbus_connection_call_with_unix_fd_list_finish( 9967 connection: *mut GDBusConnection, 9968 out_fd_list: *mut *mut GUnixFDList, 9969 res: *mut GAsyncResult, 9970 error: *mut *mut glib::GError, 9971 ) -> *mut glib::GVariant; g_dbus_connection_call_with_unix_fd_list_sync( connection: *mut GDBusConnection, bus_name: *const c_char, object_path: *const c_char, interface_name: *const c_char, method_name: *const c_char, parameters: *mut glib::GVariant, reply_type: *const glib::GVariantType, flags: GDBusCallFlags, timeout_msec: c_int, fd_list: *mut GUnixFDList, out_fd_list: *mut *mut GUnixFDList, cancellable: *mut GCancellable, error: *mut *mut glib::GError, ) -> *mut glib::GVariant9972 pub fn g_dbus_connection_call_with_unix_fd_list_sync( 9973 connection: *mut GDBusConnection, 9974 bus_name: *const c_char, 9975 object_path: *const c_char, 9976 interface_name: *const c_char, 9977 method_name: *const c_char, 9978 parameters: *mut glib::GVariant, 9979 reply_type: *const glib::GVariantType, 9980 flags: GDBusCallFlags, 9981 timeout_msec: c_int, 9982 fd_list: *mut GUnixFDList, 9983 out_fd_list: *mut *mut GUnixFDList, 9984 cancellable: *mut GCancellable, 9985 error: *mut *mut glib::GError, 9986 ) -> *mut glib::GVariant; g_dbus_connection_close( connection: *mut GDBusConnection, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer, )9987 pub fn g_dbus_connection_close( 9988 connection: *mut GDBusConnection, 9989 cancellable: *mut GCancellable, 9990 callback: GAsyncReadyCallback, 9991 user_data: gpointer, 9992 ); g_dbus_connection_close_finish( connection: *mut GDBusConnection, res: *mut GAsyncResult, error: *mut *mut glib::GError, ) -> gboolean9993 pub fn g_dbus_connection_close_finish( 9994 connection: *mut GDBusConnection, 9995 res: *mut GAsyncResult, 9996 error: *mut *mut glib::GError, 9997 ) -> gboolean; g_dbus_connection_close_sync( connection: *mut GDBusConnection, cancellable: *mut GCancellable, error: *mut *mut glib::GError, ) -> gboolean9998 pub fn g_dbus_connection_close_sync( 9999 connection: *mut GDBusConnection, 10000 cancellable: *mut GCancellable, 10001 error: *mut *mut glib::GError, 10002 ) -> gboolean; g_dbus_connection_emit_signal( connection: *mut GDBusConnection, destination_bus_name: *const c_char, object_path: *const c_char, interface_name: *const c_char, signal_name: *const c_char, parameters: *mut glib::GVariant, error: *mut *mut glib::GError, ) -> gboolean10003 pub fn g_dbus_connection_emit_signal( 10004 connection: *mut GDBusConnection, 10005 destination_bus_name: *const c_char, 10006 object_path: *const c_char, 10007 interface_name: *const c_char, 10008 signal_name: *const c_char, 10009 parameters: *mut glib::GVariant, 10010 error: *mut *mut glib::GError, 10011 ) -> gboolean; g_dbus_connection_export_action_group( connection: *mut GDBusConnection, object_path: *const c_char, action_group: *mut GActionGroup, error: *mut *mut glib::GError, ) -> c_uint10012 pub fn g_dbus_connection_export_action_group( 10013 connection: *mut GDBusConnection, 10014 object_path: *const c_char, 10015 action_group: *mut GActionGroup, 10016 error: *mut *mut glib::GError, 10017 ) -> c_uint; g_dbus_connection_export_menu_model( connection: *mut GDBusConnection, object_path: *const c_char, menu: *mut GMenuModel, error: *mut *mut glib::GError, ) -> c_uint10018 pub fn g_dbus_connection_export_menu_model( 10019 connection: *mut GDBusConnection, 10020 object_path: *const c_char, 10021 menu: *mut GMenuModel, 10022 error: *mut *mut glib::GError, 10023 ) -> c_uint; g_dbus_connection_flush( connection: *mut GDBusConnection, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer, )10024 pub fn g_dbus_connection_flush( 10025 connection: *mut GDBusConnection, 10026 cancellable: *mut GCancellable, 10027 callback: GAsyncReadyCallback, 10028 user_data: gpointer, 10029 ); g_dbus_connection_flush_finish( connection: *mut GDBusConnection, res: *mut GAsyncResult, error: *mut *mut glib::GError, ) -> gboolean10030 pub fn g_dbus_connection_flush_finish( 10031 connection: *mut GDBusConnection, 10032 res: *mut GAsyncResult, 10033 error: *mut *mut glib::GError, 10034 ) -> gboolean; g_dbus_connection_flush_sync( connection: *mut GDBusConnection, cancellable: *mut GCancellable, error: *mut *mut glib::GError, ) -> gboolean10035 pub fn g_dbus_connection_flush_sync( 10036 connection: *mut GDBusConnection, 10037 cancellable: *mut GCancellable, 10038 error: *mut *mut glib::GError, 10039 ) -> gboolean; g_dbus_connection_get_capabilities( connection: *mut GDBusConnection, ) -> GDBusCapabilityFlags10040 pub fn g_dbus_connection_get_capabilities( 10041 connection: *mut GDBusConnection, 10042 ) -> GDBusCapabilityFlags; g_dbus_connection_get_exit_on_close(connection: *mut GDBusConnection) -> gboolean10043