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 )] 11 12 extern crate glib_sys as glib; 13 extern crate gobject_sys as gobject; 14 extern crate libc; 15 16 #[allow(unused_imports)] 17 use libc::{ 18 c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, 19 intptr_t, size_t, ssize_t, time_t, uintptr_t, FILE, 20 }; 21 22 #[allow(unused_imports)] 23 use glib::{gboolean, gconstpointer, gpointer, GType}; 24 25 // Enums 26 pub type GBusType = c_int; 27 pub const G_BUS_TYPE_STARTER: GBusType = -1; 28 pub const G_BUS_TYPE_NONE: GBusType = 0; 29 pub const G_BUS_TYPE_SYSTEM: GBusType = 1; 30 pub const G_BUS_TYPE_SESSION: GBusType = 2; 31 32 pub type GConverterResult = c_int; 33 pub const G_CONVERTER_ERROR: GConverterResult = 0; 34 pub const G_CONVERTER_CONVERTED: GConverterResult = 1; 35 pub const G_CONVERTER_FINISHED: GConverterResult = 2; 36 pub const G_CONVERTER_FLUSHED: GConverterResult = 3; 37 38 pub type GCredentialsType = c_int; 39 pub const G_CREDENTIALS_TYPE_INVALID: GCredentialsType = 0; 40 pub const G_CREDENTIALS_TYPE_LINUX_UCRED: GCredentialsType = 1; 41 pub const G_CREDENTIALS_TYPE_FREEBSD_CMSGCRED: GCredentialsType = 2; 42 pub const G_CREDENTIALS_TYPE_OPENBSD_SOCKPEERCRED: GCredentialsType = 3; 43 pub const G_CREDENTIALS_TYPE_SOLARIS_UCRED: GCredentialsType = 4; 44 pub const G_CREDENTIALS_TYPE_NETBSD_UNPCBID: GCredentialsType = 5; 45 46 pub type GDBusError = c_int; 47 pub const G_DBUS_ERROR_FAILED: GDBusError = 0; 48 pub const G_DBUS_ERROR_NO_MEMORY: GDBusError = 1; 49 pub const G_DBUS_ERROR_SERVICE_UNKNOWN: GDBusError = 2; 50 pub const G_DBUS_ERROR_NAME_HAS_NO_OWNER: GDBusError = 3; 51 pub const G_DBUS_ERROR_NO_REPLY: GDBusError = 4; 52 pub const G_DBUS_ERROR_IO_ERROR: GDBusError = 5; 53 pub const G_DBUS_ERROR_BAD_ADDRESS: GDBusError = 6; 54 pub const G_DBUS_ERROR_NOT_SUPPORTED: GDBusError = 7; 55 pub const G_DBUS_ERROR_LIMITS_EXCEEDED: GDBusError = 8; 56 pub const G_DBUS_ERROR_ACCESS_DENIED: GDBusError = 9; 57 pub const G_DBUS_ERROR_AUTH_FAILED: GDBusError = 10; 58 pub const G_DBUS_ERROR_NO_SERVER: GDBusError = 11; 59 pub const G_DBUS_ERROR_TIMEOUT: GDBusError = 12; 60 pub const G_DBUS_ERROR_NO_NETWORK: GDBusError = 13; 61 pub const G_DBUS_ERROR_ADDRESS_IN_USE: GDBusError = 14; 62 pub const G_DBUS_ERROR_DISCONNECTED: GDBusError = 15; 63 pub const G_DBUS_ERROR_INVALID_ARGS: GDBusError = 16; 64 pub const G_DBUS_ERROR_FILE_NOT_FOUND: GDBusError = 17; 65 pub const G_DBUS_ERROR_FILE_EXISTS: GDBusError = 18; 66 pub const G_DBUS_ERROR_UNKNOWN_METHOD: GDBusError = 19; 67 pub const G_DBUS_ERROR_TIMED_OUT: GDBusError = 20; 68 pub const G_DBUS_ERROR_MATCH_RULE_NOT_FOUND: GDBusError = 21; 69 pub const G_DBUS_ERROR_MATCH_RULE_INVALID: GDBusError = 22; 70 pub const G_DBUS_ERROR_SPAWN_EXEC_FAILED: GDBusError = 23; 71 pub const G_DBUS_ERROR_SPAWN_FORK_FAILED: GDBusError = 24; 72 pub const G_DBUS_ERROR_SPAWN_CHILD_EXITED: GDBusError = 25; 73 pub const G_DBUS_ERROR_SPAWN_CHILD_SIGNALED: GDBusError = 26; 74 pub const G_DBUS_ERROR_SPAWN_FAILED: GDBusError = 27; 75 pub const G_DBUS_ERROR_SPAWN_SETUP_FAILED: GDBusError = 28; 76 pub const G_DBUS_ERROR_SPAWN_CONFIG_INVALID: GDBusError = 29; 77 pub const G_DBUS_ERROR_SPAWN_SERVICE_INVALID: GDBusError = 30; 78 pub const G_DBUS_ERROR_SPAWN_SERVICE_NOT_FOUND: GDBusError = 31; 79 pub const G_DBUS_ERROR_SPAWN_PERMISSIONS_INVALID: GDBusError = 32; 80 pub const G_DBUS_ERROR_SPAWN_FILE_INVALID: GDBusError = 33; 81 pub const G_DBUS_ERROR_SPAWN_NO_MEMORY: GDBusError = 34; 82 pub const G_DBUS_ERROR_UNIX_PROCESS_ID_UNKNOWN: GDBusError = 35; 83 pub const G_DBUS_ERROR_INVALID_SIGNATURE: GDBusError = 36; 84 pub const G_DBUS_ERROR_INVALID_FILE_CONTENT: GDBusError = 37; 85 pub const G_DBUS_ERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN: GDBusError = 38; 86 pub const G_DBUS_ERROR_ADT_AUDIT_DATA_UNKNOWN: GDBusError = 39; 87 pub const G_DBUS_ERROR_OBJECT_PATH_IN_USE: GDBusError = 40; 88 pub const G_DBUS_ERROR_UNKNOWN_OBJECT: GDBusError = 41; 89 pub const G_DBUS_ERROR_UNKNOWN_INTERFACE: GDBusError = 42; 90 pub const G_DBUS_ERROR_UNKNOWN_PROPERTY: GDBusError = 43; 91 pub const G_DBUS_ERROR_PROPERTY_READ_ONLY: GDBusError = 44; 92 93 pub type GDBusMessageByteOrder = c_int; 94 pub const G_DBUS_MESSAGE_BYTE_ORDER_BIG_ENDIAN: GDBusMessageByteOrder = 66; 95 pub const G_DBUS_MESSAGE_BYTE_ORDER_LITTLE_ENDIAN: GDBusMessageByteOrder = 108; 96 97 pub type GDBusMessageHeaderField = c_int; 98 pub const G_DBUS_MESSAGE_HEADER_FIELD_INVALID: GDBusMessageHeaderField = 0; 99 pub const G_DBUS_MESSAGE_HEADER_FIELD_PATH: GDBusMessageHeaderField = 1; 100 pub const G_DBUS_MESSAGE_HEADER_FIELD_INTERFACE: GDBusMessageHeaderField = 2; 101 pub const G_DBUS_MESSAGE_HEADER_FIELD_MEMBER: GDBusMessageHeaderField = 3; 102 pub const G_DBUS_MESSAGE_HEADER_FIELD_ERROR_NAME: GDBusMessageHeaderField = 4; 103 pub const G_DBUS_MESSAGE_HEADER_FIELD_REPLY_SERIAL: GDBusMessageHeaderField = 5; 104 pub const G_DBUS_MESSAGE_HEADER_FIELD_DESTINATION: GDBusMessageHeaderField = 6; 105 pub const G_DBUS_MESSAGE_HEADER_FIELD_SENDER: GDBusMessageHeaderField = 7; 106 pub const G_DBUS_MESSAGE_HEADER_FIELD_SIGNATURE: GDBusMessageHeaderField = 8; 107 pub const G_DBUS_MESSAGE_HEADER_FIELD_NUM_UNIX_FDS: GDBusMessageHeaderField = 9; 108 109 pub type GDBusMessageType = c_int; 110 pub const G_DBUS_MESSAGE_TYPE_INVALID: GDBusMessageType = 0; 111 pub const G_DBUS_MESSAGE_TYPE_METHOD_CALL: GDBusMessageType = 1; 112 pub const G_DBUS_MESSAGE_TYPE_METHOD_RETURN: GDBusMessageType = 2; 113 pub const G_DBUS_MESSAGE_TYPE_ERROR: GDBusMessageType = 3; 114 pub const G_DBUS_MESSAGE_TYPE_SIGNAL: GDBusMessageType = 4; 115 116 pub type GDataStreamByteOrder = c_int; 117 pub const G_DATA_STREAM_BYTE_ORDER_BIG_ENDIAN: GDataStreamByteOrder = 0; 118 pub const G_DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN: GDataStreamByteOrder = 1; 119 pub const G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN: GDataStreamByteOrder = 2; 120 121 pub type GDataStreamNewlineType = c_int; 122 pub const G_DATA_STREAM_NEWLINE_TYPE_LF: GDataStreamNewlineType = 0; 123 pub const G_DATA_STREAM_NEWLINE_TYPE_CR: GDataStreamNewlineType = 1; 124 pub const G_DATA_STREAM_NEWLINE_TYPE_CR_LF: GDataStreamNewlineType = 2; 125 pub const G_DATA_STREAM_NEWLINE_TYPE_ANY: GDataStreamNewlineType = 3; 126 127 pub type GDriveStartStopType = c_int; 128 pub const G_DRIVE_START_STOP_TYPE_UNKNOWN: GDriveStartStopType = 0; 129 pub const G_DRIVE_START_STOP_TYPE_SHUTDOWN: GDriveStartStopType = 1; 130 pub const G_DRIVE_START_STOP_TYPE_NETWORK: GDriveStartStopType = 2; 131 pub const G_DRIVE_START_STOP_TYPE_MULTIDISK: GDriveStartStopType = 3; 132 pub const G_DRIVE_START_STOP_TYPE_PASSWORD: GDriveStartStopType = 4; 133 134 pub type GEmblemOrigin = c_int; 135 pub const G_EMBLEM_ORIGIN_UNKNOWN: GEmblemOrigin = 0; 136 pub const G_EMBLEM_ORIGIN_DEVICE: GEmblemOrigin = 1; 137 pub const G_EMBLEM_ORIGIN_LIVEMETADATA: GEmblemOrigin = 2; 138 pub const G_EMBLEM_ORIGIN_TAG: GEmblemOrigin = 3; 139 140 pub type GFileAttributeStatus = c_int; 141 pub const G_FILE_ATTRIBUTE_STATUS_UNSET: GFileAttributeStatus = 0; 142 pub const G_FILE_ATTRIBUTE_STATUS_SET: GFileAttributeStatus = 1; 143 pub const G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING: GFileAttributeStatus = 2; 144 145 pub type GFileAttributeType = c_int; 146 pub const G_FILE_ATTRIBUTE_TYPE_INVALID: GFileAttributeType = 0; 147 pub const G_FILE_ATTRIBUTE_TYPE_STRING: GFileAttributeType = 1; 148 pub const G_FILE_ATTRIBUTE_TYPE_BYTE_STRING: GFileAttributeType = 2; 149 pub const G_FILE_ATTRIBUTE_TYPE_BOOLEAN: GFileAttributeType = 3; 150 pub const G_FILE_ATTRIBUTE_TYPE_UINT32: GFileAttributeType = 4; 151 pub const G_FILE_ATTRIBUTE_TYPE_INT32: GFileAttributeType = 5; 152 pub const G_FILE_ATTRIBUTE_TYPE_UINT64: GFileAttributeType = 6; 153 pub const G_FILE_ATTRIBUTE_TYPE_INT64: GFileAttributeType = 7; 154 pub const G_FILE_ATTRIBUTE_TYPE_OBJECT: GFileAttributeType = 8; 155 pub const G_FILE_ATTRIBUTE_TYPE_STRINGV: GFileAttributeType = 9; 156 157 pub type GFileMonitorEvent = c_int; 158 pub const G_FILE_MONITOR_EVENT_CHANGED: GFileMonitorEvent = 0; 159 pub const G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT: GFileMonitorEvent = 1; 160 pub const G_FILE_MONITOR_EVENT_DELETED: GFileMonitorEvent = 2; 161 pub const G_FILE_MONITOR_EVENT_CREATED: GFileMonitorEvent = 3; 162 pub const G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED: GFileMonitorEvent = 4; 163 pub const G_FILE_MONITOR_EVENT_PRE_UNMOUNT: GFileMonitorEvent = 5; 164 pub const G_FILE_MONITOR_EVENT_UNMOUNTED: GFileMonitorEvent = 6; 165 pub const G_FILE_MONITOR_EVENT_MOVED: GFileMonitorEvent = 7; 166 pub const G_FILE_MONITOR_EVENT_RENAMED: GFileMonitorEvent = 8; 167 pub const G_FILE_MONITOR_EVENT_MOVED_IN: GFileMonitorEvent = 9; 168 pub const G_FILE_MONITOR_EVENT_MOVED_OUT: GFileMonitorEvent = 10; 169 170 pub type GFileType = c_int; 171 pub const G_FILE_TYPE_UNKNOWN: GFileType = 0; 172 pub const G_FILE_TYPE_REGULAR: GFileType = 1; 173 pub const G_FILE_TYPE_DIRECTORY: GFileType = 2; 174 pub const G_FILE_TYPE_SYMBOLIC_LINK: GFileType = 3; 175 pub const G_FILE_TYPE_SPECIAL: GFileType = 4; 176 pub const G_FILE_TYPE_SHORTCUT: GFileType = 5; 177 pub const G_FILE_TYPE_MOUNTABLE: GFileType = 6; 178 179 pub type GFilesystemPreviewType = c_int; 180 pub const G_FILESYSTEM_PREVIEW_TYPE_IF_ALWAYS: GFilesystemPreviewType = 0; 181 pub const G_FILESYSTEM_PREVIEW_TYPE_IF_LOCAL: GFilesystemPreviewType = 1; 182 pub const G_FILESYSTEM_PREVIEW_TYPE_NEVER: GFilesystemPreviewType = 2; 183 184 pub type GIOErrorEnum = c_int; 185 pub const G_IO_ERROR_FAILED: GIOErrorEnum = 0; 186 pub const G_IO_ERROR_NOT_FOUND: GIOErrorEnum = 1; 187 pub const G_IO_ERROR_EXISTS: GIOErrorEnum = 2; 188 pub const G_IO_ERROR_IS_DIRECTORY: GIOErrorEnum = 3; 189 pub const G_IO_ERROR_NOT_DIRECTORY: GIOErrorEnum = 4; 190 pub const G_IO_ERROR_NOT_EMPTY: GIOErrorEnum = 5; 191 pub const G_IO_ERROR_NOT_REGULAR_FILE: GIOErrorEnum = 6; 192 pub const G_IO_ERROR_NOT_SYMBOLIC_LINK: GIOErrorEnum = 7; 193 pub const G_IO_ERROR_NOT_MOUNTABLE_FILE: GIOErrorEnum = 8; 194 pub const G_IO_ERROR_FILENAME_TOO_LONG: GIOErrorEnum = 9; 195 pub const G_IO_ERROR_INVALID_FILENAME: GIOErrorEnum = 10; 196 pub const G_IO_ERROR_TOO_MANY_LINKS: GIOErrorEnum = 11; 197 pub const G_IO_ERROR_NO_SPACE: GIOErrorEnum = 12; 198 pub const G_IO_ERROR_INVALID_ARGUMENT: GIOErrorEnum = 13; 199 pub const G_IO_ERROR_PERMISSION_DENIED: GIOErrorEnum = 14; 200 pub const G_IO_ERROR_NOT_SUPPORTED: GIOErrorEnum = 15; 201 pub const G_IO_ERROR_NOT_MOUNTED: GIOErrorEnum = 16; 202 pub const G_IO_ERROR_ALREADY_MOUNTED: GIOErrorEnum = 17; 203 pub const G_IO_ERROR_CLOSED: GIOErrorEnum = 18; 204 pub const G_IO_ERROR_CANCELLED: GIOErrorEnum = 19; 205 pub const G_IO_ERROR_PENDING: GIOErrorEnum = 20; 206 pub const G_IO_ERROR_READ_ONLY: GIOErrorEnum = 21; 207 pub const G_IO_ERROR_CANT_CREATE_BACKUP: GIOErrorEnum = 22; 208 pub const G_IO_ERROR_WRONG_ETAG: GIOErrorEnum = 23; 209 pub const G_IO_ERROR_TIMED_OUT: GIOErrorEnum = 24; 210 pub const G_IO_ERROR_WOULD_RECURSE: GIOErrorEnum = 25; 211 pub const G_IO_ERROR_BUSY: GIOErrorEnum = 26; 212 pub const G_IO_ERROR_WOULD_BLOCK: GIOErrorEnum = 27; 213 pub const G_IO_ERROR_HOST_NOT_FOUND: GIOErrorEnum = 28; 214 pub const G_IO_ERROR_WOULD_MERGE: GIOErrorEnum = 29; 215 pub const G_IO_ERROR_FAILED_HANDLED: GIOErrorEnum = 30; 216 pub const G_IO_ERROR_TOO_MANY_OPEN_FILES: GIOErrorEnum = 31; 217 pub const G_IO_ERROR_NOT_INITIALIZED: GIOErrorEnum = 32; 218 pub const G_IO_ERROR_ADDRESS_IN_USE: GIOErrorEnum = 33; 219 pub const G_IO_ERROR_PARTIAL_INPUT: GIOErrorEnum = 34; 220 pub const G_IO_ERROR_INVALID_DATA: GIOErrorEnum = 35; 221 pub const G_IO_ERROR_DBUS_ERROR: GIOErrorEnum = 36; 222 pub const G_IO_ERROR_HOST_UNREACHABLE: GIOErrorEnum = 37; 223 pub const G_IO_ERROR_NETWORK_UNREACHABLE: GIOErrorEnum = 38; 224 pub const G_IO_ERROR_CONNECTION_REFUSED: GIOErrorEnum = 39; 225 pub const G_IO_ERROR_PROXY_FAILED: GIOErrorEnum = 40; 226 pub const G_IO_ERROR_PROXY_AUTH_FAILED: GIOErrorEnum = 41; 227 pub const G_IO_ERROR_PROXY_NEED_AUTH: GIOErrorEnum = 42; 228 pub const G_IO_ERROR_PROXY_NOT_ALLOWED: GIOErrorEnum = 43; 229 pub const G_IO_ERROR_BROKEN_PIPE: GIOErrorEnum = 44; 230 pub const G_IO_ERROR_NOT_CONNECTED: GIOErrorEnum = 45; 231 pub const G_IO_ERROR_MESSAGE_TOO_LARGE: GIOErrorEnum = 46; 232 233 pub type GIOModuleScopeFlags = c_int; 234 pub const G_IO_MODULE_SCOPE_NONE: GIOModuleScopeFlags = 0; 235 pub const G_IO_MODULE_SCOPE_BLOCK_DUPLICATES: GIOModuleScopeFlags = 1; 236 237 pub type GMountOperationResult = c_int; 238 pub const G_MOUNT_OPERATION_HANDLED: GMountOperationResult = 0; 239 pub const G_MOUNT_OPERATION_ABORTED: GMountOperationResult = 1; 240 pub const G_MOUNT_OPERATION_UNHANDLED: GMountOperationResult = 2; 241 242 pub type GNetworkConnectivity = c_int; 243 pub const G_NETWORK_CONNECTIVITY_LOCAL: GNetworkConnectivity = 1; 244 pub const G_NETWORK_CONNECTIVITY_LIMITED: GNetworkConnectivity = 2; 245 pub const G_NETWORK_CONNECTIVITY_PORTAL: GNetworkConnectivity = 3; 246 pub const G_NETWORK_CONNECTIVITY_FULL: GNetworkConnectivity = 4; 247 248 pub type GNotificationPriority = c_int; 249 pub const G_NOTIFICATION_PRIORITY_NORMAL: GNotificationPriority = 0; 250 pub const G_NOTIFICATION_PRIORITY_LOW: GNotificationPriority = 1; 251 pub const G_NOTIFICATION_PRIORITY_HIGH: GNotificationPriority = 2; 252 pub const G_NOTIFICATION_PRIORITY_URGENT: GNotificationPriority = 3; 253 254 pub type GPasswordSave = c_int; 255 pub const G_PASSWORD_SAVE_NEVER: GPasswordSave = 0; 256 pub const G_PASSWORD_SAVE_FOR_SESSION: GPasswordSave = 1; 257 pub const G_PASSWORD_SAVE_PERMANENTLY: GPasswordSave = 2; 258 259 pub type GPollableReturn = c_int; 260 pub const G_POLLABLE_RETURN_FAILED: GPollableReturn = 0; 261 pub const G_POLLABLE_RETURN_OK: GPollableReturn = 1; 262 pub const G_POLLABLE_RETURN_WOULD_BLOCK: GPollableReturn = -27; 263 264 pub type GResolverError = c_int; 265 pub const G_RESOLVER_ERROR_NOT_FOUND: GResolverError = 0; 266 pub const G_RESOLVER_ERROR_TEMPORARY_FAILURE: GResolverError = 1; 267 pub const G_RESOLVER_ERROR_INTERNAL: GResolverError = 2; 268 269 pub type GResolverRecordType = c_int; 270 pub const G_RESOLVER_RECORD_SRV: GResolverRecordType = 1; 271 pub const G_RESOLVER_RECORD_MX: GResolverRecordType = 2; 272 pub const G_RESOLVER_RECORD_TXT: GResolverRecordType = 3; 273 pub const G_RESOLVER_RECORD_SOA: GResolverRecordType = 4; 274 pub const G_RESOLVER_RECORD_NS: GResolverRecordType = 5; 275 276 pub type GResourceError = c_int; 277 pub const G_RESOURCE_ERROR_NOT_FOUND: GResourceError = 0; 278 pub const G_RESOURCE_ERROR_INTERNAL: GResourceError = 1; 279 280 pub type GSocketClientEvent = c_int; 281 pub const G_SOCKET_CLIENT_RESOLVING: GSocketClientEvent = 0; 282 pub const G_SOCKET_CLIENT_RESOLVED: GSocketClientEvent = 1; 283 pub const G_SOCKET_CLIENT_CONNECTING: GSocketClientEvent = 2; 284 pub const G_SOCKET_CLIENT_CONNECTED: GSocketClientEvent = 3; 285 pub const G_SOCKET_CLIENT_PROXY_NEGOTIATING: GSocketClientEvent = 4; 286 pub const G_SOCKET_CLIENT_PROXY_NEGOTIATED: GSocketClientEvent = 5; 287 pub const G_SOCKET_CLIENT_TLS_HANDSHAKING: GSocketClientEvent = 6; 288 pub const G_SOCKET_CLIENT_TLS_HANDSHAKED: GSocketClientEvent = 7; 289 pub const G_SOCKET_CLIENT_COMPLETE: GSocketClientEvent = 8; 290 291 pub type GSocketFamily = c_int; 292 pub const G_SOCKET_FAMILY_INVALID: GSocketFamily = 0; 293 pub const G_SOCKET_FAMILY_UNIX: GSocketFamily = 1; 294 pub const G_SOCKET_FAMILY_IPV4: GSocketFamily = 2; 295 pub const G_SOCKET_FAMILY_IPV6: GSocketFamily = 10; 296 297 pub type GSocketListenerEvent = c_int; 298 pub const G_SOCKET_LISTENER_BINDING: GSocketListenerEvent = 0; 299 pub const G_SOCKET_LISTENER_BOUND: GSocketListenerEvent = 1; 300 pub const G_SOCKET_LISTENER_LISTENING: GSocketListenerEvent = 2; 301 pub const G_SOCKET_LISTENER_LISTENED: GSocketListenerEvent = 3; 302 303 pub type GSocketProtocol = c_int; 304 pub const G_SOCKET_PROTOCOL_UNKNOWN: GSocketProtocol = -1; 305 pub const G_SOCKET_PROTOCOL_DEFAULT: GSocketProtocol = 0; 306 pub const G_SOCKET_PROTOCOL_TCP: GSocketProtocol = 6; 307 pub const G_SOCKET_PROTOCOL_UDP: GSocketProtocol = 17; 308 pub const G_SOCKET_PROTOCOL_SCTP: GSocketProtocol = 132; 309 310 pub type GSocketType = c_int; 311 pub const G_SOCKET_TYPE_INVALID: GSocketType = 0; 312 pub const G_SOCKET_TYPE_STREAM: GSocketType = 1; 313 pub const G_SOCKET_TYPE_DATAGRAM: GSocketType = 2; 314 pub const G_SOCKET_TYPE_SEQPACKET: GSocketType = 3; 315 316 pub type GTlsAuthenticationMode = c_int; 317 pub const G_TLS_AUTHENTICATION_NONE: GTlsAuthenticationMode = 0; 318 pub const G_TLS_AUTHENTICATION_REQUESTED: GTlsAuthenticationMode = 1; 319 pub const G_TLS_AUTHENTICATION_REQUIRED: GTlsAuthenticationMode = 2; 320 321 pub type GTlsCertificateRequestFlags = c_int; 322 pub const G_TLS_CERTIFICATE_REQUEST_NONE: GTlsCertificateRequestFlags = 0; 323 324 pub type GTlsDatabaseLookupFlags = c_int; 325 pub const G_TLS_DATABASE_LOOKUP_NONE: GTlsDatabaseLookupFlags = 0; 326 pub const G_TLS_DATABASE_LOOKUP_KEYPAIR: GTlsDatabaseLookupFlags = 1; 327 328 pub type GTlsError = c_int; 329 pub const G_TLS_ERROR_UNAVAILABLE: GTlsError = 0; 330 pub const G_TLS_ERROR_MISC: GTlsError = 1; 331 pub const G_TLS_ERROR_BAD_CERTIFICATE: GTlsError = 2; 332 pub const G_TLS_ERROR_NOT_TLS: GTlsError = 3; 333 pub const G_TLS_ERROR_HANDSHAKE: GTlsError = 4; 334 pub const G_TLS_ERROR_CERTIFICATE_REQUIRED: GTlsError = 5; 335 pub const G_TLS_ERROR_EOF: GTlsError = 6; 336 pub const G_TLS_ERROR_INAPPROPRIATE_FALLBACK: GTlsError = 7; 337 338 pub type GTlsInteractionResult = c_int; 339 pub const G_TLS_INTERACTION_UNHANDLED: GTlsInteractionResult = 0; 340 pub const G_TLS_INTERACTION_HANDLED: GTlsInteractionResult = 1; 341 pub const G_TLS_INTERACTION_FAILED: GTlsInteractionResult = 2; 342 343 pub type GTlsRehandshakeMode = c_int; 344 pub const G_TLS_REHANDSHAKE_NEVER: GTlsRehandshakeMode = 0; 345 pub const G_TLS_REHANDSHAKE_SAFELY: GTlsRehandshakeMode = 1; 346 pub const G_TLS_REHANDSHAKE_UNSAFELY: GTlsRehandshakeMode = 2; 347 348 pub type GUnixSocketAddressType = c_int; 349 pub const G_UNIX_SOCKET_ADDRESS_INVALID: GUnixSocketAddressType = 0; 350 pub const G_UNIX_SOCKET_ADDRESS_ANONYMOUS: GUnixSocketAddressType = 1; 351 pub const G_UNIX_SOCKET_ADDRESS_PATH: GUnixSocketAddressType = 2; 352 pub const G_UNIX_SOCKET_ADDRESS_ABSTRACT: GUnixSocketAddressType = 3; 353 pub const G_UNIX_SOCKET_ADDRESS_ABSTRACT_PADDED: GUnixSocketAddressType = 4; 354 355 pub type GZlibCompressorFormat = c_int; 356 pub const G_ZLIB_COMPRESSOR_FORMAT_ZLIB: GZlibCompressorFormat = 0; 357 pub const G_ZLIB_COMPRESSOR_FORMAT_GZIP: GZlibCompressorFormat = 1; 358 pub const G_ZLIB_COMPRESSOR_FORMAT_RAW: GZlibCompressorFormat = 2; 359 360 // Constants 361 pub const G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME: *const c_char = 362 b"gio-desktop-app-info-lookup\0" as *const u8 as *const c_char; 363 pub const G_DRIVE_IDENTIFIER_KIND_UNIX_DEVICE: *const c_char = 364 b"unix-device\0" as *const u8 as *const c_char; 365 pub const G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE: *const c_char = 366 b"access::can-delete\0" as *const u8 as *const c_char; 367 pub const G_FILE_ATTRIBUTE_ACCESS_CAN_EXECUTE: *const c_char = 368 b"access::can-execute\0" as *const u8 as *const c_char; 369 pub const G_FILE_ATTRIBUTE_ACCESS_CAN_READ: *const c_char = 370 b"access::can-read\0" as *const u8 as *const c_char; 371 pub const G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME: *const c_char = 372 b"access::can-rename\0" as *const u8 as *const c_char; 373 pub const G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH: *const c_char = 374 b"access::can-trash\0" as *const u8 as *const c_char; 375 pub const G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE: *const c_char = 376 b"access::can-write\0" as *const u8 as *const c_char; 377 pub const G_FILE_ATTRIBUTE_DOS_IS_ARCHIVE: *const c_char = 378 b"dos::is-archive\0" as *const u8 as *const c_char; 379 pub const G_FILE_ATTRIBUTE_DOS_IS_MOUNTPOINT: *const c_char = 380 b"dos::is-mountpoint\0" as *const u8 as *const c_char; 381 pub const G_FILE_ATTRIBUTE_DOS_IS_SYSTEM: *const c_char = 382 b"dos::is-system\0" as *const u8 as *const c_char; 383 pub const G_FILE_ATTRIBUTE_DOS_REPARSE_POINT_TAG: *const c_char = 384 b"dos::reparse-point-tag\0" as *const u8 as *const c_char; 385 pub const G_FILE_ATTRIBUTE_ETAG_VALUE: *const c_char = 386 b"etag::value\0" as *const u8 as *const c_char; 387 pub const G_FILE_ATTRIBUTE_FILESYSTEM_FREE: *const c_char = 388 b"filesystem::free\0" as *const u8 as *const c_char; 389 pub const G_FILE_ATTRIBUTE_FILESYSTEM_READONLY: *const c_char = 390 b"filesystem::readonly\0" as *const u8 as *const c_char; 391 pub const G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE: *const c_char = 392 b"filesystem::remote\0" as *const u8 as *const c_char; 393 pub const G_FILE_ATTRIBUTE_FILESYSTEM_SIZE: *const c_char = 394 b"filesystem::size\0" as *const u8 as *const c_char; 395 pub const G_FILE_ATTRIBUTE_FILESYSTEM_TYPE: *const c_char = 396 b"filesystem::type\0" as *const u8 as *const c_char; 397 pub const G_FILE_ATTRIBUTE_FILESYSTEM_USED: *const c_char = 398 b"filesystem::used\0" as *const u8 as *const c_char; 399 pub const G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW: *const c_char = 400 b"filesystem::use-preview\0" as *const u8 as *const c_char; 401 pub const G_FILE_ATTRIBUTE_GVFS_BACKEND: *const c_char = 402 b"gvfs::backend\0" as *const u8 as *const c_char; 403 pub const G_FILE_ATTRIBUTE_ID_FILE: *const c_char = b"id::file\0" as *const u8 as *const c_char; 404 pub const G_FILE_ATTRIBUTE_ID_FILESYSTEM: *const c_char = 405 b"id::filesystem\0" as *const u8 as *const c_char; 406 pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT: *const c_char = 407 b"mountable::can-eject\0" as *const u8 as *const c_char; 408 pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_MOUNT: *const c_char = 409 b"mountable::can-mount\0" as *const u8 as *const c_char; 410 pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_POLL: *const c_char = 411 b"mountable::can-poll\0" as *const u8 as *const c_char; 412 pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START: *const c_char = 413 b"mountable::can-start\0" as *const u8 as *const c_char; 414 pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_START_DEGRADED: *const c_char = 415 b"mountable::can-start-degraded\0" as *const u8 as *const c_char; 416 pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_STOP: *const c_char = 417 b"mountable::can-stop\0" as *const u8 as *const c_char; 418 pub const G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT: *const c_char = 419 b"mountable::can-unmount\0" as *const u8 as *const c_char; 420 pub const G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI: *const c_char = 421 b"mountable::hal-udi\0" as *const u8 as *const c_char; 422 pub const G_FILE_ATTRIBUTE_MOUNTABLE_IS_MEDIA_CHECK_AUTOMATIC: *const c_char = 423 b"mountable::is-media-check-automatic\0" as *const u8 as *const c_char; 424 pub const G_FILE_ATTRIBUTE_MOUNTABLE_START_STOP_TYPE: *const c_char = 425 b"mountable::start-stop-type\0" as *const u8 as *const c_char; 426 pub const G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE: *const c_char = 427 b"mountable::unix-device\0" as *const u8 as *const c_char; 428 pub const G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE: *const c_char = 429 b"mountable::unix-device-file\0" as *const u8 as *const c_char; 430 pub const G_FILE_ATTRIBUTE_OWNER_GROUP: *const c_char = 431 b"owner::group\0" as *const u8 as *const c_char; 432 pub const G_FILE_ATTRIBUTE_OWNER_USER: *const c_char = 433 b"owner::user\0" as *const u8 as *const c_char; 434 pub const G_FILE_ATTRIBUTE_OWNER_USER_REAL: *const c_char = 435 b"owner::user-real\0" as *const u8 as *const c_char; 436 pub const G_FILE_ATTRIBUTE_PREVIEW_ICON: *const c_char = 437 b"preview::icon\0" as *const u8 as *const c_char; 438 pub const G_FILE_ATTRIBUTE_RECENT_MODIFIED: *const c_char = 439 b"recent::modified\0" as *const u8 as *const c_char; 440 pub const G_FILE_ATTRIBUTE_SELINUX_CONTEXT: *const c_char = 441 b"selinux::context\0" as *const u8 as *const c_char; 442 pub const G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE: *const c_char = 443 b"standard::allocated-size\0" as *const u8 as *const c_char; 444 pub const G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE: *const c_char = 445 b"standard::content-type\0" as *const u8 as *const c_char; 446 pub const G_FILE_ATTRIBUTE_STANDARD_COPY_NAME: *const c_char = 447 b"standard::copy-name\0" as *const u8 as *const c_char; 448 pub const G_FILE_ATTRIBUTE_STANDARD_DESCRIPTION: *const c_char = 449 b"standard::description\0" as *const u8 as *const c_char; 450 pub const G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME: *const c_char = 451 b"standard::display-name\0" as *const u8 as *const c_char; 452 pub const G_FILE_ATTRIBUTE_STANDARD_EDIT_NAME: *const c_char = 453 b"standard::edit-name\0" as *const u8 as *const c_char; 454 pub const G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE: *const c_char = 455 b"standard::fast-content-type\0" as *const u8 as *const c_char; 456 pub const G_FILE_ATTRIBUTE_STANDARD_ICON: *const c_char = 457 b"standard::icon\0" as *const u8 as *const c_char; 458 pub const G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP: *const c_char = 459 b"standard::is-backup\0" as *const u8 as *const c_char; 460 pub const G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN: *const c_char = 461 b"standard::is-hidden\0" as *const u8 as *const c_char; 462 pub const G_FILE_ATTRIBUTE_STANDARD_IS_SYMLINK: *const c_char = 463 b"standard::is-symlink\0" as *const u8 as *const c_char; 464 pub const G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL: *const c_char = 465 b"standard::is-virtual\0" as *const u8 as *const c_char; 466 pub const G_FILE_ATTRIBUTE_STANDARD_IS_VOLATILE: *const c_char = 467 b"standard::is-volatile\0" as *const u8 as *const c_char; 468 pub const G_FILE_ATTRIBUTE_STANDARD_NAME: *const c_char = 469 b"standard::name\0" as *const u8 as *const c_char; 470 pub const G_FILE_ATTRIBUTE_STANDARD_SIZE: *const c_char = 471 b"standard::size\0" as *const u8 as *const c_char; 472 pub const G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER: *const c_char = 473 b"standard::sort-order\0" as *const u8 as *const c_char; 474 pub const G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON: *const c_char = 475 b"standard::symbolic-icon\0" as *const u8 as *const c_char; 476 pub const G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET: *const c_char = 477 b"standard::symlink-target\0" as *const u8 as *const c_char; 478 pub const G_FILE_ATTRIBUTE_STANDARD_TARGET_URI: *const c_char = 479 b"standard::target-uri\0" as *const u8 as *const c_char; 480 pub const G_FILE_ATTRIBUTE_STANDARD_TYPE: *const c_char = 481 b"standard::type\0" as *const u8 as *const c_char; 482 pub const G_FILE_ATTRIBUTE_THUMBNAILING_FAILED: *const c_char = 483 b"thumbnail::failed\0" as *const u8 as *const c_char; 484 pub const G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID: *const c_char = 485 b"thumbnail::is-valid\0" as *const u8 as *const c_char; 486 pub const G_FILE_ATTRIBUTE_THUMBNAIL_PATH: *const c_char = 487 b"thumbnail::path\0" as *const u8 as *const c_char; 488 pub const G_FILE_ATTRIBUTE_TIME_ACCESS: *const c_char = 489 b"time::access\0" as *const u8 as *const c_char; 490 pub const G_FILE_ATTRIBUTE_TIME_ACCESS_USEC: *const c_char = 491 b"time::access-usec\0" as *const u8 as *const c_char; 492 pub const G_FILE_ATTRIBUTE_TIME_CHANGED: *const c_char = 493 b"time::changed\0" as *const u8 as *const c_char; 494 pub const G_FILE_ATTRIBUTE_TIME_CHANGED_USEC: *const c_char = 495 b"time::changed-usec\0" as *const u8 as *const c_char; 496 pub const G_FILE_ATTRIBUTE_TIME_CREATED: *const c_char = 497 b"time::created\0" as *const u8 as *const c_char; 498 pub const G_FILE_ATTRIBUTE_TIME_CREATED_USEC: *const c_char = 499 b"time::created-usec\0" as *const u8 as *const c_char; 500 pub const G_FILE_ATTRIBUTE_TIME_MODIFIED: *const c_char = 501 b"time::modified\0" as *const u8 as *const c_char; 502 pub const G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC: *const c_char = 503 b"time::modified-usec\0" as *const u8 as *const c_char; 504 pub const G_FILE_ATTRIBUTE_TRASH_DELETION_DATE: *const c_char = 505 b"trash::deletion-date\0" as *const u8 as *const c_char; 506 pub const G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT: *const c_char = 507 b"trash::item-count\0" as *const u8 as *const c_char; 508 pub const G_FILE_ATTRIBUTE_TRASH_ORIG_PATH: *const c_char = 509 b"trash::orig-path\0" as *const u8 as *const c_char; 510 pub const G_FILE_ATTRIBUTE_UNIX_BLOCKS: *const c_char = 511 b"unix::blocks\0" as *const u8 as *const c_char; 512 pub const G_FILE_ATTRIBUTE_UNIX_BLOCK_SIZE: *const c_char = 513 b"unix::block-size\0" as *const u8 as *const c_char; 514 pub const G_FILE_ATTRIBUTE_UNIX_DEVICE: *const c_char = 515 b"unix::device\0" as *const u8 as *const c_char; 516 pub const G_FILE_ATTRIBUTE_UNIX_GID: *const c_char = b"unix::gid\0" as *const u8 as *const c_char; 517 pub const G_FILE_ATTRIBUTE_UNIX_INODE: *const c_char = 518 b"unix::inode\0" as *const u8 as *const c_char; 519 pub const G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT: *const c_char = 520 b"unix::is-mountpoint\0" as *const u8 as *const c_char; 521 pub const G_FILE_ATTRIBUTE_UNIX_MODE: *const c_char = b"unix::mode\0" as *const u8 as *const c_char; 522 pub const G_FILE_ATTRIBUTE_UNIX_NLINK: *const c_char = 523 b"unix::nlink\0" as *const u8 as *const c_char; 524 pub const G_FILE_ATTRIBUTE_UNIX_RDEV: *const c_char = b"unix::rdev\0" as *const u8 as *const c_char; 525 pub const G_FILE_ATTRIBUTE_UNIX_UID: *const c_char = b"unix::uid\0" as *const u8 as *const c_char; 526 pub const G_MENU_ATTRIBUTE_ACTION: *const c_char = b"action\0" as *const u8 as *const c_char; 527 pub const G_MENU_ATTRIBUTE_ACTION_NAMESPACE: *const c_char = 528 b"action-namespace\0" as *const u8 as *const c_char; 529 pub const G_MENU_ATTRIBUTE_ICON: *const c_char = b"icon\0" as *const u8 as *const c_char; 530 pub const G_MENU_ATTRIBUTE_LABEL: *const c_char = b"label\0" as *const u8 as *const c_char; 531 pub const G_MENU_ATTRIBUTE_TARGET: *const c_char = b"target\0" as *const u8 as *const c_char; 532 pub const G_MENU_LINK_SECTION: *const c_char = b"section\0" as *const u8 as *const c_char; 533 pub const G_MENU_LINK_SUBMENU: *const c_char = b"submenu\0" as *const u8 as *const c_char; 534 pub const G_NATIVE_VOLUME_MONITOR_EXTENSION_POINT_NAME: *const c_char = 535 b"gio-native-volume-monitor\0" as *const u8 as *const c_char; 536 pub const G_NETWORK_MONITOR_EXTENSION_POINT_NAME: *const c_char = 537 b"gio-network-monitor\0" as *const u8 as *const c_char; 538 pub const G_PROXY_EXTENSION_POINT_NAME: *const c_char = 539 b"gio-proxy\0" as *const u8 as *const c_char; 540 pub const G_PROXY_RESOLVER_EXTENSION_POINT_NAME: *const c_char = 541 b"gio-proxy-resolver\0" as *const u8 as *const c_char; 542 pub const G_SETTINGS_BACKEND_EXTENSION_POINT_NAME: *const c_char = 543 b"gsettings-backend\0" as *const u8 as *const c_char; 544 pub const G_TLS_BACKEND_EXTENSION_POINT_NAME: *const c_char = 545 b"gio-tls-backend\0" as *const u8 as *const c_char; 546 pub const G_TLS_DATABASE_PURPOSE_AUTHENTICATE_CLIENT: *const c_char = 547 b"1.3.6.1.5.5.7.3.2\0" as *const u8 as *const c_char; 548 pub const G_TLS_DATABASE_PURPOSE_AUTHENTICATE_SERVER: *const c_char = 549 b"1.3.6.1.5.5.7.3.1\0" as *const u8 as *const c_char; 550 pub const G_VFS_EXTENSION_POINT_NAME: *const c_char = b"gio-vfs\0" as *const u8 as *const c_char; 551 pub const G_VOLUME_IDENTIFIER_KIND_CLASS: *const c_char = b"class\0" as *const u8 as *const c_char; 552 pub const G_VOLUME_IDENTIFIER_KIND_HAL_UDI: *const c_char = 553 b"hal-udi\0" as *const u8 as *const c_char; 554 pub const G_VOLUME_IDENTIFIER_KIND_LABEL: *const c_char = b"label\0" as *const u8 as *const c_char; 555 pub const G_VOLUME_IDENTIFIER_KIND_NFS_MOUNT: *const c_char = 556 b"nfs-mount\0" as *const u8 as *const c_char; 557 pub const G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE: *const c_char = 558 b"unix-device\0" as *const u8 as *const c_char; 559 pub const G_VOLUME_IDENTIFIER_KIND_UUID: *const c_char = b"uuid\0" as *const u8 as *const c_char; 560 pub const G_VOLUME_MONITOR_EXTENSION_POINT_NAME: *const c_char = 561 b"gio-volume-monitor\0" as *const u8 as *const c_char; 562 563 // Flags 564 pub type GAppInfoCreateFlags = c_uint; 565 pub const G_APP_INFO_CREATE_NONE: GAppInfoCreateFlags = 0; 566 pub const G_APP_INFO_CREATE_NEEDS_TERMINAL: GAppInfoCreateFlags = 1; 567 pub const G_APP_INFO_CREATE_SUPPORTS_URIS: GAppInfoCreateFlags = 2; 568 pub const G_APP_INFO_CREATE_SUPPORTS_STARTUP_NOTIFICATION: GAppInfoCreateFlags = 4; 569 570 pub type GApplicationFlags = c_uint; 571 pub const G_APPLICATION_FLAGS_NONE: GApplicationFlags = 0; 572 pub const G_APPLICATION_IS_SERVICE: GApplicationFlags = 1; 573 pub const G_APPLICATION_IS_LAUNCHER: GApplicationFlags = 2; 574 pub const G_APPLICATION_HANDLES_OPEN: GApplicationFlags = 4; 575 pub const G_APPLICATION_HANDLES_COMMAND_LINE: GApplicationFlags = 8; 576 pub const G_APPLICATION_SEND_ENVIRONMENT: GApplicationFlags = 16; 577 pub const G_APPLICATION_NON_UNIQUE: GApplicationFlags = 32; 578 pub const G_APPLICATION_CAN_OVERRIDE_APP_ID: GApplicationFlags = 64; 579 pub const G_APPLICATION_ALLOW_REPLACEMENT: GApplicationFlags = 128; 580 pub const G_APPLICATION_REPLACE: GApplicationFlags = 256; 581 582 pub type GAskPasswordFlags = c_uint; 583 pub const G_ASK_PASSWORD_NEED_PASSWORD: GAskPasswordFlags = 1; 584 pub const G_ASK_PASSWORD_NEED_USERNAME: GAskPasswordFlags = 2; 585 pub const G_ASK_PASSWORD_NEED_DOMAIN: GAskPasswordFlags = 4; 586 pub const G_ASK_PASSWORD_SAVING_SUPPORTED: GAskPasswordFlags = 8; 587 pub const G_ASK_PASSWORD_ANONYMOUS_SUPPORTED: GAskPasswordFlags = 16; 588 pub const G_ASK_PASSWORD_TCRYPT: GAskPasswordFlags = 32; 589 590 pub type GBusNameOwnerFlags = c_uint; 591 pub const G_BUS_NAME_OWNER_FLAGS_NONE: GBusNameOwnerFlags = 0; 592 pub const G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT: GBusNameOwnerFlags = 1; 593 pub const G_BUS_NAME_OWNER_FLAGS_REPLACE: GBusNameOwnerFlags = 2; 594 pub const G_BUS_NAME_OWNER_FLAGS_DO_NOT_QUEUE: GBusNameOwnerFlags = 4; 595 596 pub type GBusNameWatcherFlags = c_uint; 597 pub const G_BUS_NAME_WATCHER_FLAGS_NONE: GBusNameWatcherFlags = 0; 598 pub const G_BUS_NAME_WATCHER_FLAGS_AUTO_START: GBusNameWatcherFlags = 1; 599 600 pub type GConverterFlags = c_uint; 601 pub const G_CONVERTER_NO_FLAGS: GConverterFlags = 0; 602 pub const G_CONVERTER_INPUT_AT_END: GConverterFlags = 1; 603 pub const G_CONVERTER_FLUSH: GConverterFlags = 2; 604 605 pub type GDBusCallFlags = c_uint; 606 pub const G_DBUS_CALL_FLAGS_NONE: GDBusCallFlags = 0; 607 pub const G_DBUS_CALL_FLAGS_NO_AUTO_START: GDBusCallFlags = 1; 608 pub const G_DBUS_CALL_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION: GDBusCallFlags = 2; 609 610 pub type GDBusCapabilityFlags = c_uint; 611 pub const G_DBUS_CAPABILITY_FLAGS_NONE: GDBusCapabilityFlags = 0; 612 pub const G_DBUS_CAPABILITY_FLAGS_UNIX_FD_PASSING: GDBusCapabilityFlags = 1; 613 614 pub type GDBusConnectionFlags = c_uint; 615 pub const G_DBUS_CONNECTION_FLAGS_NONE: GDBusConnectionFlags = 0; 616 pub const G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_CLIENT: GDBusConnectionFlags = 1; 617 pub const G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_SERVER: GDBusConnectionFlags = 2; 618 pub const G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS: GDBusConnectionFlags = 4; 619 pub const G_DBUS_CONNECTION_FLAGS_MESSAGE_BUS_CONNECTION: GDBusConnectionFlags = 8; 620 pub const G_DBUS_CONNECTION_FLAGS_DELAY_MESSAGE_PROCESSING: GDBusConnectionFlags = 16; 621 622 pub type GDBusInterfaceSkeletonFlags = c_uint; 623 pub const G_DBUS_INTERFACE_SKELETON_FLAGS_NONE: GDBusInterfaceSkeletonFlags = 0; 624 pub const G_DBUS_INTERFACE_SKELETON_FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD: 625 GDBusInterfaceSkeletonFlags = 1; 626 627 pub type GDBusMessageFlags = c_uint; 628 pub const G_DBUS_MESSAGE_FLAGS_NONE: GDBusMessageFlags = 0; 629 pub const G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED: GDBusMessageFlags = 1; 630 pub const G_DBUS_MESSAGE_FLAGS_NO_AUTO_START: GDBusMessageFlags = 2; 631 pub const G_DBUS_MESSAGE_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION: GDBusMessageFlags = 4; 632 633 pub type GDBusObjectManagerClientFlags = c_uint; 634 pub const G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_NONE: GDBusObjectManagerClientFlags = 0; 635 pub const G_DBUS_OBJECT_MANAGER_CLIENT_FLAGS_DO_NOT_AUTO_START: GDBusObjectManagerClientFlags = 1; 636 637 pub type GDBusPropertyInfoFlags = c_uint; 638 pub const G_DBUS_PROPERTY_INFO_FLAGS_NONE: GDBusPropertyInfoFlags = 0; 639 pub const G_DBUS_PROPERTY_INFO_FLAGS_READABLE: GDBusPropertyInfoFlags = 1; 640 pub const G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE: GDBusPropertyInfoFlags = 2; 641 642 pub type GDBusProxyFlags = c_uint; 643 pub const G_DBUS_PROXY_FLAGS_NONE: GDBusProxyFlags = 0; 644 pub const G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES: GDBusProxyFlags = 1; 645 pub const G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS: GDBusProxyFlags = 2; 646 pub const G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START: GDBusProxyFlags = 4; 647 pub const G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES: GDBusProxyFlags = 8; 648 pub const G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START_AT_CONSTRUCTION: GDBusProxyFlags = 16; 649 650 pub type GDBusSendMessageFlags = c_uint; 651 pub const G_DBUS_SEND_MESSAGE_FLAGS_NONE: GDBusSendMessageFlags = 0; 652 pub const G_DBUS_SEND_MESSAGE_FLAGS_PRESERVE_SERIAL: GDBusSendMessageFlags = 1; 653 654 pub type GDBusServerFlags = c_uint; 655 pub const G_DBUS_SERVER_FLAGS_NONE: GDBusServerFlags = 0; 656 pub const G_DBUS_SERVER_FLAGS_RUN_IN_THREAD: GDBusServerFlags = 1; 657 pub const G_DBUS_SERVER_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS: GDBusServerFlags = 2; 658 659 pub type GDBusSignalFlags = c_uint; 660 pub const G_DBUS_SIGNAL_FLAGS_NONE: GDBusSignalFlags = 0; 661 pub const G_DBUS_SIGNAL_FLAGS_NO_MATCH_RULE: GDBusSignalFlags = 1; 662 pub const G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_NAMESPACE: GDBusSignalFlags = 2; 663 pub const G_DBUS_SIGNAL_FLAGS_MATCH_ARG0_PATH: GDBusSignalFlags = 4; 664 665 pub type GDBusSubtreeFlags = c_uint; 666 pub const G_DBUS_SUBTREE_FLAGS_NONE: GDBusSubtreeFlags = 0; 667 pub const G_DBUS_SUBTREE_FLAGS_DISPATCH_TO_UNENUMERATED_NODES: GDBusSubtreeFlags = 1; 668 669 pub type GDriveStartFlags = c_uint; 670 pub const G_DRIVE_START_NONE: GDriveStartFlags = 0; 671 672 pub type GFileAttributeInfoFlags = c_uint; 673 pub const G_FILE_ATTRIBUTE_INFO_NONE: GFileAttributeInfoFlags = 0; 674 pub const G_FILE_ATTRIBUTE_INFO_COPY_WITH_FILE: GFileAttributeInfoFlags = 1; 675 pub const G_FILE_ATTRIBUTE_INFO_COPY_WHEN_MOVED: GFileAttributeInfoFlags = 2; 676 677 pub type GFileCopyFlags = c_uint; 678 pub const G_FILE_COPY_NONE: GFileCopyFlags = 0; 679 pub const G_FILE_COPY_OVERWRITE: GFileCopyFlags = 1; 680 pub const G_FILE_COPY_BACKUP: GFileCopyFlags = 2; 681 pub const G_FILE_COPY_NOFOLLOW_SYMLINKS: GFileCopyFlags = 4; 682 pub const G_FILE_COPY_ALL_METADATA: GFileCopyFlags = 8; 683 pub const G_FILE_COPY_NO_FALLBACK_FOR_MOVE: GFileCopyFlags = 16; 684 pub const G_FILE_COPY_TARGET_DEFAULT_PERMS: GFileCopyFlags = 32; 685 686 pub type GFileCreateFlags = c_uint; 687 pub const G_FILE_CREATE_NONE: GFileCreateFlags = 0; 688 pub const G_FILE_CREATE_PRIVATE: GFileCreateFlags = 1; 689 pub const G_FILE_CREATE_REPLACE_DESTINATION: GFileCreateFlags = 2; 690 691 pub type GFileMeasureFlags = c_uint; 692 pub const G_FILE_MEASURE_NONE: GFileMeasureFlags = 0; 693 pub const G_FILE_MEASURE_REPORT_ANY_ERROR: GFileMeasureFlags = 2; 694 pub const G_FILE_MEASURE_APPARENT_SIZE: GFileMeasureFlags = 4; 695 pub const G_FILE_MEASURE_NO_XDEV: GFileMeasureFlags = 8; 696 697 pub type GFileMonitorFlags = c_uint; 698 pub const G_FILE_MONITOR_NONE: GFileMonitorFlags = 0; 699 pub const G_FILE_MONITOR_WATCH_MOUNTS: GFileMonitorFlags = 1; 700 pub const G_FILE_MONITOR_SEND_MOVED: GFileMonitorFlags = 2; 701 pub const G_FILE_MONITOR_WATCH_HARD_LINKS: GFileMonitorFlags = 4; 702 pub const G_FILE_MONITOR_WATCH_MOVES: GFileMonitorFlags = 8; 703 704 pub type GFileQueryInfoFlags = c_uint; 705 pub const G_FILE_QUERY_INFO_NONE: GFileQueryInfoFlags = 0; 706 pub const G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS: GFileQueryInfoFlags = 1; 707 708 pub type GIOStreamSpliceFlags = c_uint; 709 pub const G_IO_STREAM_SPLICE_NONE: GIOStreamSpliceFlags = 0; 710 pub const G_IO_STREAM_SPLICE_CLOSE_STREAM1: GIOStreamSpliceFlags = 1; 711 pub const G_IO_STREAM_SPLICE_CLOSE_STREAM2: GIOStreamSpliceFlags = 2; 712 pub const G_IO_STREAM_SPLICE_WAIT_FOR_BOTH: GIOStreamSpliceFlags = 4; 713 714 pub type GMountMountFlags = c_uint; 715 pub const G_MOUNT_MOUNT_NONE: GMountMountFlags = 0; 716 717 pub type GMountUnmountFlags = c_uint; 718 pub const G_MOUNT_UNMOUNT_NONE: GMountUnmountFlags = 0; 719 pub const G_MOUNT_UNMOUNT_FORCE: GMountUnmountFlags = 1; 720 721 pub type GOutputStreamSpliceFlags = c_uint; 722 pub const G_OUTPUT_STREAM_SPLICE_NONE: GOutputStreamSpliceFlags = 0; 723 pub const G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE: GOutputStreamSpliceFlags = 1; 724 pub const G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET: GOutputStreamSpliceFlags = 2; 725 726 pub type GResolverNameLookupFlags = c_uint; 727 pub const G_RESOLVER_NAME_LOOKUP_FLAGS_DEFAULT: GResolverNameLookupFlags = 0; 728 pub const G_RESOLVER_NAME_LOOKUP_FLAGS_IPV4_ONLY: GResolverNameLookupFlags = 1; 729 pub const G_RESOLVER_NAME_LOOKUP_FLAGS_IPV6_ONLY: GResolverNameLookupFlags = 2; 730 731 pub type GResourceFlags = c_uint; 732 pub const G_RESOURCE_FLAGS_NONE: GResourceFlags = 0; 733 pub const G_RESOURCE_FLAGS_COMPRESSED: GResourceFlags = 1; 734 735 pub type GResourceLookupFlags = c_uint; 736 pub const G_RESOURCE_LOOKUP_FLAGS_NONE: GResourceLookupFlags = 0; 737 738 pub type GSettingsBindFlags = c_uint; 739 pub const G_SETTINGS_BIND_DEFAULT: GSettingsBindFlags = 0; 740 pub const G_SETTINGS_BIND_GET: GSettingsBindFlags = 1; 741 pub const G_SETTINGS_BIND_SET: GSettingsBindFlags = 2; 742 pub const G_SETTINGS_BIND_NO_SENSITIVITY: GSettingsBindFlags = 4; 743 pub const G_SETTINGS_BIND_GET_NO_CHANGES: GSettingsBindFlags = 8; 744 pub const G_SETTINGS_BIND_INVERT_BOOLEAN: GSettingsBindFlags = 16; 745 746 pub type GSocketMsgFlags = c_uint; 747 pub const G_SOCKET_MSG_NONE: GSocketMsgFlags = 0; 748 pub const G_SOCKET_MSG_OOB: GSocketMsgFlags = 1; 749 pub const G_SOCKET_MSG_PEEK: GSocketMsgFlags = 2; 750 pub const G_SOCKET_MSG_DONTROUTE: GSocketMsgFlags = 4; 751 752 pub type GSubprocessFlags = c_uint; 753 pub const G_SUBPROCESS_FLAGS_NONE: GSubprocessFlags = 0; 754 pub const G_SUBPROCESS_FLAGS_STDIN_PIPE: GSubprocessFlags = 1; 755 pub const G_SUBPROCESS_FLAGS_STDIN_INHERIT: GSubprocessFlags = 2; 756 pub const G_SUBPROCESS_FLAGS_STDOUT_PIPE: GSubprocessFlags = 4; 757 pub const G_SUBPROCESS_FLAGS_STDOUT_SILENCE: GSubprocessFlags = 8; 758 pub const G_SUBPROCESS_FLAGS_STDERR_PIPE: GSubprocessFlags = 16; 759 pub const G_SUBPROCESS_FLAGS_STDERR_SILENCE: GSubprocessFlags = 32; 760 pub const G_SUBPROCESS_FLAGS_STDERR_MERGE: GSubprocessFlags = 64; 761 pub const G_SUBPROCESS_FLAGS_INHERIT_FDS: GSubprocessFlags = 128; 762 763 pub type GTestDBusFlags = c_uint; 764 pub const G_TEST_DBUS_NONE: GTestDBusFlags = 0; 765 766 pub type GTlsCertificateFlags = c_uint; 767 pub const G_TLS_CERTIFICATE_UNKNOWN_CA: GTlsCertificateFlags = 1; 768 pub const G_TLS_CERTIFICATE_BAD_IDENTITY: GTlsCertificateFlags = 2; 769 pub const G_TLS_CERTIFICATE_NOT_ACTIVATED: GTlsCertificateFlags = 4; 770 pub const G_TLS_CERTIFICATE_EXPIRED: GTlsCertificateFlags = 8; 771 pub const G_TLS_CERTIFICATE_REVOKED: GTlsCertificateFlags = 16; 772 pub const G_TLS_CERTIFICATE_INSECURE: GTlsCertificateFlags = 32; 773 pub const G_TLS_CERTIFICATE_GENERIC_ERROR: GTlsCertificateFlags = 64; 774 pub const G_TLS_CERTIFICATE_VALIDATE_ALL: GTlsCertificateFlags = 127; 775 776 pub type GTlsDatabaseVerifyFlags = c_uint; 777 pub const G_TLS_DATABASE_VERIFY_NONE: GTlsDatabaseVerifyFlags = 0; 778 779 pub type GTlsPasswordFlags = c_uint; 780 pub const G_TLS_PASSWORD_NONE: GTlsPasswordFlags = 0; 781 pub const G_TLS_PASSWORD_RETRY: GTlsPasswordFlags = 2; 782 pub const G_TLS_PASSWORD_MANY_TRIES: GTlsPasswordFlags = 4; 783 pub const G_TLS_PASSWORD_FINAL_TRY: GTlsPasswordFlags = 8; 784 785 // Callbacks 786 pub type GAsyncReadyCallback = 787 Option<unsafe extern "C" fn(*mut gobject::GObject, *mut GAsyncResult, gpointer)>; 788 pub type GBusAcquiredCallback = 789 Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>; 790 pub type GBusNameAcquiredCallback = 791 Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>; 792 pub type GBusNameAppearedCallback = 793 Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, *const c_char, gpointer)>; 794 pub type GBusNameLostCallback = 795 Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>; 796 pub type GBusNameVanishedCallback = 797 Option<unsafe extern "C" fn(*mut GDBusConnection, *const c_char, gpointer)>; 798 pub type GCancellableSourceFunc = 799 Option<unsafe extern "C" fn(*mut GCancellable, gpointer) -> gboolean>; 800 pub type GDBusInterfaceGetPropertyFunc = Option< 801 unsafe extern "C" fn( 802 *mut GDBusConnection, 803 *const c_char, 804 *const c_char, 805 *const c_char, 806 *const c_char, 807 *mut *mut glib::GError, 808 gpointer, 809 ) -> *mut glib::GVariant, 810 >; 811 pub type GDBusInterfaceMethodCallFunc = Option< 812 unsafe extern "C" fn( 813 *mut GDBusConnection, 814 *const c_char, 815 *const c_char, 816 *const c_char, 817 *const c_char, 818 *mut glib::GVariant, 819 *mut GDBusMethodInvocation, 820 gpointer, 821 ), 822 >; 823 pub type GDBusInterfaceSetPropertyFunc = Option< 824 unsafe extern "C" fn( 825 *mut GDBusConnection, 826 *const c_char, 827 *const c_char, 828 *const c_char, 829 *const c_char, 830 *mut glib::GVariant, 831 *mut *mut glib::GError, 832 gpointer, 833 ) -> gboolean, 834 >; 835 pub type GDBusMessageFilterFunction = Option< 836 unsafe extern "C" fn( 837 *mut GDBusConnection, 838 *mut GDBusMessage, 839 gboolean, 840 gpointer, 841 ) -> *mut GDBusMessage, 842 >; 843 pub type GDBusProxyTypeFunc = Option< 844 unsafe extern "C" fn( 845 *mut GDBusObjectManagerClient, 846 *const c_char, 847 *const c_char, 848 gpointer, 849 ) -> GType, 850 >; 851 pub type GDBusSignalCallback = Option< 852 unsafe extern "C" fn( 853 *mut GDBusConnection, 854 *const c_char, 855 *const c_char, 856 *const c_char, 857 *const c_char, 858 *mut glib::GVariant, 859 gpointer, 860 ), 861 >; 862 pub type GDBusSubtreeDispatchFunc = Option< 863 unsafe extern "C" fn( 864 *mut GDBusConnection, 865 *const c_char, 866 *const c_char, 867 *const c_char, 868 *const c_char, 869 *mut gpointer, 870 gpointer, 871 ) -> *const GDBusInterfaceVTable, 872 >; 873 pub type GDBusSubtreeEnumerateFunc = Option< 874 unsafe extern "C" fn( 875 *mut GDBusConnection, 876 *const c_char, 877 *const c_char, 878 gpointer, 879 ) -> *mut *mut c_char, 880 >; 881 pub type GDBusSubtreeIntrospectFunc = Option< 882 unsafe extern "C" fn( 883 *mut GDBusConnection, 884 *const c_char, 885 *const c_char, 886 *const c_char, 887 gpointer, 888 ) -> *mut *mut GDBusInterfaceInfo, 889 >; 890 pub type GDatagramBasedSourceFunc = 891 Option<unsafe extern "C" fn(*mut GDatagramBased, glib::GIOCondition, gpointer) -> gboolean>; 892 pub type GDesktopAppLaunchCallback = 893 Option<unsafe extern "C" fn(*mut GDesktopAppInfo, glib::GPid, gpointer)>; 894 pub type GFileMeasureProgressCallback = 895 Option<unsafe extern "C" fn(gboolean, u64, u64, u64, gpointer)>; 896 pub type GFileProgressCallback = Option<unsafe extern "C" fn(i64, i64, gpointer)>; 897 pub type GFileReadMoreCallback = 898 Option<unsafe extern "C" fn(*const c_char, i64, gpointer) -> gboolean>; 899 pub type GIOSchedulerJobFunc = 900 Option<unsafe extern "C" fn(*mut GIOSchedulerJob, *mut GCancellable, gpointer) -> gboolean>; 901 pub type GPollableSourceFunc = 902 Option<unsafe extern "C" fn(*mut gobject::GObject, gpointer) -> gboolean>; 903 pub type GReallocFunc = Option<unsafe extern "C" fn(gpointer, size_t) -> gpointer>; 904 pub type GSettingsBindGetMapping = 905 Option<unsafe extern "C" fn(*mut gobject::GValue, *mut glib::GVariant, gpointer) -> gboolean>; 906 pub type GSettingsBindSetMapping = Option< 907 unsafe extern "C" fn( 908 *const gobject::GValue, 909 *const glib::GVariantType, 910 gpointer, 911 ) -> *mut glib::GVariant, 912 >; 913 pub type GSettingsGetMapping = 914 Option<unsafe extern "C" fn(*mut glib::GVariant, *mut gpointer, gpointer) -> gboolean>; 915 pub type GSimpleAsyncThreadFunc = 916 Option<unsafe extern "C" fn(*mut GSimpleAsyncResult, *mut gobject::GObject, *mut GCancellable)>; 917 pub type GSocketSourceFunc = 918 Option<unsafe extern "C" fn(*mut GSocket, glib::GIOCondition, gpointer) -> gboolean>; 919 pub type GTaskThreadFunc = 920 Option<unsafe extern "C" fn(*mut GTask, *mut gobject::GObject, gpointer, *mut GCancellable)>; 921 pub type GVfsFileLookupFunc = 922 Option<unsafe extern "C" fn(*mut GVfs, *const c_char, gpointer) -> *mut GFile>; 923 924 // Records 925 #[repr(C)] 926 #[derive(Copy, Clone)] 927 pub struct GActionEntry { 928 pub name: *const c_char, 929 pub activate: Option<unsafe extern "C" fn(*mut GSimpleAction, *mut glib::GVariant, gpointer)>, 930 pub parameter_type: *const c_char, 931 pub state: *const c_char, 932 pub change_state: 933 Option<unsafe extern "C" fn(*mut GSimpleAction, *mut glib::GVariant, gpointer)>, 934 pub padding: [size_t; 3], 935 } 936 937 impl ::std::fmt::Debug for GActionEntry { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result938 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 939 f.debug_struct(&format!("GActionEntry @ {:?}", self as *const _)) 940 .field("name", &self.name) 941 .field("activate", &self.activate) 942 .field("parameter_type", &self.parameter_type) 943 .field("state", &self.state) 944 .field("change_state", &self.change_state) 945 .finish() 946 } 947 } 948 949 #[repr(C)] 950 #[derive(Copy, Clone)] 951 pub struct GActionGroupInterface { 952 pub g_iface: gobject::GTypeInterface, 953 pub has_action: Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> gboolean>, 954 pub list_actions: Option<unsafe extern "C" fn(*mut GActionGroup) -> *mut *mut c_char>, 955 pub get_action_enabled: 956 Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> gboolean>, 957 pub get_action_parameter_type: 958 Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *const glib::GVariantType>, 959 pub get_action_state_type: 960 Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *const glib::GVariantType>, 961 pub get_action_state_hint: 962 Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *mut glib::GVariant>, 963 pub get_action_state: 964 Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char) -> *mut glib::GVariant>, 965 pub change_action_state: 966 Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, *mut glib::GVariant)>, 967 pub activate_action: 968 Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, *mut glib::GVariant)>, 969 pub action_added: Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char)>, 970 pub action_removed: Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char)>, 971 pub action_enabled_changed: 972 Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, gboolean)>, 973 pub action_state_changed: 974 Option<unsafe extern "C" fn(*mut GActionGroup, *const c_char, *mut glib::GVariant)>, 975 pub query_action: Option< 976 unsafe extern "C" fn( 977 *mut GActionGroup, 978 *const c_char, 979 *mut gboolean, 980 *mut *const glib::GVariantType, 981 *mut *const glib::GVariantType, 982 *mut *mut glib::GVariant, 983 *mut *mut glib::GVariant, 984 ) -> gboolean, 985 >, 986 } 987 988 impl ::std::fmt::Debug for GActionGroupInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result989 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 990 f.debug_struct(&format!("GActionGroupInterface @ {:?}", self as *const _)) 991 .field("g_iface", &self.g_iface) 992 .field("has_action", &self.has_action) 993 .field("list_actions", &self.list_actions) 994 .field("get_action_enabled", &self.get_action_enabled) 995 .field("get_action_parameter_type", &self.get_action_parameter_type) 996 .field("get_action_state_type", &self.get_action_state_type) 997 .field("get_action_state_hint", &self.get_action_state_hint) 998 .field("get_action_state", &self.get_action_state) 999 .field("change_action_state", &self.change_action_state) 1000 .field("activate_action", &self.activate_action) 1001 .field("action_added", &self.action_added) 1002 .field("action_removed", &self.action_removed) 1003 .field("action_enabled_changed", &self.action_enabled_changed) 1004 .field("action_state_changed", &self.action_state_changed) 1005 .field("query_action", &self.query_action) 1006 .finish() 1007 } 1008 } 1009 1010 #[repr(C)] 1011 #[derive(Copy, Clone)] 1012 pub struct GActionInterface { 1013 pub g_iface: gobject::GTypeInterface, 1014 pub get_name: Option<unsafe extern "C" fn(*mut GAction) -> *const c_char>, 1015 pub get_parameter_type: Option<unsafe extern "C" fn(*mut GAction) -> *const glib::GVariantType>, 1016 pub get_state_type: Option<unsafe extern "C" fn(*mut GAction) -> *const glib::GVariantType>, 1017 pub get_state_hint: Option<unsafe extern "C" fn(*mut GAction) -> *mut glib::GVariant>, 1018 pub get_enabled: Option<unsafe extern "C" fn(*mut GAction) -> gboolean>, 1019 pub get_state: Option<unsafe extern "C" fn(*mut GAction) -> *mut glib::GVariant>, 1020 pub change_state: Option<unsafe extern "C" fn(*mut GAction, *mut glib::GVariant)>, 1021 pub activate: Option<unsafe extern "C" fn(*mut GAction, *mut glib::GVariant)>, 1022 } 1023 1024 impl ::std::fmt::Debug for GActionInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1025 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1026 f.debug_struct(&format!("GActionInterface @ {:?}", self as *const _)) 1027 .field("g_iface", &self.g_iface) 1028 .field("get_name", &self.get_name) 1029 .field("get_parameter_type", &self.get_parameter_type) 1030 .field("get_state_type", &self.get_state_type) 1031 .field("get_state_hint", &self.get_state_hint) 1032 .field("get_enabled", &self.get_enabled) 1033 .field("get_state", &self.get_state) 1034 .field("change_state", &self.change_state) 1035 .field("activate", &self.activate) 1036 .finish() 1037 } 1038 } 1039 1040 #[repr(C)] 1041 #[derive(Copy, Clone)] 1042 pub struct GActionMapInterface { 1043 pub g_iface: gobject::GTypeInterface, 1044 pub lookup_action: Option<unsafe extern "C" fn(*mut GActionMap, *const c_char) -> *mut GAction>, 1045 pub add_action: Option<unsafe extern "C" fn(*mut GActionMap, *mut GAction)>, 1046 pub remove_action: Option<unsafe extern "C" fn(*mut GActionMap, *const c_char)>, 1047 } 1048 1049 impl ::std::fmt::Debug for GActionMapInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1050 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1051 f.debug_struct(&format!("GActionMapInterface @ {:?}", self as *const _)) 1052 .field("g_iface", &self.g_iface) 1053 .field("lookup_action", &self.lookup_action) 1054 .field("add_action", &self.add_action) 1055 .field("remove_action", &self.remove_action) 1056 .finish() 1057 } 1058 } 1059 1060 #[repr(C)] 1061 #[derive(Copy, Clone)] 1062 pub struct GAppInfoIface { 1063 pub g_iface: gobject::GTypeInterface, 1064 pub dup: Option<unsafe extern "C" fn(*mut GAppInfo) -> *mut GAppInfo>, 1065 pub equal: Option<unsafe extern "C" fn(*mut GAppInfo, *mut GAppInfo) -> gboolean>, 1066 pub get_id: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>, 1067 pub get_name: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>, 1068 pub get_description: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>, 1069 pub get_executable: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>, 1070 pub get_icon: Option<unsafe extern "C" fn(*mut GAppInfo) -> *mut GIcon>, 1071 pub launch: Option< 1072 unsafe extern "C" fn( 1073 *mut GAppInfo, 1074 *mut glib::GList, 1075 *mut GAppLaunchContext, 1076 *mut *mut glib::GError, 1077 ) -> gboolean, 1078 >, 1079 pub supports_uris: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>, 1080 pub supports_files: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>, 1081 pub launch_uris: Option< 1082 unsafe extern "C" fn( 1083 *mut GAppInfo, 1084 *mut glib::GList, 1085 *mut GAppLaunchContext, 1086 *mut *mut glib::GError, 1087 ) -> gboolean, 1088 >, 1089 pub should_show: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>, 1090 pub set_as_default_for_type: Option< 1091 unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean, 1092 >, 1093 pub set_as_default_for_extension: Option< 1094 unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean, 1095 >, 1096 pub add_supports_type: Option< 1097 unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean, 1098 >, 1099 pub can_remove_supports_type: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>, 1100 pub remove_supports_type: Option< 1101 unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean, 1102 >, 1103 pub can_delete: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>, 1104 pub do_delete: Option<unsafe extern "C" fn(*mut GAppInfo) -> gboolean>, 1105 pub get_commandline: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>, 1106 pub get_display_name: Option<unsafe extern "C" fn(*mut GAppInfo) -> *const c_char>, 1107 pub set_as_last_used_for_type: Option< 1108 unsafe extern "C" fn(*mut GAppInfo, *const c_char, *mut *mut glib::GError) -> gboolean, 1109 >, 1110 pub get_supported_types: Option<unsafe extern "C" fn(*mut GAppInfo) -> *mut *const c_char>, 1111 pub launch_uris_async: Option< 1112 unsafe extern "C" fn( 1113 *mut GAppInfo, 1114 *mut glib::GList, 1115 *mut GAppLaunchContext, 1116 *mut GCancellable, 1117 GAsyncReadyCallback, 1118 gpointer, 1119 ), 1120 >, 1121 pub launch_uris_finish: Option< 1122 unsafe extern "C" fn(*mut GAppInfo, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 1123 >, 1124 } 1125 1126 impl ::std::fmt::Debug for GAppInfoIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1127 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1128 f.debug_struct(&format!("GAppInfoIface @ {:?}", self as *const _)) 1129 .field("g_iface", &self.g_iface) 1130 .field("dup", &self.dup) 1131 .field("equal", &self.equal) 1132 .field("get_id", &self.get_id) 1133 .field("get_name", &self.get_name) 1134 .field("get_description", &self.get_description) 1135 .field("get_executable", &self.get_executable) 1136 .field("get_icon", &self.get_icon) 1137 .field("launch", &self.launch) 1138 .field("supports_uris", &self.supports_uris) 1139 .field("supports_files", &self.supports_files) 1140 .field("launch_uris", &self.launch_uris) 1141 .field("should_show", &self.should_show) 1142 .field("set_as_default_for_type", &self.set_as_default_for_type) 1143 .field( 1144 "set_as_default_for_extension", 1145 &self.set_as_default_for_extension, 1146 ) 1147 .field("add_supports_type", &self.add_supports_type) 1148 .field("can_remove_supports_type", &self.can_remove_supports_type) 1149 .field("remove_supports_type", &self.remove_supports_type) 1150 .field("can_delete", &self.can_delete) 1151 .field("do_delete", &self.do_delete) 1152 .field("get_commandline", &self.get_commandline) 1153 .field("get_display_name", &self.get_display_name) 1154 .field("set_as_last_used_for_type", &self.set_as_last_used_for_type) 1155 .field("get_supported_types", &self.get_supported_types) 1156 .field("launch_uris_async", &self.launch_uris_async) 1157 .field("launch_uris_finish", &self.launch_uris_finish) 1158 .finish() 1159 } 1160 } 1161 1162 #[repr(C)] 1163 #[derive(Copy, Clone)] 1164 pub struct GAppLaunchContextClass { 1165 pub parent_class: gobject::GObjectClass, 1166 pub get_display: Option< 1167 unsafe extern "C" fn( 1168 *mut GAppLaunchContext, 1169 *mut GAppInfo, 1170 *mut glib::GList, 1171 ) -> *mut c_char, 1172 >, 1173 pub get_startup_notify_id: Option< 1174 unsafe extern "C" fn( 1175 *mut GAppLaunchContext, 1176 *mut GAppInfo, 1177 *mut glib::GList, 1178 ) -> *mut c_char, 1179 >, 1180 pub launch_failed: Option<unsafe extern "C" fn(*mut GAppLaunchContext, *const c_char)>, 1181 pub launched: 1182 Option<unsafe extern "C" fn(*mut GAppLaunchContext, *mut GAppInfo, *mut glib::GVariant)>, 1183 pub _g_reserved1: Option<unsafe extern "C" fn()>, 1184 pub _g_reserved2: Option<unsafe extern "C" fn()>, 1185 pub _g_reserved3: Option<unsafe extern "C" fn()>, 1186 pub _g_reserved4: Option<unsafe extern "C" fn()>, 1187 } 1188 1189 impl ::std::fmt::Debug for GAppLaunchContextClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1190 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1191 f.debug_struct(&format!("GAppLaunchContextClass @ {:?}", self as *const _)) 1192 .field("parent_class", &self.parent_class) 1193 .field("get_display", &self.get_display) 1194 .field("get_startup_notify_id", &self.get_startup_notify_id) 1195 .field("launch_failed", &self.launch_failed) 1196 .field("launched", &self.launched) 1197 .field("_g_reserved1", &self._g_reserved1) 1198 .field("_g_reserved2", &self._g_reserved2) 1199 .field("_g_reserved3", &self._g_reserved3) 1200 .field("_g_reserved4", &self._g_reserved4) 1201 .finish() 1202 } 1203 } 1204 1205 #[repr(C)] 1206 pub struct _GAppLaunchContextPrivate(c_void); 1207 1208 pub type GAppLaunchContextPrivate = *mut _GAppLaunchContextPrivate; 1209 1210 #[repr(C)] 1211 #[derive(Copy, Clone)] 1212 pub struct GApplicationClass { 1213 pub parent_class: gobject::GObjectClass, 1214 pub startup: Option<unsafe extern "C" fn(*mut GApplication)>, 1215 pub activate: Option<unsafe extern "C" fn(*mut GApplication)>, 1216 pub open: 1217 Option<unsafe extern "C" fn(*mut GApplication, *mut *mut GFile, c_int, *const c_char)>, 1218 pub command_line: 1219 Option<unsafe extern "C" fn(*mut GApplication, *mut GApplicationCommandLine) -> c_int>, 1220 pub local_command_line: Option< 1221 unsafe extern "C" fn(*mut GApplication, *mut *mut *mut c_char, *mut c_int) -> gboolean, 1222 >, 1223 pub before_emit: Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariant)>, 1224 pub after_emit: Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariant)>, 1225 pub add_platform_data: 1226 Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariantBuilder)>, 1227 pub quit_mainloop: Option<unsafe extern "C" fn(*mut GApplication)>, 1228 pub run_mainloop: Option<unsafe extern "C" fn(*mut GApplication)>, 1229 pub shutdown: Option<unsafe extern "C" fn(*mut GApplication)>, 1230 pub dbus_register: Option< 1231 unsafe extern "C" fn( 1232 *mut GApplication, 1233 *mut GDBusConnection, 1234 *const c_char, 1235 *mut *mut glib::GError, 1236 ) -> gboolean, 1237 >, 1238 pub dbus_unregister: 1239 Option<unsafe extern "C" fn(*mut GApplication, *mut GDBusConnection, *const c_char)>, 1240 pub handle_local_options: 1241 Option<unsafe extern "C" fn(*mut GApplication, *mut glib::GVariantDict) -> c_int>, 1242 pub name_lost: Option<unsafe extern "C" fn(*mut GApplication) -> gboolean>, 1243 pub padding: [gpointer; 7], 1244 } 1245 1246 impl ::std::fmt::Debug for GApplicationClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1247 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1248 f.debug_struct(&format!("GApplicationClass @ {:?}", self as *const _)) 1249 .field("startup", &self.startup) 1250 .field("activate", &self.activate) 1251 .field("open", &self.open) 1252 .field("command_line", &self.command_line) 1253 .field("local_command_line", &self.local_command_line) 1254 .field("before_emit", &self.before_emit) 1255 .field("after_emit", &self.after_emit) 1256 .field("add_platform_data", &self.add_platform_data) 1257 .field("quit_mainloop", &self.quit_mainloop) 1258 .field("run_mainloop", &self.run_mainloop) 1259 .field("shutdown", &self.shutdown) 1260 .field("dbus_register", &self.dbus_register) 1261 .field("dbus_unregister", &self.dbus_unregister) 1262 .field("handle_local_options", &self.handle_local_options) 1263 .field("name_lost", &self.name_lost) 1264 .finish() 1265 } 1266 } 1267 1268 #[repr(C)] 1269 #[derive(Copy, Clone)] 1270 pub struct GApplicationCommandLineClass { 1271 pub parent_class: gobject::GObjectClass, 1272 pub print_literal: Option<unsafe extern "C" fn(*mut GApplicationCommandLine, *const c_char)>, 1273 pub printerr_literal: Option<unsafe extern "C" fn(*mut GApplicationCommandLine, *const c_char)>, 1274 pub get_stdin: Option<unsafe extern "C" fn(*mut GApplicationCommandLine) -> *mut GInputStream>, 1275 pub padding: [gpointer; 11], 1276 } 1277 1278 impl ::std::fmt::Debug for GApplicationCommandLineClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1279 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1280 f.debug_struct(&format!( 1281 "GApplicationCommandLineClass @ {:?}", 1282 self as *const _ 1283 )) 1284 .field("print_literal", &self.print_literal) 1285 .field("printerr_literal", &self.printerr_literal) 1286 .field("get_stdin", &self.get_stdin) 1287 .finish() 1288 } 1289 } 1290 1291 #[repr(C)] 1292 pub struct _GApplicationCommandLinePrivate(c_void); 1293 1294 pub type GApplicationCommandLinePrivate = *mut _GApplicationCommandLinePrivate; 1295 1296 #[repr(C)] 1297 pub struct _GApplicationPrivate(c_void); 1298 1299 pub type GApplicationPrivate = *mut _GApplicationPrivate; 1300 1301 #[repr(C)] 1302 #[derive(Copy, Clone)] 1303 pub struct GAsyncInitableIface { 1304 pub g_iface: gobject::GTypeInterface, 1305 pub init_async: Option< 1306 unsafe extern "C" fn( 1307 *mut GAsyncInitable, 1308 c_int, 1309 *mut GCancellable, 1310 GAsyncReadyCallback, 1311 gpointer, 1312 ), 1313 >, 1314 pub init_finish: Option< 1315 unsafe extern "C" fn( 1316 *mut GAsyncInitable, 1317 *mut GAsyncResult, 1318 *mut *mut glib::GError, 1319 ) -> gboolean, 1320 >, 1321 } 1322 1323 impl ::std::fmt::Debug for GAsyncInitableIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1324 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1325 f.debug_struct(&format!("GAsyncInitableIface @ {:?}", self as *const _)) 1326 .field("g_iface", &self.g_iface) 1327 .field("init_async", &self.init_async) 1328 .field("init_finish", &self.init_finish) 1329 .finish() 1330 } 1331 } 1332 1333 #[repr(C)] 1334 #[derive(Copy, Clone)] 1335 pub struct GAsyncResultIface { 1336 pub g_iface: gobject::GTypeInterface, 1337 pub get_user_data: Option<unsafe extern "C" fn(*mut GAsyncResult) -> gpointer>, 1338 pub get_source_object: Option<unsafe extern "C" fn(*mut GAsyncResult) -> *mut gobject::GObject>, 1339 pub is_tagged: Option<unsafe extern "C" fn(*mut GAsyncResult, gpointer) -> gboolean>, 1340 } 1341 1342 impl ::std::fmt::Debug for GAsyncResultIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1343 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1344 f.debug_struct(&format!("GAsyncResultIface @ {:?}", self as *const _)) 1345 .field("g_iface", &self.g_iface) 1346 .field("get_user_data", &self.get_user_data) 1347 .field("get_source_object", &self.get_source_object) 1348 .field("is_tagged", &self.is_tagged) 1349 .finish() 1350 } 1351 } 1352 1353 #[repr(C)] 1354 #[derive(Copy, Clone)] 1355 pub struct GBufferedInputStreamClass { 1356 pub parent_class: GFilterInputStreamClass, 1357 pub fill: Option< 1358 unsafe extern "C" fn( 1359 *mut GBufferedInputStream, 1360 ssize_t, 1361 *mut GCancellable, 1362 *mut *mut glib::GError, 1363 ) -> ssize_t, 1364 >, 1365 pub fill_async: Option< 1366 unsafe extern "C" fn( 1367 *mut GBufferedInputStream, 1368 ssize_t, 1369 c_int, 1370 *mut GCancellable, 1371 GAsyncReadyCallback, 1372 gpointer, 1373 ), 1374 >, 1375 pub fill_finish: Option< 1376 unsafe extern "C" fn( 1377 *mut GBufferedInputStream, 1378 *mut GAsyncResult, 1379 *mut *mut glib::GError, 1380 ) -> ssize_t, 1381 >, 1382 pub _g_reserved1: Option<unsafe extern "C" fn()>, 1383 pub _g_reserved2: Option<unsafe extern "C" fn()>, 1384 pub _g_reserved3: Option<unsafe extern "C" fn()>, 1385 pub _g_reserved4: Option<unsafe extern "C" fn()>, 1386 pub _g_reserved5: Option<unsafe extern "C" fn()>, 1387 } 1388 1389 impl ::std::fmt::Debug for GBufferedInputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1390 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1391 f.debug_struct(&format!( 1392 "GBufferedInputStreamClass @ {:?}", 1393 self as *const _ 1394 )) 1395 .field("parent_class", &self.parent_class) 1396 .field("fill", &self.fill) 1397 .field("fill_async", &self.fill_async) 1398 .field("fill_finish", &self.fill_finish) 1399 .field("_g_reserved1", &self._g_reserved1) 1400 .field("_g_reserved2", &self._g_reserved2) 1401 .field("_g_reserved3", &self._g_reserved3) 1402 .field("_g_reserved4", &self._g_reserved4) 1403 .field("_g_reserved5", &self._g_reserved5) 1404 .finish() 1405 } 1406 } 1407 1408 #[repr(C)] 1409 pub struct _GBufferedInputStreamPrivate(c_void); 1410 1411 pub type GBufferedInputStreamPrivate = *mut _GBufferedInputStreamPrivate; 1412 1413 #[repr(C)] 1414 #[derive(Copy, Clone)] 1415 pub struct GBufferedOutputStreamClass { 1416 pub parent_class: GFilterOutputStreamClass, 1417 pub _g_reserved1: Option<unsafe extern "C" fn()>, 1418 pub _g_reserved2: Option<unsafe extern "C" fn()>, 1419 } 1420 1421 impl ::std::fmt::Debug for GBufferedOutputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1422 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1423 f.debug_struct(&format!( 1424 "GBufferedOutputStreamClass @ {:?}", 1425 self as *const _ 1426 )) 1427 .field("parent_class", &self.parent_class) 1428 .field("_g_reserved1", &self._g_reserved1) 1429 .field("_g_reserved2", &self._g_reserved2) 1430 .finish() 1431 } 1432 } 1433 1434 #[repr(C)] 1435 pub struct _GBufferedOutputStreamPrivate(c_void); 1436 1437 pub type GBufferedOutputStreamPrivate = *mut _GBufferedOutputStreamPrivate; 1438 1439 #[repr(C)] 1440 #[derive(Copy, Clone)] 1441 pub struct GCancellableClass { 1442 pub parent_class: gobject::GObjectClass, 1443 pub cancelled: Option<unsafe extern "C" fn(*mut GCancellable)>, 1444 pub _g_reserved1: Option<unsafe extern "C" fn()>, 1445 pub _g_reserved2: Option<unsafe extern "C" fn()>, 1446 pub _g_reserved3: Option<unsafe extern "C" fn()>, 1447 pub _g_reserved4: Option<unsafe extern "C" fn()>, 1448 pub _g_reserved5: Option<unsafe extern "C" fn()>, 1449 } 1450 1451 impl ::std::fmt::Debug for GCancellableClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1452 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1453 f.debug_struct(&format!("GCancellableClass @ {:?}", self as *const _)) 1454 .field("parent_class", &self.parent_class) 1455 .field("cancelled", &self.cancelled) 1456 .field("_g_reserved1", &self._g_reserved1) 1457 .field("_g_reserved2", &self._g_reserved2) 1458 .field("_g_reserved3", &self._g_reserved3) 1459 .field("_g_reserved4", &self._g_reserved4) 1460 .field("_g_reserved5", &self._g_reserved5) 1461 .finish() 1462 } 1463 } 1464 1465 #[repr(C)] 1466 pub struct _GCancellablePrivate(c_void); 1467 1468 pub type GCancellablePrivate = *mut _GCancellablePrivate; 1469 1470 #[repr(C)] 1471 #[derive(Copy, Clone)] 1472 pub struct GCharsetConverterClass { 1473 pub parent_class: gobject::GObjectClass, 1474 } 1475 1476 impl ::std::fmt::Debug for GCharsetConverterClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1477 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1478 f.debug_struct(&format!("GCharsetConverterClass @ {:?}", self as *const _)) 1479 .field("parent_class", &self.parent_class) 1480 .finish() 1481 } 1482 } 1483 1484 #[repr(C)] 1485 #[derive(Copy, Clone)] 1486 pub struct GConverterIface { 1487 pub g_iface: gobject::GTypeInterface, 1488 pub convert: Option< 1489 unsafe extern "C" fn( 1490 *mut GConverter, 1491 *mut u8, 1492 size_t, 1493 *mut u8, 1494 size_t, 1495 GConverterFlags, 1496 *mut size_t, 1497 *mut size_t, 1498 *mut *mut glib::GError, 1499 ) -> GConverterResult, 1500 >, 1501 pub reset: Option<unsafe extern "C" fn(*mut GConverter)>, 1502 } 1503 1504 impl ::std::fmt::Debug for GConverterIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1505 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1506 f.debug_struct(&format!("GConverterIface @ {:?}", self as *const _)) 1507 .field("g_iface", &self.g_iface) 1508 .field("convert", &self.convert) 1509 .field("reset", &self.reset) 1510 .finish() 1511 } 1512 } 1513 1514 #[repr(C)] 1515 #[derive(Copy, Clone)] 1516 pub struct GConverterInputStreamClass { 1517 pub parent_class: GFilterInputStreamClass, 1518 pub _g_reserved1: Option<unsafe extern "C" fn()>, 1519 pub _g_reserved2: Option<unsafe extern "C" fn()>, 1520 pub _g_reserved3: Option<unsafe extern "C" fn()>, 1521 pub _g_reserved4: Option<unsafe extern "C" fn()>, 1522 pub _g_reserved5: Option<unsafe extern "C" fn()>, 1523 } 1524 1525 impl ::std::fmt::Debug for GConverterInputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1526 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1527 f.debug_struct(&format!( 1528 "GConverterInputStreamClass @ {:?}", 1529 self as *const _ 1530 )) 1531 .field("parent_class", &self.parent_class) 1532 .field("_g_reserved1", &self._g_reserved1) 1533 .field("_g_reserved2", &self._g_reserved2) 1534 .field("_g_reserved3", &self._g_reserved3) 1535 .field("_g_reserved4", &self._g_reserved4) 1536 .field("_g_reserved5", &self._g_reserved5) 1537 .finish() 1538 } 1539 } 1540 1541 #[repr(C)] 1542 pub struct _GConverterInputStreamPrivate(c_void); 1543 1544 pub type GConverterInputStreamPrivate = *mut _GConverterInputStreamPrivate; 1545 1546 #[repr(C)] 1547 #[derive(Copy, Clone)] 1548 pub struct GConverterOutputStreamClass { 1549 pub parent_class: GFilterOutputStreamClass, 1550 pub _g_reserved1: Option<unsafe extern "C" fn()>, 1551 pub _g_reserved2: Option<unsafe extern "C" fn()>, 1552 pub _g_reserved3: Option<unsafe extern "C" fn()>, 1553 pub _g_reserved4: Option<unsafe extern "C" fn()>, 1554 pub _g_reserved5: Option<unsafe extern "C" fn()>, 1555 } 1556 1557 impl ::std::fmt::Debug for GConverterOutputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1558 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1559 f.debug_struct(&format!( 1560 "GConverterOutputStreamClass @ {:?}", 1561 self as *const _ 1562 )) 1563 .field("parent_class", &self.parent_class) 1564 .field("_g_reserved1", &self._g_reserved1) 1565 .field("_g_reserved2", &self._g_reserved2) 1566 .field("_g_reserved3", &self._g_reserved3) 1567 .field("_g_reserved4", &self._g_reserved4) 1568 .field("_g_reserved5", &self._g_reserved5) 1569 .finish() 1570 } 1571 } 1572 1573 #[repr(C)] 1574 pub struct _GConverterOutputStreamPrivate(c_void); 1575 1576 pub type GConverterOutputStreamPrivate = *mut _GConverterOutputStreamPrivate; 1577 1578 #[repr(C)] 1579 pub struct _GCredentialsClass(c_void); 1580 1581 pub type GCredentialsClass = *mut _GCredentialsClass; 1582 1583 #[repr(C)] 1584 #[derive(Copy, Clone)] 1585 pub struct GDBusAnnotationInfo { 1586 pub ref_count: c_int, 1587 pub key: *mut c_char, 1588 pub value: *mut c_char, 1589 pub annotations: *mut *mut GDBusAnnotationInfo, 1590 } 1591 1592 impl ::std::fmt::Debug for GDBusAnnotationInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1593 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1594 f.debug_struct(&format!("GDBusAnnotationInfo @ {:?}", self as *const _)) 1595 .field("key", &self.key) 1596 .field("value", &self.value) 1597 .field("annotations", &self.annotations) 1598 .finish() 1599 } 1600 } 1601 1602 #[repr(C)] 1603 #[derive(Copy, Clone)] 1604 pub struct GDBusArgInfo { 1605 pub ref_count: c_int, 1606 pub name: *mut c_char, 1607 pub signature: *mut c_char, 1608 pub annotations: *mut *mut GDBusAnnotationInfo, 1609 } 1610 1611 impl ::std::fmt::Debug for GDBusArgInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1612 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1613 f.debug_struct(&format!("GDBusArgInfo @ {:?}", self as *const _)) 1614 .field("name", &self.name) 1615 .field("signature", &self.signature) 1616 .field("annotations", &self.annotations) 1617 .finish() 1618 } 1619 } 1620 1621 #[repr(C)] 1622 #[derive(Copy, Clone)] 1623 pub struct GDBusErrorEntry { 1624 pub error_code: c_int, 1625 pub dbus_error_name: *const c_char, 1626 } 1627 1628 impl ::std::fmt::Debug for GDBusErrorEntry { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1629 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1630 f.debug_struct(&format!("GDBusErrorEntry @ {:?}", self as *const _)) 1631 .field("error_code", &self.error_code) 1632 .field("dbus_error_name", &self.dbus_error_name) 1633 .finish() 1634 } 1635 } 1636 1637 #[repr(C)] 1638 #[derive(Copy, Clone)] 1639 pub struct GDBusInterfaceIface { 1640 pub parent_iface: gobject::GTypeInterface, 1641 pub get_info: Option<unsafe extern "C" fn(*mut GDBusInterface) -> *mut GDBusInterfaceInfo>, 1642 pub get_object: Option<unsafe extern "C" fn(*mut GDBusInterface) -> *mut GDBusObject>, 1643 pub set_object: Option<unsafe extern "C" fn(*mut GDBusInterface, *mut GDBusObject)>, 1644 pub dup_object: Option<unsafe extern "C" fn(*mut GDBusInterface) -> *mut GDBusObject>, 1645 } 1646 1647 impl ::std::fmt::Debug for GDBusInterfaceIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1648 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1649 f.debug_struct(&format!("GDBusInterfaceIface @ {:?}", self as *const _)) 1650 .field("parent_iface", &self.parent_iface) 1651 .field("get_info", &self.get_info) 1652 .field("get_object", &self.get_object) 1653 .field("set_object", &self.set_object) 1654 .field("dup_object", &self.dup_object) 1655 .finish() 1656 } 1657 } 1658 1659 #[repr(C)] 1660 #[derive(Copy, Clone)] 1661 pub struct GDBusInterfaceInfo { 1662 pub ref_count: c_int, 1663 pub name: *mut c_char, 1664 pub methods: *mut *mut GDBusMethodInfo, 1665 pub signals: *mut *mut GDBusSignalInfo, 1666 pub properties: *mut *mut GDBusPropertyInfo, 1667 pub annotations: *mut *mut GDBusAnnotationInfo, 1668 } 1669 1670 impl ::std::fmt::Debug for GDBusInterfaceInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1671 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1672 f.debug_struct(&format!("GDBusInterfaceInfo @ {:?}", self as *const _)) 1673 .field("name", &self.name) 1674 .field("methods", &self.methods) 1675 .field("signals", &self.signals) 1676 .field("properties", &self.properties) 1677 .field("annotations", &self.annotations) 1678 .finish() 1679 } 1680 } 1681 1682 #[repr(C)] 1683 #[derive(Copy, Clone)] 1684 pub struct GDBusInterfaceSkeletonClass { 1685 pub parent_class: gobject::GObjectClass, 1686 pub get_info: 1687 Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton) -> *mut GDBusInterfaceInfo>, 1688 pub get_vtable: 1689 Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton) -> *mut GDBusInterfaceVTable>, 1690 pub get_properties: 1691 Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton) -> *mut glib::GVariant>, 1692 pub flush: Option<unsafe extern "C" fn(*mut GDBusInterfaceSkeleton)>, 1693 pub vfunc_padding: [gpointer; 8], 1694 pub g_authorize_method: Option< 1695 unsafe extern "C" fn(*mut GDBusInterfaceSkeleton, *mut GDBusMethodInvocation) -> gboolean, 1696 >, 1697 pub signal_padding: [gpointer; 8], 1698 } 1699 1700 impl ::std::fmt::Debug for GDBusInterfaceSkeletonClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1701 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1702 f.debug_struct(&format!( 1703 "GDBusInterfaceSkeletonClass @ {:?}", 1704 self as *const _ 1705 )) 1706 .field("parent_class", &self.parent_class) 1707 .field("get_info", &self.get_info) 1708 .field("get_vtable", &self.get_vtable) 1709 .field("get_properties", &self.get_properties) 1710 .field("flush", &self.flush) 1711 .field("g_authorize_method", &self.g_authorize_method) 1712 .finish() 1713 } 1714 } 1715 1716 #[repr(C)] 1717 pub struct _GDBusInterfaceSkeletonPrivate(c_void); 1718 1719 pub type GDBusInterfaceSkeletonPrivate = *mut _GDBusInterfaceSkeletonPrivate; 1720 1721 #[repr(C)] 1722 #[derive(Copy, Clone)] 1723 pub struct GDBusInterfaceVTable { 1724 pub method_call: GDBusInterfaceMethodCallFunc, 1725 pub get_property: GDBusInterfaceGetPropertyFunc, 1726 pub set_property: GDBusInterfaceSetPropertyFunc, 1727 pub padding: [gpointer; 8], 1728 } 1729 1730 impl ::std::fmt::Debug for GDBusInterfaceVTable { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1731 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1732 f.debug_struct(&format!("GDBusInterfaceVTable @ {:?}", self as *const _)) 1733 .field("method_call", &self.method_call) 1734 .field("get_property", &self.get_property) 1735 .field("set_property", &self.set_property) 1736 .finish() 1737 } 1738 } 1739 1740 #[repr(C)] 1741 #[derive(Copy, Clone)] 1742 pub struct GDBusMethodInfo { 1743 pub ref_count: c_int, 1744 pub name: *mut c_char, 1745 pub in_args: *mut *mut GDBusArgInfo, 1746 pub out_args: *mut *mut GDBusArgInfo, 1747 pub annotations: *mut *mut GDBusAnnotationInfo, 1748 } 1749 1750 impl ::std::fmt::Debug for GDBusMethodInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1751 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1752 f.debug_struct(&format!("GDBusMethodInfo @ {:?}", self as *const _)) 1753 .field("name", &self.name) 1754 .field("in_args", &self.in_args) 1755 .field("out_args", &self.out_args) 1756 .field("annotations", &self.annotations) 1757 .finish() 1758 } 1759 } 1760 1761 #[repr(C)] 1762 #[derive(Copy, Clone)] 1763 pub struct GDBusNodeInfo { 1764 pub ref_count: c_int, 1765 pub path: *mut c_char, 1766 pub interfaces: *mut *mut GDBusInterfaceInfo, 1767 pub nodes: *mut *mut GDBusNodeInfo, 1768 pub annotations: *mut *mut GDBusAnnotationInfo, 1769 } 1770 1771 impl ::std::fmt::Debug for GDBusNodeInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1772 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1773 f.debug_struct(&format!("GDBusNodeInfo @ {:?}", self as *const _)) 1774 .field("path", &self.path) 1775 .field("interfaces", &self.interfaces) 1776 .field("nodes", &self.nodes) 1777 .field("annotations", &self.annotations) 1778 .finish() 1779 } 1780 } 1781 1782 #[repr(C)] 1783 #[derive(Copy, Clone)] 1784 pub struct GDBusObjectIface { 1785 pub parent_iface: gobject::GTypeInterface, 1786 pub get_object_path: Option<unsafe extern "C" fn(*mut GDBusObject) -> *const c_char>, 1787 pub get_interfaces: Option<unsafe extern "C" fn(*mut GDBusObject) -> *mut glib::GList>, 1788 pub get_interface: 1789 Option<unsafe extern "C" fn(*mut GDBusObject, *const c_char) -> *mut GDBusInterface>, 1790 pub interface_added: Option<unsafe extern "C" fn(*mut GDBusObject, *mut GDBusInterface)>, 1791 pub interface_removed: Option<unsafe extern "C" fn(*mut GDBusObject, *mut GDBusInterface)>, 1792 } 1793 1794 impl ::std::fmt::Debug for GDBusObjectIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1795 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1796 f.debug_struct(&format!("GDBusObjectIface @ {:?}", self as *const _)) 1797 .field("parent_iface", &self.parent_iface) 1798 .field("get_object_path", &self.get_object_path) 1799 .field("get_interfaces", &self.get_interfaces) 1800 .field("get_interface", &self.get_interface) 1801 .field("interface_added", &self.interface_added) 1802 .field("interface_removed", &self.interface_removed) 1803 .finish() 1804 } 1805 } 1806 1807 #[repr(C)] 1808 #[derive(Copy, Clone)] 1809 pub struct GDBusObjectManagerClientClass { 1810 pub parent_class: gobject::GObjectClass, 1811 pub interface_proxy_signal: Option< 1812 unsafe extern "C" fn( 1813 *mut GDBusObjectManagerClient, 1814 *mut GDBusObjectProxy, 1815 *mut GDBusProxy, 1816 *const c_char, 1817 *const c_char, 1818 *mut glib::GVariant, 1819 ), 1820 >, 1821 pub interface_proxy_properties_changed: Option< 1822 unsafe extern "C" fn( 1823 *mut GDBusObjectManagerClient, 1824 *mut GDBusObjectProxy, 1825 *mut GDBusProxy, 1826 *mut glib::GVariant, 1827 *const *const c_char, 1828 ), 1829 >, 1830 pub padding: [gpointer; 8], 1831 } 1832 1833 impl ::std::fmt::Debug for GDBusObjectManagerClientClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1834 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1835 f.debug_struct(&format!( 1836 "GDBusObjectManagerClientClass @ {:?}", 1837 self as *const _ 1838 )) 1839 .field("parent_class", &self.parent_class) 1840 .field("interface_proxy_signal", &self.interface_proxy_signal) 1841 .field( 1842 "interface_proxy_properties_changed", 1843 &self.interface_proxy_properties_changed, 1844 ) 1845 .finish() 1846 } 1847 } 1848 1849 #[repr(C)] 1850 pub struct _GDBusObjectManagerClientPrivate(c_void); 1851 1852 pub type GDBusObjectManagerClientPrivate = *mut _GDBusObjectManagerClientPrivate; 1853 1854 #[repr(C)] 1855 #[derive(Copy, Clone)] 1856 pub struct GDBusObjectManagerIface { 1857 pub parent_iface: gobject::GTypeInterface, 1858 pub get_object_path: Option<unsafe extern "C" fn(*mut GDBusObjectManager) -> *const c_char>, 1859 pub get_objects: Option<unsafe extern "C" fn(*mut GDBusObjectManager) -> *mut glib::GList>, 1860 pub get_object: 1861 Option<unsafe extern "C" fn(*mut GDBusObjectManager, *const c_char) -> *mut GDBusObject>, 1862 pub get_interface: Option< 1863 unsafe extern "C" fn( 1864 *mut GDBusObjectManager, 1865 *const c_char, 1866 *const c_char, 1867 ) -> *mut GDBusInterface, 1868 >, 1869 pub object_added: Option<unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject)>, 1870 pub object_removed: Option<unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject)>, 1871 pub interface_added: Option< 1872 unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject, *mut GDBusInterface), 1873 >, 1874 pub interface_removed: Option< 1875 unsafe extern "C" fn(*mut GDBusObjectManager, *mut GDBusObject, *mut GDBusInterface), 1876 >, 1877 } 1878 1879 impl ::std::fmt::Debug for GDBusObjectManagerIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1880 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1881 f.debug_struct(&format!("GDBusObjectManagerIface @ {:?}", self as *const _)) 1882 .field("parent_iface", &self.parent_iface) 1883 .field("get_object_path", &self.get_object_path) 1884 .field("get_objects", &self.get_objects) 1885 .field("get_object", &self.get_object) 1886 .field("get_interface", &self.get_interface) 1887 .field("object_added", &self.object_added) 1888 .field("object_removed", &self.object_removed) 1889 .field("interface_added", &self.interface_added) 1890 .field("interface_removed", &self.interface_removed) 1891 .finish() 1892 } 1893 } 1894 1895 #[repr(C)] 1896 #[derive(Copy, Clone)] 1897 pub struct GDBusObjectManagerServerClass { 1898 pub parent_class: gobject::GObjectClass, 1899 pub padding: [gpointer; 8], 1900 } 1901 1902 impl ::std::fmt::Debug for GDBusObjectManagerServerClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1903 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1904 f.debug_struct(&format!( 1905 "GDBusObjectManagerServerClass @ {:?}", 1906 self as *const _ 1907 )) 1908 .field("parent_class", &self.parent_class) 1909 .finish() 1910 } 1911 } 1912 1913 #[repr(C)] 1914 pub struct _GDBusObjectManagerServerPrivate(c_void); 1915 1916 pub type GDBusObjectManagerServerPrivate = *mut _GDBusObjectManagerServerPrivate; 1917 1918 #[repr(C)] 1919 #[derive(Copy, Clone)] 1920 pub struct GDBusObjectProxyClass { 1921 pub parent_class: gobject::GObjectClass, 1922 pub padding: [gpointer; 8], 1923 } 1924 1925 impl ::std::fmt::Debug for GDBusObjectProxyClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1926 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1927 f.debug_struct(&format!("GDBusObjectProxyClass @ {:?}", self as *const _)) 1928 .field("parent_class", &self.parent_class) 1929 .finish() 1930 } 1931 } 1932 1933 #[repr(C)] 1934 pub struct _GDBusObjectProxyPrivate(c_void); 1935 1936 pub type GDBusObjectProxyPrivate = *mut _GDBusObjectProxyPrivate; 1937 1938 #[repr(C)] 1939 #[derive(Copy, Clone)] 1940 pub struct GDBusObjectSkeletonClass { 1941 pub parent_class: gobject::GObjectClass, 1942 pub authorize_method: Option< 1943 unsafe extern "C" fn( 1944 *mut GDBusObjectSkeleton, 1945 *mut GDBusInterfaceSkeleton, 1946 *mut GDBusMethodInvocation, 1947 ) -> gboolean, 1948 >, 1949 pub padding: [gpointer; 8], 1950 } 1951 1952 impl ::std::fmt::Debug for GDBusObjectSkeletonClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1953 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1954 f.debug_struct(&format!( 1955 "GDBusObjectSkeletonClass @ {:?}", 1956 self as *const _ 1957 )) 1958 .field("parent_class", &self.parent_class) 1959 .field("authorize_method", &self.authorize_method) 1960 .finish() 1961 } 1962 } 1963 1964 #[repr(C)] 1965 pub struct _GDBusObjectSkeletonPrivate(c_void); 1966 1967 pub type GDBusObjectSkeletonPrivate = *mut _GDBusObjectSkeletonPrivate; 1968 1969 #[repr(C)] 1970 #[derive(Copy, Clone)] 1971 pub struct GDBusPropertyInfo { 1972 pub ref_count: c_int, 1973 pub name: *mut c_char, 1974 pub signature: *mut c_char, 1975 pub flags: GDBusPropertyInfoFlags, 1976 pub annotations: *mut *mut GDBusAnnotationInfo, 1977 } 1978 1979 impl ::std::fmt::Debug for GDBusPropertyInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1980 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 1981 f.debug_struct(&format!("GDBusPropertyInfo @ {:?}", self as *const _)) 1982 .field("name", &self.name) 1983 .field("signature", &self.signature) 1984 .field("flags", &self.flags) 1985 .field("annotations", &self.annotations) 1986 .finish() 1987 } 1988 } 1989 1990 #[repr(C)] 1991 #[derive(Copy, Clone)] 1992 pub struct GDBusProxyClass { 1993 pub parent_class: gobject::GObjectClass, 1994 pub g_properties_changed: 1995 Option<unsafe extern "C" fn(*mut GDBusProxy, *mut glib::GVariant, *const *const c_char)>, 1996 pub g_signal: Option< 1997 unsafe extern "C" fn(*mut GDBusProxy, *const c_char, *const c_char, *mut glib::GVariant), 1998 >, 1999 pub padding: [gpointer; 32], 2000 } 2001 2002 impl ::std::fmt::Debug for GDBusProxyClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2003 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2004 f.debug_struct(&format!("GDBusProxyClass @ {:?}", self as *const _)) 2005 .field("g_properties_changed", &self.g_properties_changed) 2006 .field("g_signal", &self.g_signal) 2007 .finish() 2008 } 2009 } 2010 2011 #[repr(C)] 2012 pub struct _GDBusProxyPrivate(c_void); 2013 2014 pub type GDBusProxyPrivate = *mut _GDBusProxyPrivate; 2015 2016 #[repr(C)] 2017 #[derive(Copy, Clone)] 2018 pub struct GDBusSignalInfo { 2019 pub ref_count: c_int, 2020 pub name: *mut c_char, 2021 pub args: *mut *mut GDBusArgInfo, 2022 pub annotations: *mut *mut GDBusAnnotationInfo, 2023 } 2024 2025 impl ::std::fmt::Debug for GDBusSignalInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2026 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2027 f.debug_struct(&format!("GDBusSignalInfo @ {:?}", self as *const _)) 2028 .field("name", &self.name) 2029 .field("args", &self.args) 2030 .field("annotations", &self.annotations) 2031 .finish() 2032 } 2033 } 2034 2035 #[repr(C)] 2036 #[derive(Copy, Clone)] 2037 pub struct GDBusSubtreeVTable { 2038 pub enumerate: GDBusSubtreeEnumerateFunc, 2039 pub introspect: GDBusSubtreeIntrospectFunc, 2040 pub dispatch: GDBusSubtreeDispatchFunc, 2041 pub padding: [gpointer; 8], 2042 } 2043 2044 impl ::std::fmt::Debug for GDBusSubtreeVTable { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2045 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2046 f.debug_struct(&format!("GDBusSubtreeVTable @ {:?}", self as *const _)) 2047 .field("enumerate", &self.enumerate) 2048 .field("introspect", &self.introspect) 2049 .field("dispatch", &self.dispatch) 2050 .finish() 2051 } 2052 } 2053 2054 #[repr(C)] 2055 #[derive(Copy, Clone)] 2056 pub struct GDataInputStreamClass { 2057 pub parent_class: GBufferedInputStreamClass, 2058 pub _g_reserved1: Option<unsafe extern "C" fn()>, 2059 pub _g_reserved2: Option<unsafe extern "C" fn()>, 2060 pub _g_reserved3: Option<unsafe extern "C" fn()>, 2061 pub _g_reserved4: Option<unsafe extern "C" fn()>, 2062 pub _g_reserved5: Option<unsafe extern "C" fn()>, 2063 } 2064 2065 impl ::std::fmt::Debug for GDataInputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2066 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2067 f.debug_struct(&format!("GDataInputStreamClass @ {:?}", self as *const _)) 2068 .field("parent_class", &self.parent_class) 2069 .field("_g_reserved1", &self._g_reserved1) 2070 .field("_g_reserved2", &self._g_reserved2) 2071 .field("_g_reserved3", &self._g_reserved3) 2072 .field("_g_reserved4", &self._g_reserved4) 2073 .field("_g_reserved5", &self._g_reserved5) 2074 .finish() 2075 } 2076 } 2077 2078 #[repr(C)] 2079 pub struct _GDataInputStreamPrivate(c_void); 2080 2081 pub type GDataInputStreamPrivate = *mut _GDataInputStreamPrivate; 2082 2083 #[repr(C)] 2084 #[derive(Copy, Clone)] 2085 pub struct GDataOutputStreamClass { 2086 pub parent_class: GFilterOutputStreamClass, 2087 pub _g_reserved1: Option<unsafe extern "C" fn()>, 2088 pub _g_reserved2: Option<unsafe extern "C" fn()>, 2089 pub _g_reserved3: Option<unsafe extern "C" fn()>, 2090 pub _g_reserved4: Option<unsafe extern "C" fn()>, 2091 pub _g_reserved5: Option<unsafe extern "C" fn()>, 2092 } 2093 2094 impl ::std::fmt::Debug for GDataOutputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2095 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2096 f.debug_struct(&format!("GDataOutputStreamClass @ {:?}", self as *const _)) 2097 .field("parent_class", &self.parent_class) 2098 .field("_g_reserved1", &self._g_reserved1) 2099 .field("_g_reserved2", &self._g_reserved2) 2100 .field("_g_reserved3", &self._g_reserved3) 2101 .field("_g_reserved4", &self._g_reserved4) 2102 .field("_g_reserved5", &self._g_reserved5) 2103 .finish() 2104 } 2105 } 2106 2107 #[repr(C)] 2108 pub struct _GDataOutputStreamPrivate(c_void); 2109 2110 pub type GDataOutputStreamPrivate = *mut _GDataOutputStreamPrivate; 2111 2112 #[repr(C)] 2113 #[derive(Copy, Clone)] 2114 pub struct GDatagramBasedInterface { 2115 pub g_iface: gobject::GTypeInterface, 2116 pub receive_messages: Option< 2117 unsafe extern "C" fn( 2118 *mut GDatagramBased, 2119 *mut GInputMessage, 2120 c_uint, 2121 c_int, 2122 i64, 2123 *mut GCancellable, 2124 *mut *mut glib::GError, 2125 ) -> c_int, 2126 >, 2127 pub send_messages: Option< 2128 unsafe extern "C" fn( 2129 *mut GDatagramBased, 2130 *mut GOutputMessage, 2131 c_uint, 2132 c_int, 2133 i64, 2134 *mut GCancellable, 2135 *mut *mut glib::GError, 2136 ) -> c_int, 2137 >, 2138 pub create_source: Option< 2139 unsafe extern "C" fn( 2140 *mut GDatagramBased, 2141 glib::GIOCondition, 2142 *mut GCancellable, 2143 ) -> *mut glib::GSource, 2144 >, 2145 pub condition_check: 2146 Option<unsafe extern "C" fn(*mut GDatagramBased, glib::GIOCondition) -> glib::GIOCondition>, 2147 pub condition_wait: Option< 2148 unsafe extern "C" fn( 2149 *mut GDatagramBased, 2150 glib::GIOCondition, 2151 i64, 2152 *mut GCancellable, 2153 *mut *mut glib::GError, 2154 ) -> gboolean, 2155 >, 2156 } 2157 2158 impl ::std::fmt::Debug for GDatagramBasedInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2159 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2160 f.debug_struct(&format!("GDatagramBasedInterface @ {:?}", self as *const _)) 2161 .field("g_iface", &self.g_iface) 2162 .field("receive_messages", &self.receive_messages) 2163 .field("send_messages", &self.send_messages) 2164 .field("create_source", &self.create_source) 2165 .field("condition_check", &self.condition_check) 2166 .field("condition_wait", &self.condition_wait) 2167 .finish() 2168 } 2169 } 2170 2171 #[repr(C)] 2172 #[derive(Copy, Clone)] 2173 pub struct GDesktopAppInfoClass { 2174 pub parent_class: gobject::GObjectClass, 2175 } 2176 2177 impl ::std::fmt::Debug for GDesktopAppInfoClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2178 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2179 f.debug_struct(&format!("GDesktopAppInfoClass @ {:?}", self as *const _)) 2180 .field("parent_class", &self.parent_class) 2181 .finish() 2182 } 2183 } 2184 2185 #[repr(C)] 2186 #[derive(Copy, Clone)] 2187 pub struct GDesktopAppInfoLookupIface { 2188 pub g_iface: gobject::GTypeInterface, 2189 pub get_default_for_uri_scheme: 2190 Option<unsafe extern "C" fn(*mut GDesktopAppInfoLookup, *const c_char) -> *mut GAppInfo>, 2191 } 2192 2193 impl ::std::fmt::Debug for GDesktopAppInfoLookupIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2194 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2195 f.debug_struct(&format!( 2196 "GDesktopAppInfoLookupIface @ {:?}", 2197 self as *const _ 2198 )) 2199 .field("g_iface", &self.g_iface) 2200 .field( 2201 "get_default_for_uri_scheme", 2202 &self.get_default_for_uri_scheme, 2203 ) 2204 .finish() 2205 } 2206 } 2207 2208 #[repr(C)] 2209 #[derive(Copy, Clone)] 2210 pub struct GDriveIface { 2211 pub g_iface: gobject::GTypeInterface, 2212 pub changed: Option<unsafe extern "C" fn(*mut GDrive)>, 2213 pub disconnected: Option<unsafe extern "C" fn(*mut GDrive)>, 2214 pub eject_button: Option<unsafe extern "C" fn(*mut GDrive)>, 2215 pub get_name: Option<unsafe extern "C" fn(*mut GDrive) -> *const c_char>, 2216 pub get_icon: Option<unsafe extern "C" fn(*mut GDrive) -> *mut GIcon>, 2217 pub has_volumes: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, 2218 pub get_volumes: Option<unsafe extern "C" fn(*mut GDrive) -> *mut glib::GList>, 2219 pub is_media_removable: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, 2220 pub has_media: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, 2221 pub is_media_check_automatic: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, 2222 pub can_eject: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, 2223 pub can_poll_for_media: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, 2224 pub eject: Option< 2225 unsafe extern "C" fn( 2226 *mut GDrive, 2227 GMountUnmountFlags, 2228 *mut GCancellable, 2229 GAsyncReadyCallback, 2230 gpointer, 2231 ), 2232 >, 2233 pub eject_finish: Option< 2234 unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 2235 >, 2236 pub poll_for_media: 2237 Option<unsafe extern "C" fn(*mut GDrive, *mut GCancellable, GAsyncReadyCallback, gpointer)>, 2238 pub poll_for_media_finish: Option< 2239 unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 2240 >, 2241 pub get_identifier: Option<unsafe extern "C" fn(*mut GDrive, *const c_char) -> *mut c_char>, 2242 pub enumerate_identifiers: Option<unsafe extern "C" fn(*mut GDrive) -> *mut *mut c_char>, 2243 pub get_start_stop_type: Option<unsafe extern "C" fn(*mut GDrive) -> GDriveStartStopType>, 2244 pub can_start: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, 2245 pub can_start_degraded: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, 2246 pub start: Option< 2247 unsafe extern "C" fn( 2248 *mut GDrive, 2249 GDriveStartFlags, 2250 *mut GMountOperation, 2251 *mut GCancellable, 2252 GAsyncReadyCallback, 2253 gpointer, 2254 ), 2255 >, 2256 pub start_finish: Option< 2257 unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 2258 >, 2259 pub can_stop: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, 2260 pub stop: Option< 2261 unsafe extern "C" fn( 2262 *mut GDrive, 2263 GMountUnmountFlags, 2264 *mut GMountOperation, 2265 *mut GCancellable, 2266 GAsyncReadyCallback, 2267 gpointer, 2268 ), 2269 >, 2270 pub stop_finish: Option< 2271 unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 2272 >, 2273 pub stop_button: Option<unsafe extern "C" fn(*mut GDrive)>, 2274 pub eject_with_operation: Option< 2275 unsafe extern "C" fn( 2276 *mut GDrive, 2277 GMountUnmountFlags, 2278 *mut GMountOperation, 2279 *mut GCancellable, 2280 GAsyncReadyCallback, 2281 gpointer, 2282 ), 2283 >, 2284 pub eject_with_operation_finish: Option< 2285 unsafe extern "C" fn(*mut GDrive, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 2286 >, 2287 pub get_sort_key: Option<unsafe extern "C" fn(*mut GDrive) -> *const c_char>, 2288 pub get_symbolic_icon: Option<unsafe extern "C" fn(*mut GDrive) -> *mut GIcon>, 2289 pub is_removable: Option<unsafe extern "C" fn(*mut GDrive) -> gboolean>, 2290 } 2291 2292 impl ::std::fmt::Debug for GDriveIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2293 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2294 f.debug_struct(&format!("GDriveIface @ {:?}", self as *const _)) 2295 .field("g_iface", &self.g_iface) 2296 .field("changed", &self.changed) 2297 .field("disconnected", &self.disconnected) 2298 .field("eject_button", &self.eject_button) 2299 .field("get_name", &self.get_name) 2300 .field("get_icon", &self.get_icon) 2301 .field("has_volumes", &self.has_volumes) 2302 .field("get_volumes", &self.get_volumes) 2303 .field("is_media_removable", &self.is_media_removable) 2304 .field("has_media", &self.has_media) 2305 .field("is_media_check_automatic", &self.is_media_check_automatic) 2306 .field("can_eject", &self.can_eject) 2307 .field("can_poll_for_media", &self.can_poll_for_media) 2308 .field("eject", &self.eject) 2309 .field("eject_finish", &self.eject_finish) 2310 .field("poll_for_media", &self.poll_for_media) 2311 .field("poll_for_media_finish", &self.poll_for_media_finish) 2312 .field("get_identifier", &self.get_identifier) 2313 .field("enumerate_identifiers", &self.enumerate_identifiers) 2314 .field("get_start_stop_type", &self.get_start_stop_type) 2315 .field("can_start", &self.can_start) 2316 .field("can_start_degraded", &self.can_start_degraded) 2317 .field("start", &self.start) 2318 .field("start_finish", &self.start_finish) 2319 .field("can_stop", &self.can_stop) 2320 .field("stop", &self.stop) 2321 .field("stop_finish", &self.stop_finish) 2322 .field("stop_button", &self.stop_button) 2323 .field("eject_with_operation", &self.eject_with_operation) 2324 .field( 2325 "eject_with_operation_finish", 2326 &self.eject_with_operation_finish, 2327 ) 2328 .field("get_sort_key", &self.get_sort_key) 2329 .field("get_symbolic_icon", &self.get_symbolic_icon) 2330 .field("is_removable", &self.is_removable) 2331 .finish() 2332 } 2333 } 2334 2335 #[repr(C)] 2336 #[derive(Copy, Clone)] 2337 pub struct GDtlsClientConnectionInterface { 2338 pub g_iface: gobject::GTypeInterface, 2339 } 2340 2341 impl ::std::fmt::Debug for GDtlsClientConnectionInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2342 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2343 f.debug_struct(&format!( 2344 "GDtlsClientConnectionInterface @ {:?}", 2345 self as *const _ 2346 )) 2347 .field("g_iface", &self.g_iface) 2348 .finish() 2349 } 2350 } 2351 2352 #[repr(C)] 2353 #[derive(Copy, Clone)] 2354 pub struct GDtlsConnectionInterface { 2355 pub g_iface: gobject::GTypeInterface, 2356 pub accept_certificate: Option< 2357 unsafe extern "C" fn( 2358 *mut GDtlsConnection, 2359 *mut GTlsCertificate, 2360 GTlsCertificateFlags, 2361 ) -> gboolean, 2362 >, 2363 pub handshake: Option< 2364 unsafe extern "C" fn( 2365 *mut GDtlsConnection, 2366 *mut GCancellable, 2367 *mut *mut glib::GError, 2368 ) -> gboolean, 2369 >, 2370 pub handshake_async: Option< 2371 unsafe extern "C" fn( 2372 *mut GDtlsConnection, 2373 c_int, 2374 *mut GCancellable, 2375 GAsyncReadyCallback, 2376 gpointer, 2377 ), 2378 >, 2379 pub handshake_finish: Option< 2380 unsafe extern "C" fn( 2381 *mut GDtlsConnection, 2382 *mut GAsyncResult, 2383 *mut *mut glib::GError, 2384 ) -> gboolean, 2385 >, 2386 pub shutdown: Option< 2387 unsafe extern "C" fn( 2388 *mut GDtlsConnection, 2389 gboolean, 2390 gboolean, 2391 *mut GCancellable, 2392 *mut *mut glib::GError, 2393 ) -> gboolean, 2394 >, 2395 pub shutdown_async: Option< 2396 unsafe extern "C" fn( 2397 *mut GDtlsConnection, 2398 gboolean, 2399 gboolean, 2400 c_int, 2401 *mut GCancellable, 2402 GAsyncReadyCallback, 2403 gpointer, 2404 ), 2405 >, 2406 pub shutdown_finish: Option< 2407 unsafe extern "C" fn( 2408 *mut GDtlsConnection, 2409 *mut GAsyncResult, 2410 *mut *mut glib::GError, 2411 ) -> gboolean, 2412 >, 2413 pub set_advertised_protocols: 2414 Option<unsafe extern "C" fn(*mut GDtlsConnection, *const *const c_char)>, 2415 pub get_negotiated_protocol: 2416 Option<unsafe extern "C" fn(*mut GDtlsConnection) -> *const c_char>, 2417 } 2418 2419 impl ::std::fmt::Debug for GDtlsConnectionInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2420 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2421 f.debug_struct(&format!( 2422 "GDtlsConnectionInterface @ {:?}", 2423 self as *const _ 2424 )) 2425 .field("g_iface", &self.g_iface) 2426 .field("accept_certificate", &self.accept_certificate) 2427 .field("handshake", &self.handshake) 2428 .field("handshake_async", &self.handshake_async) 2429 .field("handshake_finish", &self.handshake_finish) 2430 .field("shutdown", &self.shutdown) 2431 .field("shutdown_async", &self.shutdown_async) 2432 .field("shutdown_finish", &self.shutdown_finish) 2433 .field("set_advertised_protocols", &self.set_advertised_protocols) 2434 .field("get_negotiated_protocol", &self.get_negotiated_protocol) 2435 .finish() 2436 } 2437 } 2438 2439 #[repr(C)] 2440 #[derive(Copy, Clone)] 2441 pub struct GDtlsServerConnectionInterface { 2442 pub g_iface: gobject::GTypeInterface, 2443 } 2444 2445 impl ::std::fmt::Debug for GDtlsServerConnectionInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2446 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2447 f.debug_struct(&format!( 2448 "GDtlsServerConnectionInterface @ {:?}", 2449 self as *const _ 2450 )) 2451 .field("g_iface", &self.g_iface) 2452 .finish() 2453 } 2454 } 2455 2456 #[repr(C)] 2457 pub struct _GEmblemClass(c_void); 2458 2459 pub type GEmblemClass = *mut _GEmblemClass; 2460 2461 #[repr(C)] 2462 #[derive(Copy, Clone)] 2463 pub struct GEmblemedIconClass { 2464 pub parent_class: gobject::GObjectClass, 2465 } 2466 2467 impl ::std::fmt::Debug for GEmblemedIconClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2468 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2469 f.debug_struct(&format!("GEmblemedIconClass @ {:?}", self as *const _)) 2470 .field("parent_class", &self.parent_class) 2471 .finish() 2472 } 2473 } 2474 2475 #[repr(C)] 2476 pub struct _GEmblemedIconPrivate(c_void); 2477 2478 pub type GEmblemedIconPrivate = *mut _GEmblemedIconPrivate; 2479 2480 #[repr(C)] 2481 #[derive(Copy, Clone)] 2482 pub struct GFileAttributeInfo { 2483 pub name: *mut c_char, 2484 pub type_: GFileAttributeType, 2485 pub flags: GFileAttributeInfoFlags, 2486 } 2487 2488 impl ::std::fmt::Debug for GFileAttributeInfo { 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!("GFileAttributeInfo @ {:?}", self as *const _)) 2491 .field("name", &self.name) 2492 .field("type_", &self.type_) 2493 .field("flags", &self.flags) 2494 .finish() 2495 } 2496 } 2497 2498 #[repr(C)] 2499 #[derive(Copy, Clone)] 2500 pub struct GFileAttributeInfoList { 2501 pub infos: *mut GFileAttributeInfo, 2502 pub n_infos: c_int, 2503 } 2504 2505 impl ::std::fmt::Debug for GFileAttributeInfoList { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2506 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2507 f.debug_struct(&format!("GFileAttributeInfoList @ {:?}", self as *const _)) 2508 .field("infos", &self.infos) 2509 .field("n_infos", &self.n_infos) 2510 .finish() 2511 } 2512 } 2513 2514 #[repr(C)] 2515 pub struct GFileAttributeMatcher(c_void); 2516 2517 impl ::std::fmt::Debug for GFileAttributeMatcher { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2518 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2519 f.debug_struct(&format!("GFileAttributeMatcher @ {:?}", self as *const _)) 2520 .finish() 2521 } 2522 } 2523 2524 #[repr(C)] 2525 #[derive(Copy, Clone)] 2526 pub struct GFileDescriptorBasedIface { 2527 pub g_iface: gobject::GTypeInterface, 2528 pub get_fd: Option<unsafe extern "C" fn(*mut GFileDescriptorBased) -> c_int>, 2529 } 2530 2531 impl ::std::fmt::Debug for GFileDescriptorBasedIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2532 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2533 f.debug_struct(&format!( 2534 "GFileDescriptorBasedIface @ {:?}", 2535 self as *const _ 2536 )) 2537 .field("g_iface", &self.g_iface) 2538 .field("get_fd", &self.get_fd) 2539 .finish() 2540 } 2541 } 2542 2543 #[repr(C)] 2544 #[derive(Copy, Clone)] 2545 pub struct GFileEnumeratorClass { 2546 pub parent_class: gobject::GObjectClass, 2547 pub next_file: Option< 2548 unsafe extern "C" fn( 2549 *mut GFileEnumerator, 2550 *mut GCancellable, 2551 *mut *mut glib::GError, 2552 ) -> *mut GFileInfo, 2553 >, 2554 pub close_fn: Option< 2555 unsafe extern "C" fn( 2556 *mut GFileEnumerator, 2557 *mut GCancellable, 2558 *mut *mut glib::GError, 2559 ) -> gboolean, 2560 >, 2561 pub next_files_async: Option< 2562 unsafe extern "C" fn( 2563 *mut GFileEnumerator, 2564 c_int, 2565 c_int, 2566 *mut GCancellable, 2567 GAsyncReadyCallback, 2568 gpointer, 2569 ), 2570 >, 2571 pub next_files_finish: Option< 2572 unsafe extern "C" fn( 2573 *mut GFileEnumerator, 2574 *mut GAsyncResult, 2575 *mut *mut glib::GError, 2576 ) -> *mut glib::GList, 2577 >, 2578 pub close_async: Option< 2579 unsafe extern "C" fn( 2580 *mut GFileEnumerator, 2581 c_int, 2582 *mut GCancellable, 2583 GAsyncReadyCallback, 2584 gpointer, 2585 ), 2586 >, 2587 pub close_finish: Option< 2588 unsafe extern "C" fn( 2589 *mut GFileEnumerator, 2590 *mut GAsyncResult, 2591 *mut *mut glib::GError, 2592 ) -> gboolean, 2593 >, 2594 pub _g_reserved1: Option<unsafe extern "C" fn()>, 2595 pub _g_reserved2: Option<unsafe extern "C" fn()>, 2596 pub _g_reserved3: Option<unsafe extern "C" fn()>, 2597 pub _g_reserved4: Option<unsafe extern "C" fn()>, 2598 pub _g_reserved5: Option<unsafe extern "C" fn()>, 2599 pub _g_reserved6: Option<unsafe extern "C" fn()>, 2600 pub _g_reserved7: Option<unsafe extern "C" fn()>, 2601 } 2602 2603 impl ::std::fmt::Debug for GFileEnumeratorClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2604 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2605 f.debug_struct(&format!("GFileEnumeratorClass @ {:?}", self as *const _)) 2606 .field("parent_class", &self.parent_class) 2607 .field("next_file", &self.next_file) 2608 .field("close_fn", &self.close_fn) 2609 .field("next_files_async", &self.next_files_async) 2610 .field("next_files_finish", &self.next_files_finish) 2611 .field("close_async", &self.close_async) 2612 .field("close_finish", &self.close_finish) 2613 .field("_g_reserved1", &self._g_reserved1) 2614 .field("_g_reserved2", &self._g_reserved2) 2615 .field("_g_reserved3", &self._g_reserved3) 2616 .field("_g_reserved4", &self._g_reserved4) 2617 .field("_g_reserved5", &self._g_reserved5) 2618 .field("_g_reserved6", &self._g_reserved6) 2619 .field("_g_reserved7", &self._g_reserved7) 2620 .finish() 2621 } 2622 } 2623 2624 #[repr(C)] 2625 pub struct _GFileEnumeratorPrivate(c_void); 2626 2627 pub type GFileEnumeratorPrivate = *mut _GFileEnumeratorPrivate; 2628 2629 #[repr(C)] 2630 #[derive(Copy, Clone)] 2631 pub struct GFileIOStreamClass { 2632 pub parent_class: GIOStreamClass, 2633 pub tell: Option<unsafe extern "C" fn(*mut GFileIOStream) -> i64>, 2634 pub can_seek: Option<unsafe extern "C" fn(*mut GFileIOStream) -> gboolean>, 2635 pub seek: Option< 2636 unsafe extern "C" fn( 2637 *mut GFileIOStream, 2638 i64, 2639 glib::GSeekType, 2640 *mut GCancellable, 2641 *mut *mut glib::GError, 2642 ) -> gboolean, 2643 >, 2644 pub can_truncate: Option<unsafe extern "C" fn(*mut GFileIOStream) -> gboolean>, 2645 pub truncate_fn: Option< 2646 unsafe extern "C" fn( 2647 *mut GFileIOStream, 2648 i64, 2649 *mut GCancellable, 2650 *mut *mut glib::GError, 2651 ) -> gboolean, 2652 >, 2653 pub query_info: Option< 2654 unsafe extern "C" fn( 2655 *mut GFileIOStream, 2656 *const c_char, 2657 *mut GCancellable, 2658 *mut *mut glib::GError, 2659 ) -> *mut GFileInfo, 2660 >, 2661 pub query_info_async: Option< 2662 unsafe extern "C" fn( 2663 *mut GFileIOStream, 2664 *const c_char, 2665 c_int, 2666 *mut GCancellable, 2667 GAsyncReadyCallback, 2668 gpointer, 2669 ), 2670 >, 2671 pub query_info_finish: Option< 2672 unsafe extern "C" fn( 2673 *mut GFileIOStream, 2674 *mut GAsyncResult, 2675 *mut *mut glib::GError, 2676 ) -> *mut GFileInfo, 2677 >, 2678 pub get_etag: Option<unsafe extern "C" fn(*mut GFileIOStream) -> *mut c_char>, 2679 pub _g_reserved1: Option<unsafe extern "C" fn()>, 2680 pub _g_reserved2: Option<unsafe extern "C" fn()>, 2681 pub _g_reserved3: Option<unsafe extern "C" fn()>, 2682 pub _g_reserved4: Option<unsafe extern "C" fn()>, 2683 pub _g_reserved5: Option<unsafe extern "C" fn()>, 2684 } 2685 2686 impl ::std::fmt::Debug for GFileIOStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2687 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 2688 f.debug_struct(&format!("GFileIOStreamClass @ {:?}", self as *const _)) 2689 .field("parent_class", &self.parent_class) 2690 .field("tell", &self.tell) 2691 .field("can_seek", &self.can_seek) 2692 .field("seek", &self.seek) 2693 .field("can_truncate", &self.can_truncate) 2694 .field("truncate_fn", &self.truncate_fn) 2695 .field("query_info", &self.query_info) 2696 .field("query_info_async", &self.query_info_async) 2697 .field("query_info_finish", &self.query_info_finish) 2698 .field("get_etag", &self.get_etag) 2699 .field("_g_reserved1", &self._g_reserved1) 2700 .field("_g_reserved2", &self._g_reserved2) 2701 .field("_g_reserved3", &self._g_reserved3) 2702 .field("_g_reserved4", &self._g_reserved4) 2703 .field("_g_reserved5", &self._g_reserved5) 2704 .finish() 2705 } 2706 } 2707 2708 #[repr(C)] 2709 pub struct _GFileIOStreamPrivate(c_void); 2710 2711 pub type GFileIOStreamPrivate = *mut _GFileIOStreamPrivate; 2712 2713 #[repr(C)] 2714 pub struct _GFileIconClass(c_void); 2715 2716 pub type GFileIconClass = *mut _GFileIconClass; 2717 2718 #[repr(C)] 2719 #[derive(Copy, Clone)] 2720 pub struct GFileIface { 2721 pub g_iface: gobject::GTypeInterface, 2722 pub dup: Option<unsafe extern "C" fn(*mut GFile) -> *mut GFile>, 2723 pub hash: Option<unsafe extern "C" fn(*mut GFile) -> c_uint>, 2724 pub equal: Option<unsafe extern "C" fn(*mut GFile, *mut GFile) -> gboolean>, 2725 pub is_native: Option<unsafe extern "C" fn(*mut GFile) -> gboolean>, 2726 pub has_uri_scheme: Option<unsafe extern "C" fn(*mut GFile, *const c_char) -> gboolean>, 2727 pub get_uri_scheme: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>, 2728 pub get_basename: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>, 2729 pub get_path: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>, 2730 pub get_uri: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>, 2731 pub get_parse_name: Option<unsafe extern "C" fn(*mut GFile) -> *mut c_char>, 2732 pub get_parent: Option<unsafe extern "C" fn(*mut GFile) -> *mut GFile>, 2733 pub prefix_matches: Option<unsafe extern "C" fn(*mut GFile, *mut GFile) -> gboolean>, 2734 pub get_relative_path: Option<unsafe extern "C" fn(*mut GFile, *mut GFile) -> *mut c_char>, 2735 pub resolve_relative_path: 2736 Option<unsafe extern "C" fn(*mut GFile, *const c_char) -> *mut GFile>, 2737 pub get_child_for_display_name: Option< 2738 unsafe extern "C" fn(*mut GFile, *const c_char, *mut *mut glib::GError) -> *mut GFile, 2739 >, 2740 pub enumerate_children: Option< 2741 unsafe extern "C" fn( 2742 *mut GFile, 2743 *const c_char, 2744 GFileQueryInfoFlags, 2745 *mut GCancellable, 2746 *mut *mut glib::GError, 2747 ) -> *mut GFileEnumerator, 2748 >, 2749 pub enumerate_children_async: Option< 2750 unsafe extern "C" fn( 2751 *mut GFile, 2752 *const c_char, 2753 GFileQueryInfoFlags, 2754 c_int, 2755 *mut GCancellable, 2756 GAsyncReadyCallback, 2757 gpointer, 2758 ), 2759 >, 2760 pub enumerate_children_finish: Option< 2761 unsafe extern "C" fn( 2762 *mut GFile, 2763 *mut GAsyncResult, 2764 *mut *mut glib::GError, 2765 ) -> *mut GFileEnumerator, 2766 >, 2767 pub query_info: Option< 2768 unsafe extern "C" fn( 2769 *mut GFile, 2770 *const c_char, 2771 GFileQueryInfoFlags, 2772 *mut GCancellable, 2773 *mut *mut glib::GError, 2774 ) -> *mut GFileInfo, 2775 >, 2776 pub query_info_async: Option< 2777 unsafe extern "C" fn( 2778 *mut GFile, 2779 *const c_char, 2780 GFileQueryInfoFlags, 2781 c_int, 2782 *mut GCancellable, 2783 GAsyncReadyCallback, 2784 gpointer, 2785 ), 2786 >, 2787 pub query_info_finish: Option< 2788 unsafe extern "C" fn( 2789 *mut GFile, 2790 *mut GAsyncResult, 2791 *mut *mut glib::GError, 2792 ) -> *mut GFileInfo, 2793 >, 2794 pub query_filesystem_info: Option< 2795 unsafe extern "C" fn( 2796 *mut GFile, 2797 *const c_char, 2798 *mut GCancellable, 2799 *mut *mut glib::GError, 2800 ) -> *mut GFileInfo, 2801 >, 2802 pub query_filesystem_info_async: Option< 2803 unsafe extern "C" fn( 2804 *mut GFile, 2805 *const c_char, 2806 c_int, 2807 *mut GCancellable, 2808 GAsyncReadyCallback, 2809 gpointer, 2810 ), 2811 >, 2812 pub query_filesystem_info_finish: Option< 2813 unsafe extern "C" fn( 2814 *mut GFile, 2815 *mut GAsyncResult, 2816 *mut *mut glib::GError, 2817 ) -> *mut GFileInfo, 2818 >, 2819 pub find_enclosing_mount: Option< 2820 unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> *mut GMount, 2821 >, 2822 pub find_enclosing_mount_async: Option< 2823 unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer), 2824 >, 2825 pub find_enclosing_mount_finish: Option< 2826 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> *mut GMount, 2827 >, 2828 pub set_display_name: Option< 2829 unsafe extern "C" fn( 2830 *mut GFile, 2831 *const c_char, 2832 *mut GCancellable, 2833 *mut *mut glib::GError, 2834 ) -> *mut GFile, 2835 >, 2836 pub set_display_name_async: Option< 2837 unsafe extern "C" fn( 2838 *mut GFile, 2839 *const c_char, 2840 c_int, 2841 *mut GCancellable, 2842 GAsyncReadyCallback, 2843 gpointer, 2844 ), 2845 >, 2846 pub set_display_name_finish: Option< 2847 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> *mut GFile, 2848 >, 2849 pub query_settable_attributes: Option< 2850 unsafe extern "C" fn( 2851 *mut GFile, 2852 *mut GCancellable, 2853 *mut *mut glib::GError, 2854 ) -> *mut GFileAttributeInfoList, 2855 >, 2856 pub _query_settable_attributes_async: Option<unsafe extern "C" fn()>, 2857 pub _query_settable_attributes_finish: Option<unsafe extern "C" fn()>, 2858 pub query_writable_namespaces: Option< 2859 unsafe extern "C" fn( 2860 *mut GFile, 2861 *mut GCancellable, 2862 *mut *mut glib::GError, 2863 ) -> *mut GFileAttributeInfoList, 2864 >, 2865 pub _query_writable_namespaces_async: Option<unsafe extern "C" fn()>, 2866 pub _query_writable_namespaces_finish: Option<unsafe extern "C" fn()>, 2867 pub set_attribute: Option< 2868 unsafe extern "C" fn( 2869 *mut GFile, 2870 *const c_char, 2871 GFileAttributeType, 2872 gpointer, 2873 GFileQueryInfoFlags, 2874 *mut GCancellable, 2875 *mut *mut glib::GError, 2876 ) -> gboolean, 2877 >, 2878 pub set_attributes_from_info: Option< 2879 unsafe extern "C" fn( 2880 *mut GFile, 2881 *mut GFileInfo, 2882 GFileQueryInfoFlags, 2883 *mut GCancellable, 2884 *mut *mut glib::GError, 2885 ) -> gboolean, 2886 >, 2887 pub set_attributes_async: Option< 2888 unsafe extern "C" fn( 2889 *mut GFile, 2890 *mut GFileInfo, 2891 GFileQueryInfoFlags, 2892 c_int, 2893 *mut GCancellable, 2894 GAsyncReadyCallback, 2895 gpointer, 2896 ), 2897 >, 2898 pub set_attributes_finish: Option< 2899 unsafe extern "C" fn( 2900 *mut GFile, 2901 *mut GAsyncResult, 2902 *mut *mut GFileInfo, 2903 *mut *mut glib::GError, 2904 ) -> gboolean, 2905 >, 2906 pub read_fn: Option< 2907 unsafe extern "C" fn( 2908 *mut GFile, 2909 *mut GCancellable, 2910 *mut *mut glib::GError, 2911 ) -> *mut GFileInputStream, 2912 >, 2913 pub read_async: Option< 2914 unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer), 2915 >, 2916 pub read_finish: Option< 2917 unsafe extern "C" fn( 2918 *mut GFile, 2919 *mut GAsyncResult, 2920 *mut *mut glib::GError, 2921 ) -> *mut GFileInputStream, 2922 >, 2923 pub append_to: Option< 2924 unsafe extern "C" fn( 2925 *mut GFile, 2926 GFileCreateFlags, 2927 *mut GCancellable, 2928 *mut *mut glib::GError, 2929 ) -> *mut GFileOutputStream, 2930 >, 2931 pub append_to_async: Option< 2932 unsafe extern "C" fn( 2933 *mut GFile, 2934 GFileCreateFlags, 2935 c_int, 2936 *mut GCancellable, 2937 GAsyncReadyCallback, 2938 gpointer, 2939 ), 2940 >, 2941 pub append_to_finish: Option< 2942 unsafe extern "C" fn( 2943 *mut GFile, 2944 *mut GAsyncResult, 2945 *mut *mut glib::GError, 2946 ) -> *mut GFileOutputStream, 2947 >, 2948 pub create: Option< 2949 unsafe extern "C" fn( 2950 *mut GFile, 2951 GFileCreateFlags, 2952 *mut GCancellable, 2953 *mut *mut glib::GError, 2954 ) -> *mut GFileOutputStream, 2955 >, 2956 pub create_async: Option< 2957 unsafe extern "C" fn( 2958 *mut GFile, 2959 GFileCreateFlags, 2960 c_int, 2961 *mut GCancellable, 2962 GAsyncReadyCallback, 2963 gpointer, 2964 ), 2965 >, 2966 pub create_finish: Option< 2967 unsafe extern "C" fn( 2968 *mut GFile, 2969 *mut GAsyncResult, 2970 *mut *mut glib::GError, 2971 ) -> *mut GFileOutputStream, 2972 >, 2973 pub replace: Option< 2974 unsafe extern "C" fn( 2975 *mut GFile, 2976 *const c_char, 2977 gboolean, 2978 GFileCreateFlags, 2979 *mut GCancellable, 2980 *mut *mut glib::GError, 2981 ) -> *mut GFileOutputStream, 2982 >, 2983 pub replace_async: Option< 2984 unsafe extern "C" fn( 2985 *mut GFile, 2986 *const c_char, 2987 gboolean, 2988 GFileCreateFlags, 2989 c_int, 2990 *mut GCancellable, 2991 GAsyncReadyCallback, 2992 gpointer, 2993 ), 2994 >, 2995 pub replace_finish: Option< 2996 unsafe extern "C" fn( 2997 *mut GFile, 2998 *mut GAsyncResult, 2999 *mut *mut glib::GError, 3000 ) -> *mut GFileOutputStream, 3001 >, 3002 pub delete_file: Option< 3003 unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> gboolean, 3004 >, 3005 pub delete_file_async: Option< 3006 unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer), 3007 >, 3008 pub delete_file_finish: Option< 3009 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 3010 >, 3011 pub trash: Option< 3012 unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> gboolean, 3013 >, 3014 pub trash_async: Option< 3015 unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer), 3016 >, 3017 pub trash_finish: Option< 3018 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 3019 >, 3020 pub make_directory: Option< 3021 unsafe extern "C" fn(*mut GFile, *mut GCancellable, *mut *mut glib::GError) -> gboolean, 3022 >, 3023 pub make_directory_async: Option< 3024 unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer), 3025 >, 3026 pub make_directory_finish: Option< 3027 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 3028 >, 3029 pub make_symbolic_link: Option< 3030 unsafe extern "C" fn( 3031 *mut GFile, 3032 *const c_char, 3033 *mut GCancellable, 3034 *mut *mut glib::GError, 3035 ) -> gboolean, 3036 >, 3037 pub _make_symbolic_link_async: Option<unsafe extern "C" fn()>, 3038 pub _make_symbolic_link_finish: Option<unsafe extern "C" fn()>, 3039 pub copy: Option< 3040 unsafe extern "C" fn( 3041 *mut GFile, 3042 *mut GFile, 3043 GFileCopyFlags, 3044 *mut GCancellable, 3045 GFileProgressCallback, 3046 gpointer, 3047 *mut *mut glib::GError, 3048 ) -> gboolean, 3049 >, 3050 pub copy_async: Option< 3051 unsafe extern "C" fn( 3052 *mut GFile, 3053 *mut GFile, 3054 GFileCopyFlags, 3055 c_int, 3056 *mut GCancellable, 3057 GFileProgressCallback, 3058 gpointer, 3059 GAsyncReadyCallback, 3060 gpointer, 3061 ), 3062 >, 3063 pub copy_finish: Option< 3064 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 3065 >, 3066 pub move_: Option< 3067 unsafe extern "C" fn( 3068 *mut GFile, 3069 *mut GFile, 3070 GFileCopyFlags, 3071 *mut GCancellable, 3072 GFileProgressCallback, 3073 gpointer, 3074 *mut *mut glib::GError, 3075 ) -> gboolean, 3076 >, 3077 pub _move_async: Option<unsafe extern "C" fn()>, 3078 pub _move_finish: Option<unsafe extern "C" fn()>, 3079 pub mount_mountable: Option< 3080 unsafe extern "C" fn( 3081 *mut GFile, 3082 GMountMountFlags, 3083 *mut GMountOperation, 3084 *mut GCancellable, 3085 GAsyncReadyCallback, 3086 gpointer, 3087 ), 3088 >, 3089 pub mount_mountable_finish: Option< 3090 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> *mut GFile, 3091 >, 3092 pub unmount_mountable: Option< 3093 unsafe extern "C" fn( 3094 *mut GFile, 3095 GMountUnmountFlags, 3096 *mut GCancellable, 3097 GAsyncReadyCallback, 3098 gpointer, 3099 ), 3100 >, 3101 pub unmount_mountable_finish: Option< 3102 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 3103 >, 3104 pub eject_mountable: Option< 3105 unsafe extern "C" fn( 3106 *mut GFile, 3107 GMountUnmountFlags, 3108 *mut GCancellable, 3109 GAsyncReadyCallback, 3110 gpointer, 3111 ), 3112 >, 3113 pub eject_mountable_finish: Option< 3114 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 3115 >, 3116 pub mount_enclosing_volume: Option< 3117 unsafe extern "C" fn( 3118 *mut GFile, 3119 GMountMountFlags, 3120 *mut GMountOperation, 3121 *mut GCancellable, 3122 GAsyncReadyCallback, 3123 gpointer, 3124 ), 3125 >, 3126 pub mount_enclosing_volume_finish: Option< 3127 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 3128 >, 3129 pub monitor_dir: Option< 3130 unsafe extern "C" fn( 3131 *mut GFile, 3132 GFileMonitorFlags, 3133 *mut GCancellable, 3134 *mut *mut glib::GError, 3135 ) -> *mut GFileMonitor, 3136 >, 3137 pub monitor_file: Option< 3138 unsafe extern "C" fn( 3139 *mut GFile, 3140 GFileMonitorFlags, 3141 *mut GCancellable, 3142 *mut *mut glib::GError, 3143 ) -> *mut GFileMonitor, 3144 >, 3145 pub open_readwrite: Option< 3146 unsafe extern "C" fn( 3147 *mut GFile, 3148 *mut GCancellable, 3149 *mut *mut glib::GError, 3150 ) -> *mut GFileIOStream, 3151 >, 3152 pub open_readwrite_async: Option< 3153 unsafe extern "C" fn(*mut GFile, c_int, *mut GCancellable, GAsyncReadyCallback, gpointer), 3154 >, 3155 pub open_readwrite_finish: Option< 3156 unsafe extern "C" fn( 3157 *mut GFile, 3158 *mut GAsyncResult, 3159 *mut *mut glib::GError, 3160 ) -> *mut GFileIOStream, 3161 >, 3162 pub create_readwrite: Option< 3163 unsafe extern "C" fn( 3164 *mut GFile, 3165 GFileCreateFlags, 3166 *mut GCancellable, 3167 *mut *mut glib::GError, 3168 ) -> *mut GFileIOStream, 3169 >, 3170 pub create_readwrite_async: Option< 3171 unsafe extern "C" fn( 3172 *mut GFile, 3173 GFileCreateFlags, 3174 c_int, 3175 *mut GCancellable, 3176 GAsyncReadyCallback, 3177 gpointer, 3178 ), 3179 >, 3180 pub create_readwrite_finish: Option< 3181 unsafe extern "C" fn( 3182 *mut GFile, 3183 *mut GAsyncResult, 3184 *mut *mut glib::GError, 3185 ) -> *mut GFileIOStream, 3186 >, 3187 pub replace_readwrite: Option< 3188 unsafe extern "C" fn( 3189 *mut GFile, 3190 *const c_char, 3191 gboolean, 3192 GFileCreateFlags, 3193 *mut GCancellable, 3194 *mut *mut glib::GError, 3195 ) -> *mut GFileIOStream, 3196 >, 3197 pub replace_readwrite_async: Option< 3198 unsafe extern "C" fn( 3199 *mut GFile, 3200 *const c_char, 3201 gboolean, 3202 GFileCreateFlags, 3203 c_int, 3204 *mut GCancellable, 3205 GAsyncReadyCallback, 3206 gpointer, 3207 ), 3208 >, 3209 pub replace_readwrite_finish: Option< 3210 unsafe extern "C" fn( 3211 *mut GFile, 3212 *mut GAsyncResult, 3213 *mut *mut glib::GError, 3214 ) -> *mut GFileIOStream, 3215 >, 3216 pub start_mountable: Option< 3217 unsafe extern "C" fn( 3218 *mut GFile, 3219 GDriveStartFlags, 3220 *mut GMountOperation, 3221 *mut GCancellable, 3222 GAsyncReadyCallback, 3223 gpointer, 3224 ), 3225 >, 3226 pub start_mountable_finish: Option< 3227 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 3228 >, 3229 pub stop_mountable: Option< 3230 unsafe extern "C" fn( 3231 *mut GFile, 3232 GMountUnmountFlags, 3233 *mut GMountOperation, 3234 *mut GCancellable, 3235 GAsyncReadyCallback, 3236 gpointer, 3237 ), 3238 >, 3239 pub stop_mountable_finish: Option< 3240 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 3241 >, 3242 pub supports_thread_contexts: gboolean, 3243 pub unmount_mountable_with_operation: Option< 3244 unsafe extern "C" fn( 3245 *mut GFile, 3246 GMountUnmountFlags, 3247 *mut GMountOperation, 3248 *mut GCancellable, 3249 GAsyncReadyCallback, 3250 gpointer, 3251 ), 3252 >, 3253 pub unmount_mountable_with_operation_finish: Option< 3254 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 3255 >, 3256 pub eject_mountable_with_operation: Option< 3257 unsafe extern "C" fn( 3258 *mut GFile, 3259 GMountUnmountFlags, 3260 *mut GMountOperation, 3261 *mut GCancellable, 3262 GAsyncReadyCallback, 3263 gpointer, 3264 ), 3265 >, 3266 pub eject_mountable_with_operation_finish: Option< 3267 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 3268 >, 3269 pub poll_mountable: 3270 Option<unsafe extern "C" fn(*mut GFile, *mut GCancellable, GAsyncReadyCallback, gpointer)>, 3271 pub poll_mountable_finish: Option< 3272 unsafe extern "C" fn(*mut GFile, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 3273 >, 3274 pub measure_disk_usage: Option< 3275 unsafe extern "C" fn( 3276 *mut GFile, 3277 GFileMeasureFlags, 3278 *mut GCancellable, 3279 GFileMeasureProgressCallback, 3280 gpointer, 3281 *mut u64, 3282 *mut u64, 3283 *mut u64, 3284 *mut *mut glib::GError, 3285 ) -> gboolean, 3286 >, 3287 pub measure_disk_usage_async: Option< 3288 unsafe extern "C" fn( 3289 *mut GFile, 3290 GFileMeasureFlags, 3291 c_int, 3292 *mut GCancellable, 3293 GFileMeasureProgressCallback, 3294 gpointer, 3295 GAsyncReadyCallback, 3296 gpointer, 3297 ), 3298 >, 3299 pub measure_disk_usage_finish: Option< 3300 unsafe extern "C" fn( 3301 *mut GFile, 3302 *mut GAsyncResult, 3303 *mut u64, 3304 *mut u64, 3305 *mut u64, 3306 *mut *mut glib::GError, 3307 ) -> gboolean, 3308 >, 3309 } 3310 3311 impl ::std::fmt::Debug for GFileIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3312 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3313 f.debug_struct(&format!("GFileIface @ {:?}", self as *const _)) 3314 .field("g_iface", &self.g_iface) 3315 .field("dup", &self.dup) 3316 .field("hash", &self.hash) 3317 .field("equal", &self.equal) 3318 .field("is_native", &self.is_native) 3319 .field("has_uri_scheme", &self.has_uri_scheme) 3320 .field("get_uri_scheme", &self.get_uri_scheme) 3321 .field("get_basename", &self.get_basename) 3322 .field("get_path", &self.get_path) 3323 .field("get_uri", &self.get_uri) 3324 .field("get_parse_name", &self.get_parse_name) 3325 .field("get_parent", &self.get_parent) 3326 .field("prefix_matches", &self.prefix_matches) 3327 .field("get_relative_path", &self.get_relative_path) 3328 .field("resolve_relative_path", &self.resolve_relative_path) 3329 .field( 3330 "get_child_for_display_name", 3331 &self.get_child_for_display_name, 3332 ) 3333 .field("enumerate_children", &self.enumerate_children) 3334 .field("enumerate_children_async", &self.enumerate_children_async) 3335 .field("enumerate_children_finish", &self.enumerate_children_finish) 3336 .field("query_info", &self.query_info) 3337 .field("query_info_async", &self.query_info_async) 3338 .field("query_info_finish", &self.query_info_finish) 3339 .field("query_filesystem_info", &self.query_filesystem_info) 3340 .field( 3341 "query_filesystem_info_async", 3342 &self.query_filesystem_info_async, 3343 ) 3344 .field( 3345 "query_filesystem_info_finish", 3346 &self.query_filesystem_info_finish, 3347 ) 3348 .field("find_enclosing_mount", &self.find_enclosing_mount) 3349 .field( 3350 "find_enclosing_mount_async", 3351 &self.find_enclosing_mount_async, 3352 ) 3353 .field( 3354 "find_enclosing_mount_finish", 3355 &self.find_enclosing_mount_finish, 3356 ) 3357 .field("set_display_name", &self.set_display_name) 3358 .field("set_display_name_async", &self.set_display_name_async) 3359 .field("set_display_name_finish", &self.set_display_name_finish) 3360 .field("query_settable_attributes", &self.query_settable_attributes) 3361 .field( 3362 "_query_settable_attributes_async", 3363 &self._query_settable_attributes_async, 3364 ) 3365 .field( 3366 "_query_settable_attributes_finish", 3367 &self._query_settable_attributes_finish, 3368 ) 3369 .field("query_writable_namespaces", &self.query_writable_namespaces) 3370 .field( 3371 "_query_writable_namespaces_async", 3372 &self._query_writable_namespaces_async, 3373 ) 3374 .field( 3375 "_query_writable_namespaces_finish", 3376 &self._query_writable_namespaces_finish, 3377 ) 3378 .field("set_attribute", &self.set_attribute) 3379 .field("set_attributes_from_info", &self.set_attributes_from_info) 3380 .field("set_attributes_async", &self.set_attributes_async) 3381 .field("set_attributes_finish", &self.set_attributes_finish) 3382 .field("read_fn", &self.read_fn) 3383 .field("read_async", &self.read_async) 3384 .field("read_finish", &self.read_finish) 3385 .field("append_to", &self.append_to) 3386 .field("append_to_async", &self.append_to_async) 3387 .field("append_to_finish", &self.append_to_finish) 3388 .field("create", &self.create) 3389 .field("create_async", &self.create_async) 3390 .field("create_finish", &self.create_finish) 3391 .field("replace", &self.replace) 3392 .field("replace_async", &self.replace_async) 3393 .field("replace_finish", &self.replace_finish) 3394 .field("delete_file", &self.delete_file) 3395 .field("delete_file_async", &self.delete_file_async) 3396 .field("delete_file_finish", &self.delete_file_finish) 3397 .field("trash", &self.trash) 3398 .field("trash_async", &self.trash_async) 3399 .field("trash_finish", &self.trash_finish) 3400 .field("make_directory", &self.make_directory) 3401 .field("make_directory_async", &self.make_directory_async) 3402 .field("make_directory_finish", &self.make_directory_finish) 3403 .field("make_symbolic_link", &self.make_symbolic_link) 3404 .field("_make_symbolic_link_async", &self._make_symbolic_link_async) 3405 .field( 3406 "_make_symbolic_link_finish", 3407 &self._make_symbolic_link_finish, 3408 ) 3409 .field("copy", &self.copy) 3410 .field("copy_async", &self.copy_async) 3411 .field("copy_finish", &self.copy_finish) 3412 .field("move_", &self.move_) 3413 .field("_move_async", &self._move_async) 3414 .field("_move_finish", &self._move_finish) 3415 .field("mount_mountable", &self.mount_mountable) 3416 .field("mount_mountable_finish", &self.mount_mountable_finish) 3417 .field("unmount_mountable", &self.unmount_mountable) 3418 .field("unmount_mountable_finish", &self.unmount_mountable_finish) 3419 .field("eject_mountable", &self.eject_mountable) 3420 .field("eject_mountable_finish", &self.eject_mountable_finish) 3421 .field("mount_enclosing_volume", &self.mount_enclosing_volume) 3422 .field( 3423 "mount_enclosing_volume_finish", 3424 &self.mount_enclosing_volume_finish, 3425 ) 3426 .field("monitor_dir", &self.monitor_dir) 3427 .field("monitor_file", &self.monitor_file) 3428 .field("open_readwrite", &self.open_readwrite) 3429 .field("open_readwrite_async", &self.open_readwrite_async) 3430 .field("open_readwrite_finish", &self.open_readwrite_finish) 3431 .field("create_readwrite", &self.create_readwrite) 3432 .field("create_readwrite_async", &self.create_readwrite_async) 3433 .field("create_readwrite_finish", &self.create_readwrite_finish) 3434 .field("replace_readwrite", &self.replace_readwrite) 3435 .field("replace_readwrite_async", &self.replace_readwrite_async) 3436 .field("replace_readwrite_finish", &self.replace_readwrite_finish) 3437 .field("start_mountable", &self.start_mountable) 3438 .field("start_mountable_finish", &self.start_mountable_finish) 3439 .field("stop_mountable", &self.stop_mountable) 3440 .field("stop_mountable_finish", &self.stop_mountable_finish) 3441 .field("supports_thread_contexts", &self.supports_thread_contexts) 3442 .field( 3443 "unmount_mountable_with_operation", 3444 &self.unmount_mountable_with_operation, 3445 ) 3446 .field( 3447 "unmount_mountable_with_operation_finish", 3448 &self.unmount_mountable_with_operation_finish, 3449 ) 3450 .field( 3451 "eject_mountable_with_operation", 3452 &self.eject_mountable_with_operation, 3453 ) 3454 .field( 3455 "eject_mountable_with_operation_finish", 3456 &self.eject_mountable_with_operation_finish, 3457 ) 3458 .field("poll_mountable", &self.poll_mountable) 3459 .field("poll_mountable_finish", &self.poll_mountable_finish) 3460 .field("measure_disk_usage", &self.measure_disk_usage) 3461 .field("measure_disk_usage_async", &self.measure_disk_usage_async) 3462 .field("measure_disk_usage_finish", &self.measure_disk_usage_finish) 3463 .finish() 3464 } 3465 } 3466 3467 #[repr(C)] 3468 pub struct _GFileInfoClass(c_void); 3469 3470 pub type GFileInfoClass = *mut _GFileInfoClass; 3471 3472 #[repr(C)] 3473 #[derive(Copy, Clone)] 3474 pub struct GFileInputStreamClass { 3475 pub parent_class: GInputStreamClass, 3476 pub tell: Option<unsafe extern "C" fn(*mut GFileInputStream) -> i64>, 3477 pub can_seek: Option<unsafe extern "C" fn(*mut GFileInputStream) -> gboolean>, 3478 pub seek: Option< 3479 unsafe extern "C" fn( 3480 *mut GFileInputStream, 3481 i64, 3482 glib::GSeekType, 3483 *mut GCancellable, 3484 *mut *mut glib::GError, 3485 ) -> gboolean, 3486 >, 3487 pub query_info: Option< 3488 unsafe extern "C" fn( 3489 *mut GFileInputStream, 3490 *const c_char, 3491 *mut GCancellable, 3492 *mut *mut glib::GError, 3493 ) -> *mut GFileInfo, 3494 >, 3495 pub query_info_async: Option< 3496 unsafe extern "C" fn( 3497 *mut GFileInputStream, 3498 *const c_char, 3499 c_int, 3500 *mut GCancellable, 3501 GAsyncReadyCallback, 3502 gpointer, 3503 ), 3504 >, 3505 pub query_info_finish: Option< 3506 unsafe extern "C" fn( 3507 *mut GFileInputStream, 3508 *mut GAsyncResult, 3509 *mut *mut glib::GError, 3510 ) -> *mut GFileInfo, 3511 >, 3512 pub _g_reserved1: Option<unsafe extern "C" fn()>, 3513 pub _g_reserved2: Option<unsafe extern "C" fn()>, 3514 pub _g_reserved3: Option<unsafe extern "C" fn()>, 3515 pub _g_reserved4: Option<unsafe extern "C" fn()>, 3516 pub _g_reserved5: Option<unsafe extern "C" fn()>, 3517 } 3518 3519 impl ::std::fmt::Debug for GFileInputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3520 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3521 f.debug_struct(&format!("GFileInputStreamClass @ {:?}", self as *const _)) 3522 .field("parent_class", &self.parent_class) 3523 .field("tell", &self.tell) 3524 .field("can_seek", &self.can_seek) 3525 .field("seek", &self.seek) 3526 .field("query_info", &self.query_info) 3527 .field("query_info_async", &self.query_info_async) 3528 .field("query_info_finish", &self.query_info_finish) 3529 .field("_g_reserved1", &self._g_reserved1) 3530 .field("_g_reserved2", &self._g_reserved2) 3531 .field("_g_reserved3", &self._g_reserved3) 3532 .field("_g_reserved4", &self._g_reserved4) 3533 .field("_g_reserved5", &self._g_reserved5) 3534 .finish() 3535 } 3536 } 3537 3538 #[repr(C)] 3539 pub struct _GFileInputStreamPrivate(c_void); 3540 3541 pub type GFileInputStreamPrivate = *mut _GFileInputStreamPrivate; 3542 3543 #[repr(C)] 3544 #[derive(Copy, Clone)] 3545 pub struct GFileMonitorClass { 3546 pub parent_class: gobject::GObjectClass, 3547 pub changed: 3548 Option<unsafe extern "C" fn(*mut GFileMonitor, *mut GFile, *mut GFile, GFileMonitorEvent)>, 3549 pub cancel: Option<unsafe extern "C" fn(*mut GFileMonitor) -> gboolean>, 3550 pub _g_reserved1: Option<unsafe extern "C" fn()>, 3551 pub _g_reserved2: Option<unsafe extern "C" fn()>, 3552 pub _g_reserved3: Option<unsafe extern "C" fn()>, 3553 pub _g_reserved4: Option<unsafe extern "C" fn()>, 3554 pub _g_reserved5: Option<unsafe extern "C" fn()>, 3555 } 3556 3557 impl ::std::fmt::Debug for GFileMonitorClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3558 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3559 f.debug_struct(&format!("GFileMonitorClass @ {:?}", self as *const _)) 3560 .field("parent_class", &self.parent_class) 3561 .field("changed", &self.changed) 3562 .field("cancel", &self.cancel) 3563 .field("_g_reserved1", &self._g_reserved1) 3564 .field("_g_reserved2", &self._g_reserved2) 3565 .field("_g_reserved3", &self._g_reserved3) 3566 .field("_g_reserved4", &self._g_reserved4) 3567 .field("_g_reserved5", &self._g_reserved5) 3568 .finish() 3569 } 3570 } 3571 3572 #[repr(C)] 3573 pub struct _GFileMonitorPrivate(c_void); 3574 3575 pub type GFileMonitorPrivate = *mut _GFileMonitorPrivate; 3576 3577 #[repr(C)] 3578 #[derive(Copy, Clone)] 3579 pub struct GFileOutputStreamClass { 3580 pub parent_class: GOutputStreamClass, 3581 pub tell: Option<unsafe extern "C" fn(*mut GFileOutputStream) -> i64>, 3582 pub can_seek: Option<unsafe extern "C" fn(*mut GFileOutputStream) -> gboolean>, 3583 pub seek: Option< 3584 unsafe extern "C" fn( 3585 *mut GFileOutputStream, 3586 i64, 3587 glib::GSeekType, 3588 *mut GCancellable, 3589 *mut *mut glib::GError, 3590 ) -> gboolean, 3591 >, 3592 pub can_truncate: Option<unsafe extern "C" fn(*mut GFileOutputStream) -> gboolean>, 3593 pub truncate_fn: Option< 3594 unsafe extern "C" fn( 3595 *mut GFileOutputStream, 3596 i64, 3597 *mut GCancellable, 3598 *mut *mut glib::GError, 3599 ) -> gboolean, 3600 >, 3601 pub query_info: Option< 3602 unsafe extern "C" fn( 3603 *mut GFileOutputStream, 3604 *const c_char, 3605 *mut GCancellable, 3606 *mut *mut glib::GError, 3607 ) -> *mut GFileInfo, 3608 >, 3609 pub query_info_async: Option< 3610 unsafe extern "C" fn( 3611 *mut GFileOutputStream, 3612 *const c_char, 3613 c_int, 3614 *mut GCancellable, 3615 GAsyncReadyCallback, 3616 gpointer, 3617 ), 3618 >, 3619 pub query_info_finish: Option< 3620 unsafe extern "C" fn( 3621 *mut GFileOutputStream, 3622 *mut GAsyncResult, 3623 *mut *mut glib::GError, 3624 ) -> *mut GFileInfo, 3625 >, 3626 pub get_etag: Option<unsafe extern "C" fn(*mut GFileOutputStream) -> *mut c_char>, 3627 pub _g_reserved1: Option<unsafe extern "C" fn()>, 3628 pub _g_reserved2: Option<unsafe extern "C" fn()>, 3629 pub _g_reserved3: Option<unsafe extern "C" fn()>, 3630 pub _g_reserved4: Option<unsafe extern "C" fn()>, 3631 pub _g_reserved5: Option<unsafe extern "C" fn()>, 3632 } 3633 3634 impl ::std::fmt::Debug for GFileOutputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3635 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3636 f.debug_struct(&format!("GFileOutputStreamClass @ {:?}", self as *const _)) 3637 .field("parent_class", &self.parent_class) 3638 .field("tell", &self.tell) 3639 .field("can_seek", &self.can_seek) 3640 .field("seek", &self.seek) 3641 .field("can_truncate", &self.can_truncate) 3642 .field("truncate_fn", &self.truncate_fn) 3643 .field("query_info", &self.query_info) 3644 .field("query_info_async", &self.query_info_async) 3645 .field("query_info_finish", &self.query_info_finish) 3646 .field("get_etag", &self.get_etag) 3647 .field("_g_reserved1", &self._g_reserved1) 3648 .field("_g_reserved2", &self._g_reserved2) 3649 .field("_g_reserved3", &self._g_reserved3) 3650 .field("_g_reserved4", &self._g_reserved4) 3651 .field("_g_reserved5", &self._g_reserved5) 3652 .finish() 3653 } 3654 } 3655 3656 #[repr(C)] 3657 pub struct _GFileOutputStreamPrivate(c_void); 3658 3659 pub type GFileOutputStreamPrivate = *mut _GFileOutputStreamPrivate; 3660 3661 #[repr(C)] 3662 #[derive(Copy, Clone)] 3663 pub struct GFilenameCompleterClass { 3664 pub parent_class: gobject::GObjectClass, 3665 pub got_completion_data: Option<unsafe extern "C" fn(*mut GFilenameCompleter)>, 3666 pub _g_reserved1: Option<unsafe extern "C" fn()>, 3667 pub _g_reserved2: Option<unsafe extern "C" fn()>, 3668 pub _g_reserved3: Option<unsafe extern "C" fn()>, 3669 } 3670 3671 impl ::std::fmt::Debug for GFilenameCompleterClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3672 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3673 f.debug_struct(&format!("GFilenameCompleterClass @ {:?}", self as *const _)) 3674 .field("parent_class", &self.parent_class) 3675 .field("got_completion_data", &self.got_completion_data) 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 GFilterInputStreamClass { 3686 pub parent_class: GInputStreamClass, 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 GFilterInputStreamClass { 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!("GFilterInputStreamClass @ {:?}", self as *const _)) 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 #[derive(Copy, Clone)] 3705 pub struct GFilterOutputStreamClass { 3706 pub parent_class: GOutputStreamClass, 3707 pub _g_reserved1: Option<unsafe extern "C" fn()>, 3708 pub _g_reserved2: Option<unsafe extern "C" fn()>, 3709 pub _g_reserved3: Option<unsafe extern "C" fn()>, 3710 } 3711 3712 impl ::std::fmt::Debug for GFilterOutputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3713 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3714 f.debug_struct(&format!( 3715 "GFilterOutputStreamClass @ {:?}", 3716 self as *const _ 3717 )) 3718 .field("parent_class", &self.parent_class) 3719 .field("_g_reserved1", &self._g_reserved1) 3720 .field("_g_reserved2", &self._g_reserved2) 3721 .field("_g_reserved3", &self._g_reserved3) 3722 .finish() 3723 } 3724 } 3725 3726 #[repr(C)] 3727 pub struct _GIOExtension(c_void); 3728 3729 pub type GIOExtension = *mut _GIOExtension; 3730 3731 #[repr(C)] 3732 pub struct _GIOExtensionPoint(c_void); 3733 3734 pub type GIOExtensionPoint = *mut _GIOExtensionPoint; 3735 3736 #[repr(C)] 3737 pub struct _GIOModuleClass(c_void); 3738 3739 pub type GIOModuleClass = *mut _GIOModuleClass; 3740 3741 #[repr(C)] 3742 pub struct _GIOModuleScope(c_void); 3743 3744 pub type GIOModuleScope = *mut _GIOModuleScope; 3745 3746 #[repr(C)] 3747 pub struct _GIOSchedulerJob(c_void); 3748 3749 pub type GIOSchedulerJob = *mut _GIOSchedulerJob; 3750 3751 #[repr(C)] 3752 pub struct _GIOStreamAdapter(c_void); 3753 3754 pub type GIOStreamAdapter = *mut _GIOStreamAdapter; 3755 3756 #[repr(C)] 3757 #[derive(Copy, Clone)] 3758 pub struct GIOStreamClass { 3759 pub parent_class: gobject::GObjectClass, 3760 pub get_input_stream: Option<unsafe extern "C" fn(*mut GIOStream) -> *mut GInputStream>, 3761 pub get_output_stream: Option<unsafe extern "C" fn(*mut GIOStream) -> *mut GOutputStream>, 3762 pub close_fn: Option< 3763 unsafe extern "C" fn(*mut GIOStream, *mut GCancellable, *mut *mut glib::GError) -> gboolean, 3764 >, 3765 pub close_async: Option< 3766 unsafe extern "C" fn( 3767 *mut GIOStream, 3768 c_int, 3769 *mut GCancellable, 3770 GAsyncReadyCallback, 3771 gpointer, 3772 ), 3773 >, 3774 pub close_finish: Option< 3775 unsafe extern "C" fn(*mut GIOStream, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 3776 >, 3777 pub _g_reserved1: Option<unsafe extern "C" fn()>, 3778 pub _g_reserved2: Option<unsafe extern "C" fn()>, 3779 pub _g_reserved3: Option<unsafe extern "C" fn()>, 3780 pub _g_reserved4: Option<unsafe extern "C" fn()>, 3781 pub _g_reserved5: Option<unsafe extern "C" fn()>, 3782 pub _g_reserved6: Option<unsafe extern "C" fn()>, 3783 pub _g_reserved7: Option<unsafe extern "C" fn()>, 3784 pub _g_reserved8: Option<unsafe extern "C" fn()>, 3785 pub _g_reserved9: Option<unsafe extern "C" fn()>, 3786 pub _g_reserved10: Option<unsafe extern "C" fn()>, 3787 } 3788 3789 impl ::std::fmt::Debug for GIOStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3790 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3791 f.debug_struct(&format!("GIOStreamClass @ {:?}", self as *const _)) 3792 .field("parent_class", &self.parent_class) 3793 .field("get_input_stream", &self.get_input_stream) 3794 .field("get_output_stream", &self.get_output_stream) 3795 .field("close_fn", &self.close_fn) 3796 .field("close_async", &self.close_async) 3797 .field("close_finish", &self.close_finish) 3798 .field("_g_reserved1", &self._g_reserved1) 3799 .field("_g_reserved2", &self._g_reserved2) 3800 .field("_g_reserved3", &self._g_reserved3) 3801 .field("_g_reserved4", &self._g_reserved4) 3802 .field("_g_reserved5", &self._g_reserved5) 3803 .field("_g_reserved6", &self._g_reserved6) 3804 .field("_g_reserved7", &self._g_reserved7) 3805 .field("_g_reserved8", &self._g_reserved8) 3806 .field("_g_reserved9", &self._g_reserved9) 3807 .field("_g_reserved10", &self._g_reserved10) 3808 .finish() 3809 } 3810 } 3811 3812 #[repr(C)] 3813 pub struct _GIOStreamPrivate(c_void); 3814 3815 pub type GIOStreamPrivate = *mut _GIOStreamPrivate; 3816 3817 #[repr(C)] 3818 #[derive(Copy, Clone)] 3819 pub struct GIconIface { 3820 pub g_iface: gobject::GTypeInterface, 3821 pub hash: Option<unsafe extern "C" fn(*mut GIcon) -> c_uint>, 3822 pub equal: Option<unsafe extern "C" fn(*mut GIcon, *mut GIcon) -> gboolean>, 3823 pub to_tokens: 3824 Option<unsafe extern "C" fn(*mut GIcon, *mut glib::GPtrArray, *mut c_int) -> gboolean>, 3825 pub from_tokens: Option< 3826 unsafe extern "C" fn(*mut *mut c_char, c_int, c_int, *mut *mut glib::GError) -> *mut GIcon, 3827 >, 3828 pub serialize: Option<unsafe extern "C" fn(*mut GIcon) -> *mut glib::GVariant>, 3829 } 3830 3831 impl ::std::fmt::Debug for GIconIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3832 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3833 f.debug_struct(&format!("GIconIface @ {:?}", self as *const _)) 3834 .field("g_iface", &self.g_iface) 3835 .field("hash", &self.hash) 3836 .field("equal", &self.equal) 3837 .field("to_tokens", &self.to_tokens) 3838 .field("from_tokens", &self.from_tokens) 3839 .field("serialize", &self.serialize) 3840 .finish() 3841 } 3842 } 3843 3844 #[repr(C)] 3845 #[derive(Copy, Clone)] 3846 pub struct GInetAddressClass { 3847 pub parent_class: gobject::GObjectClass, 3848 pub to_string: Option<unsafe extern "C" fn(*mut GInetAddress) -> *mut c_char>, 3849 pub to_bytes: Option<unsafe extern "C" fn(*mut GInetAddress) -> *const u8>, 3850 } 3851 3852 impl ::std::fmt::Debug for GInetAddressClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3853 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3854 f.debug_struct(&format!("GInetAddressClass @ {:?}", self as *const _)) 3855 .field("parent_class", &self.parent_class) 3856 .field("to_string", &self.to_string) 3857 .field("to_bytes", &self.to_bytes) 3858 .finish() 3859 } 3860 } 3861 3862 #[repr(C)] 3863 #[derive(Copy, Clone)] 3864 pub struct GInetAddressMaskClass { 3865 pub parent_class: gobject::GObjectClass, 3866 } 3867 3868 impl ::std::fmt::Debug for GInetAddressMaskClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3869 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3870 f.debug_struct(&format!("GInetAddressMaskClass @ {:?}", self as *const _)) 3871 .field("parent_class", &self.parent_class) 3872 .finish() 3873 } 3874 } 3875 3876 #[repr(C)] 3877 pub struct _GInetAddressMaskPrivate(c_void); 3878 3879 pub type GInetAddressMaskPrivate = *mut _GInetAddressMaskPrivate; 3880 3881 #[repr(C)] 3882 pub struct _GInetAddressPrivate(c_void); 3883 3884 pub type GInetAddressPrivate = *mut _GInetAddressPrivate; 3885 3886 #[repr(C)] 3887 #[derive(Copy, Clone)] 3888 pub struct GInetSocketAddressClass { 3889 pub parent_class: GSocketAddressClass, 3890 } 3891 3892 impl ::std::fmt::Debug for GInetSocketAddressClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3893 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3894 f.debug_struct(&format!("GInetSocketAddressClass @ {:?}", self as *const _)) 3895 .field("parent_class", &self.parent_class) 3896 .finish() 3897 } 3898 } 3899 3900 #[repr(C)] 3901 pub struct _GInetSocketAddressPrivate(c_void); 3902 3903 pub type GInetSocketAddressPrivate = *mut _GInetSocketAddressPrivate; 3904 3905 #[repr(C)] 3906 #[derive(Copy, Clone)] 3907 pub struct GInitableIface { 3908 pub g_iface: gobject::GTypeInterface, 3909 pub init: Option< 3910 unsafe extern "C" fn(*mut GInitable, *mut GCancellable, *mut *mut glib::GError) -> gboolean, 3911 >, 3912 } 3913 3914 impl ::std::fmt::Debug for GInitableIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3915 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3916 f.debug_struct(&format!("GInitableIface @ {:?}", self as *const _)) 3917 .field("g_iface", &self.g_iface) 3918 .field("init", &self.init) 3919 .finish() 3920 } 3921 } 3922 3923 #[repr(C)] 3924 #[derive(Copy, Clone)] 3925 pub struct GInputMessage { 3926 pub address: *mut *mut GSocketAddress, 3927 pub vectors: *mut GInputVector, 3928 pub num_vectors: c_uint, 3929 pub bytes_received: size_t, 3930 pub flags: c_int, 3931 pub control_messages: *mut *mut *mut GSocketControlMessage, 3932 pub num_control_messages: *mut c_uint, 3933 } 3934 3935 impl ::std::fmt::Debug for GInputMessage { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result3936 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 3937 f.debug_struct(&format!("GInputMessage @ {:?}", self as *const _)) 3938 .field("address", &self.address) 3939 .field("vectors", &self.vectors) 3940 .field("num_vectors", &self.num_vectors) 3941 .field("bytes_received", &self.bytes_received) 3942 .field("flags", &self.flags) 3943 .field("control_messages", &self.control_messages) 3944 .field("num_control_messages", &self.num_control_messages) 3945 .finish() 3946 } 3947 } 3948 3949 #[repr(C)] 3950 #[derive(Copy, Clone)] 3951 pub struct GInputStreamClass { 3952 pub parent_class: gobject::GObjectClass, 3953 pub read_fn: Option< 3954 unsafe extern "C" fn( 3955 *mut GInputStream, 3956 *mut c_void, 3957 size_t, 3958 *mut GCancellable, 3959 *mut *mut glib::GError, 3960 ) -> ssize_t, 3961 >, 3962 pub skip: Option< 3963 unsafe extern "C" fn( 3964 *mut GInputStream, 3965 size_t, 3966 *mut GCancellable, 3967 *mut *mut glib::GError, 3968 ) -> ssize_t, 3969 >, 3970 pub close_fn: Option< 3971 unsafe extern "C" fn( 3972 *mut GInputStream, 3973 *mut GCancellable, 3974 *mut *mut glib::GError, 3975 ) -> gboolean, 3976 >, 3977 pub read_async: Option< 3978 unsafe extern "C" fn( 3979 *mut GInputStream, 3980 *mut u8, 3981 size_t, 3982 c_int, 3983 *mut GCancellable, 3984 GAsyncReadyCallback, 3985 gpointer, 3986 ), 3987 >, 3988 pub read_finish: Option< 3989 unsafe extern "C" fn( 3990 *mut GInputStream, 3991 *mut GAsyncResult, 3992 *mut *mut glib::GError, 3993 ) -> ssize_t, 3994 >, 3995 pub skip_async: Option< 3996 unsafe extern "C" fn( 3997 *mut GInputStream, 3998 size_t, 3999 c_int, 4000 *mut GCancellable, 4001 GAsyncReadyCallback, 4002 gpointer, 4003 ), 4004 >, 4005 pub skip_finish: Option< 4006 unsafe extern "C" fn( 4007 *mut GInputStream, 4008 *mut GAsyncResult, 4009 *mut *mut glib::GError, 4010 ) -> ssize_t, 4011 >, 4012 pub close_async: Option< 4013 unsafe extern "C" fn( 4014 *mut GInputStream, 4015 c_int, 4016 *mut GCancellable, 4017 GAsyncReadyCallback, 4018 gpointer, 4019 ), 4020 >, 4021 pub close_finish: Option< 4022 unsafe extern "C" fn( 4023 *mut GInputStream, 4024 *mut GAsyncResult, 4025 *mut *mut glib::GError, 4026 ) -> gboolean, 4027 >, 4028 pub _g_reserved1: Option<unsafe extern "C" fn()>, 4029 pub _g_reserved2: Option<unsafe extern "C" fn()>, 4030 pub _g_reserved3: Option<unsafe extern "C" fn()>, 4031 pub _g_reserved4: Option<unsafe extern "C" fn()>, 4032 pub _g_reserved5: Option<unsafe extern "C" fn()>, 4033 } 4034 4035 impl ::std::fmt::Debug for GInputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4036 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4037 f.debug_struct(&format!("GInputStreamClass @ {:?}", self as *const _)) 4038 .field("parent_class", &self.parent_class) 4039 .field("read_fn", &self.read_fn) 4040 .field("skip", &self.skip) 4041 .field("close_fn", &self.close_fn) 4042 .field("read_async", &self.read_async) 4043 .field("read_finish", &self.read_finish) 4044 .field("skip_async", &self.skip_async) 4045 .field("skip_finish", &self.skip_finish) 4046 .field("close_async", &self.close_async) 4047 .field("close_finish", &self.close_finish) 4048 .field("_g_reserved1", &self._g_reserved1) 4049 .field("_g_reserved2", &self._g_reserved2) 4050 .field("_g_reserved3", &self._g_reserved3) 4051 .field("_g_reserved4", &self._g_reserved4) 4052 .field("_g_reserved5", &self._g_reserved5) 4053 .finish() 4054 } 4055 } 4056 4057 #[repr(C)] 4058 pub struct _GInputStreamPrivate(c_void); 4059 4060 pub type GInputStreamPrivate = *mut _GInputStreamPrivate; 4061 4062 #[repr(C)] 4063 #[derive(Copy, Clone)] 4064 pub struct GInputVector { 4065 pub buffer: gpointer, 4066 pub size: size_t, 4067 } 4068 4069 impl ::std::fmt::Debug for GInputVector { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4070 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4071 f.debug_struct(&format!("GInputVector @ {:?}", self as *const _)) 4072 .field("buffer", &self.buffer) 4073 .field("size", &self.size) 4074 .finish() 4075 } 4076 } 4077 4078 #[repr(C)] 4079 #[derive(Copy, Clone)] 4080 pub struct GListModelInterface { 4081 pub g_iface: gobject::GTypeInterface, 4082 pub get_item_type: Option<unsafe extern "C" fn(*mut GListModel) -> GType>, 4083 pub get_n_items: Option<unsafe extern "C" fn(*mut GListModel) -> c_uint>, 4084 pub get_item: Option<unsafe extern "C" fn(*mut GListModel, c_uint) -> *mut gobject::GObject>, 4085 } 4086 4087 impl ::std::fmt::Debug for GListModelInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4088 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4089 f.debug_struct(&format!("GListModelInterface @ {:?}", self as *const _)) 4090 .field("g_iface", &self.g_iface) 4091 .field("get_item_type", &self.get_item_type) 4092 .field("get_n_items", &self.get_n_items) 4093 .field("get_item", &self.get_item) 4094 .finish() 4095 } 4096 } 4097 4098 #[repr(C)] 4099 #[derive(Copy, Clone)] 4100 pub struct GListStoreClass { 4101 pub parent_class: gobject::GObjectClass, 4102 } 4103 4104 impl ::std::fmt::Debug for GListStoreClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4105 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4106 f.debug_struct(&format!("GListStoreClass @ {:?}", self as *const _)) 4107 .field("parent_class", &self.parent_class) 4108 .finish() 4109 } 4110 } 4111 4112 #[repr(C)] 4113 #[derive(Copy, Clone)] 4114 pub struct GLoadableIconIface { 4115 pub g_iface: gobject::GTypeInterface, 4116 pub load: Option< 4117 unsafe extern "C" fn( 4118 *mut GLoadableIcon, 4119 c_int, 4120 *mut *mut c_char, 4121 *mut GCancellable, 4122 *mut *mut glib::GError, 4123 ) -> *mut GInputStream, 4124 >, 4125 pub load_async: Option< 4126 unsafe extern "C" fn( 4127 *mut GLoadableIcon, 4128 c_int, 4129 *mut GCancellable, 4130 GAsyncReadyCallback, 4131 gpointer, 4132 ), 4133 >, 4134 pub load_finish: Option< 4135 unsafe extern "C" fn( 4136 *mut GLoadableIcon, 4137 *mut GAsyncResult, 4138 *mut *mut c_char, 4139 *mut *mut glib::GError, 4140 ) -> *mut GInputStream, 4141 >, 4142 } 4143 4144 impl ::std::fmt::Debug for GLoadableIconIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4145 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4146 f.debug_struct(&format!("GLoadableIconIface @ {:?}", self as *const _)) 4147 .field("g_iface", &self.g_iface) 4148 .field("load", &self.load) 4149 .field("load_async", &self.load_async) 4150 .field("load_finish", &self.load_finish) 4151 .finish() 4152 } 4153 } 4154 4155 #[repr(C)] 4156 #[derive(Copy, Clone)] 4157 pub struct GMemoryInputStreamClass { 4158 pub parent_class: GInputStreamClass, 4159 pub _g_reserved1: Option<unsafe extern "C" fn()>, 4160 pub _g_reserved2: Option<unsafe extern "C" fn()>, 4161 pub _g_reserved3: Option<unsafe extern "C" fn()>, 4162 pub _g_reserved4: Option<unsafe extern "C" fn()>, 4163 pub _g_reserved5: Option<unsafe extern "C" fn()>, 4164 } 4165 4166 impl ::std::fmt::Debug for GMemoryInputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4167 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4168 f.debug_struct(&format!("GMemoryInputStreamClass @ {:?}", self as *const _)) 4169 .field("parent_class", &self.parent_class) 4170 .field("_g_reserved1", &self._g_reserved1) 4171 .field("_g_reserved2", &self._g_reserved2) 4172 .field("_g_reserved3", &self._g_reserved3) 4173 .field("_g_reserved4", &self._g_reserved4) 4174 .field("_g_reserved5", &self._g_reserved5) 4175 .finish() 4176 } 4177 } 4178 4179 #[repr(C)] 4180 pub struct _GMemoryInputStreamPrivate(c_void); 4181 4182 pub type GMemoryInputStreamPrivate = *mut _GMemoryInputStreamPrivate; 4183 4184 #[repr(C)] 4185 #[derive(Copy, Clone)] 4186 pub struct GMemoryOutputStreamClass { 4187 pub parent_class: GOutputStreamClass, 4188 pub _g_reserved1: Option<unsafe extern "C" fn()>, 4189 pub _g_reserved2: Option<unsafe extern "C" fn()>, 4190 pub _g_reserved3: Option<unsafe extern "C" fn()>, 4191 pub _g_reserved4: Option<unsafe extern "C" fn()>, 4192 pub _g_reserved5: Option<unsafe extern "C" fn()>, 4193 } 4194 4195 impl ::std::fmt::Debug for GMemoryOutputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4196 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4197 f.debug_struct(&format!( 4198 "GMemoryOutputStreamClass @ {:?}", 4199 self as *const _ 4200 )) 4201 .field("parent_class", &self.parent_class) 4202 .field("_g_reserved1", &self._g_reserved1) 4203 .field("_g_reserved2", &self._g_reserved2) 4204 .field("_g_reserved3", &self._g_reserved3) 4205 .field("_g_reserved4", &self._g_reserved4) 4206 .field("_g_reserved5", &self._g_reserved5) 4207 .finish() 4208 } 4209 } 4210 4211 #[repr(C)] 4212 pub struct _GMemoryOutputStreamPrivate(c_void); 4213 4214 pub type GMemoryOutputStreamPrivate = *mut _GMemoryOutputStreamPrivate; 4215 4216 #[repr(C)] 4217 #[derive(Copy, Clone)] 4218 pub struct GMenuAttributeIterClass { 4219 pub parent_class: gobject::GObjectClass, 4220 pub get_next: Option< 4221 unsafe extern "C" fn( 4222 *mut GMenuAttributeIter, 4223 *mut *const c_char, 4224 *mut *mut glib::GVariant, 4225 ) -> gboolean, 4226 >, 4227 } 4228 4229 impl ::std::fmt::Debug for GMenuAttributeIterClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4230 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4231 f.debug_struct(&format!("GMenuAttributeIterClass @ {:?}", self as *const _)) 4232 .field("parent_class", &self.parent_class) 4233 .field("get_next", &self.get_next) 4234 .finish() 4235 } 4236 } 4237 4238 #[repr(C)] 4239 pub struct _GMenuAttributeIterPrivate(c_void); 4240 4241 pub type GMenuAttributeIterPrivate = *mut _GMenuAttributeIterPrivate; 4242 4243 #[repr(C)] 4244 #[derive(Copy, Clone)] 4245 pub struct GMenuLinkIterClass { 4246 pub parent_class: gobject::GObjectClass, 4247 pub get_next: Option< 4248 unsafe extern "C" fn( 4249 *mut GMenuLinkIter, 4250 *mut *const c_char, 4251 *mut *mut GMenuModel, 4252 ) -> gboolean, 4253 >, 4254 } 4255 4256 impl ::std::fmt::Debug for GMenuLinkIterClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4257 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4258 f.debug_struct(&format!("GMenuLinkIterClass @ {:?}", self as *const _)) 4259 .field("parent_class", &self.parent_class) 4260 .field("get_next", &self.get_next) 4261 .finish() 4262 } 4263 } 4264 4265 #[repr(C)] 4266 pub struct _GMenuLinkIterPrivate(c_void); 4267 4268 pub type GMenuLinkIterPrivate = *mut _GMenuLinkIterPrivate; 4269 4270 #[repr(C)] 4271 #[derive(Copy, Clone)] 4272 pub struct GMenuModelClass { 4273 pub parent_class: gobject::GObjectClass, 4274 pub is_mutable: Option<unsafe extern "C" fn(*mut GMenuModel) -> gboolean>, 4275 pub get_n_items: Option<unsafe extern "C" fn(*mut GMenuModel) -> c_int>, 4276 pub get_item_attributes: 4277 Option<unsafe extern "C" fn(*mut GMenuModel, c_int, *mut *mut glib::GHashTable)>, 4278 pub iterate_item_attributes: 4279 Option<unsafe extern "C" fn(*mut GMenuModel, c_int) -> *mut GMenuAttributeIter>, 4280 pub get_item_attribute_value: Option< 4281 unsafe extern "C" fn( 4282 *mut GMenuModel, 4283 c_int, 4284 *const c_char, 4285 *const glib::GVariantType, 4286 ) -> *mut glib::GVariant, 4287 >, 4288 pub get_item_links: 4289 Option<unsafe extern "C" fn(*mut GMenuModel, c_int, *mut *mut glib::GHashTable)>, 4290 pub iterate_item_links: 4291 Option<unsafe extern "C" fn(*mut GMenuModel, c_int) -> *mut GMenuLinkIter>, 4292 pub get_item_link: 4293 Option<unsafe extern "C" fn(*mut GMenuModel, c_int, *const c_char) -> *mut GMenuModel>, 4294 } 4295 4296 impl ::std::fmt::Debug for GMenuModelClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4297 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4298 f.debug_struct(&format!("GMenuModelClass @ {:?}", self as *const _)) 4299 .field("parent_class", &self.parent_class) 4300 .field("is_mutable", &self.is_mutable) 4301 .field("get_n_items", &self.get_n_items) 4302 .field("get_item_attributes", &self.get_item_attributes) 4303 .field("iterate_item_attributes", &self.iterate_item_attributes) 4304 .field("get_item_attribute_value", &self.get_item_attribute_value) 4305 .field("get_item_links", &self.get_item_links) 4306 .field("iterate_item_links", &self.iterate_item_links) 4307 .field("get_item_link", &self.get_item_link) 4308 .finish() 4309 } 4310 } 4311 4312 #[repr(C)] 4313 pub struct _GMenuModelPrivate(c_void); 4314 4315 pub type GMenuModelPrivate = *mut _GMenuModelPrivate; 4316 4317 #[repr(C)] 4318 #[derive(Copy, Clone)] 4319 pub struct GMountIface { 4320 pub g_iface: gobject::GTypeInterface, 4321 pub changed: Option<unsafe extern "C" fn(*mut GMount)>, 4322 pub unmounted: Option<unsafe extern "C" fn(*mut GMount)>, 4323 pub get_root: Option<unsafe extern "C" fn(*mut GMount) -> *mut GFile>, 4324 pub get_name: Option<unsafe extern "C" fn(*mut GMount) -> *const c_char>, 4325 pub get_icon: Option<unsafe extern "C" fn(*mut GMount) -> *mut GIcon>, 4326 pub get_uuid: Option<unsafe extern "C" fn(*mut GMount) -> *const c_char>, 4327 pub get_volume: Option<unsafe extern "C" fn(*mut GMount) -> *mut GVolume>, 4328 pub get_drive: Option<unsafe extern "C" fn(*mut GMount) -> *mut GDrive>, 4329 pub can_unmount: Option<unsafe extern "C" fn(*mut GMount) -> gboolean>, 4330 pub can_eject: Option<unsafe extern "C" fn(*mut GMount) -> gboolean>, 4331 pub unmount: Option< 4332 unsafe extern "C" fn( 4333 *mut GMount, 4334 GMountUnmountFlags, 4335 *mut GCancellable, 4336 GAsyncReadyCallback, 4337 gpointer, 4338 ), 4339 >, 4340 pub unmount_finish: Option< 4341 unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 4342 >, 4343 pub eject: Option< 4344 unsafe extern "C" fn( 4345 *mut GMount, 4346 GMountUnmountFlags, 4347 *mut GCancellable, 4348 GAsyncReadyCallback, 4349 gpointer, 4350 ), 4351 >, 4352 pub eject_finish: Option< 4353 unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 4354 >, 4355 pub remount: Option< 4356 unsafe extern "C" fn( 4357 *mut GMount, 4358 GMountMountFlags, 4359 *mut GMountOperation, 4360 *mut GCancellable, 4361 GAsyncReadyCallback, 4362 gpointer, 4363 ), 4364 >, 4365 pub remount_finish: Option< 4366 unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 4367 >, 4368 pub guess_content_type: Option< 4369 unsafe extern "C" fn( 4370 *mut GMount, 4371 gboolean, 4372 *mut GCancellable, 4373 GAsyncReadyCallback, 4374 gpointer, 4375 ), 4376 >, 4377 pub guess_content_type_finish: Option< 4378 unsafe extern "C" fn( 4379 *mut GMount, 4380 *mut GAsyncResult, 4381 *mut *mut glib::GError, 4382 ) -> *mut *mut c_char, 4383 >, 4384 pub guess_content_type_sync: Option< 4385 unsafe extern "C" fn( 4386 *mut GMount, 4387 gboolean, 4388 *mut GCancellable, 4389 *mut *mut glib::GError, 4390 ) -> *mut *mut c_char, 4391 >, 4392 pub pre_unmount: Option<unsafe extern "C" fn(*mut GMount)>, 4393 pub unmount_with_operation: Option< 4394 unsafe extern "C" fn( 4395 *mut GMount, 4396 GMountUnmountFlags, 4397 *mut GMountOperation, 4398 *mut GCancellable, 4399 GAsyncReadyCallback, 4400 gpointer, 4401 ), 4402 >, 4403 pub unmount_with_operation_finish: Option< 4404 unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 4405 >, 4406 pub eject_with_operation: Option< 4407 unsafe extern "C" fn( 4408 *mut GMount, 4409 GMountUnmountFlags, 4410 *mut GMountOperation, 4411 *mut GCancellable, 4412 GAsyncReadyCallback, 4413 gpointer, 4414 ), 4415 >, 4416 pub eject_with_operation_finish: Option< 4417 unsafe extern "C" fn(*mut GMount, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 4418 >, 4419 pub get_default_location: Option<unsafe extern "C" fn(*mut GMount) -> *mut GFile>, 4420 pub get_sort_key: Option<unsafe extern "C" fn(*mut GMount) -> *const c_char>, 4421 pub get_symbolic_icon: Option<unsafe extern "C" fn(*mut GMount) -> *mut GIcon>, 4422 } 4423 4424 impl ::std::fmt::Debug for GMountIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4425 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4426 f.debug_struct(&format!("GMountIface @ {:?}", self as *const _)) 4427 .field("g_iface", &self.g_iface) 4428 .field("changed", &self.changed) 4429 .field("unmounted", &self.unmounted) 4430 .field("get_root", &self.get_root) 4431 .field("get_name", &self.get_name) 4432 .field("get_icon", &self.get_icon) 4433 .field("get_uuid", &self.get_uuid) 4434 .field("get_volume", &self.get_volume) 4435 .field("get_drive", &self.get_drive) 4436 .field("can_unmount", &self.can_unmount) 4437 .field("can_eject", &self.can_eject) 4438 .field("unmount", &self.unmount) 4439 .field("unmount_finish", &self.unmount_finish) 4440 .field("eject", &self.eject) 4441 .field("eject_finish", &self.eject_finish) 4442 .field("remount", &self.remount) 4443 .field("remount_finish", &self.remount_finish) 4444 .field("guess_content_type", &self.guess_content_type) 4445 .field("guess_content_type_finish", &self.guess_content_type_finish) 4446 .field("guess_content_type_sync", &self.guess_content_type_sync) 4447 .field("pre_unmount", &self.pre_unmount) 4448 .field("unmount_with_operation", &self.unmount_with_operation) 4449 .field( 4450 "unmount_with_operation_finish", 4451 &self.unmount_with_operation_finish, 4452 ) 4453 .field("eject_with_operation", &self.eject_with_operation) 4454 .field( 4455 "eject_with_operation_finish", 4456 &self.eject_with_operation_finish, 4457 ) 4458 .field("get_default_location", &self.get_default_location) 4459 .field("get_sort_key", &self.get_sort_key) 4460 .field("get_symbolic_icon", &self.get_symbolic_icon) 4461 .finish() 4462 } 4463 } 4464 4465 #[repr(C)] 4466 #[derive(Copy, Clone)] 4467 pub struct GMountOperationClass { 4468 pub parent_class: gobject::GObjectClass, 4469 pub ask_password: Option< 4470 unsafe extern "C" fn( 4471 *mut GMountOperation, 4472 *const c_char, 4473 *const c_char, 4474 *const c_char, 4475 GAskPasswordFlags, 4476 ), 4477 >, 4478 pub ask_question: 4479 Option<unsafe extern "C" fn(*mut GMountOperation, *const c_char, *mut *const c_char)>, 4480 pub reply: Option<unsafe extern "C" fn(*mut GMountOperation, GMountOperationResult)>, 4481 pub aborted: Option<unsafe extern "C" fn(*mut GMountOperation)>, 4482 pub show_processes: Option< 4483 unsafe extern "C" fn( 4484 *mut GMountOperation, 4485 *const c_char, 4486 *mut glib::GArray, 4487 *mut *const c_char, 4488 ), 4489 >, 4490 pub show_unmount_progress: 4491 Option<unsafe extern "C" fn(*mut GMountOperation, *const c_char, i64, i64)>, 4492 pub _g_reserved1: Option<unsafe extern "C" fn()>, 4493 pub _g_reserved2: Option<unsafe extern "C" fn()>, 4494 pub _g_reserved3: Option<unsafe extern "C" fn()>, 4495 pub _g_reserved4: Option<unsafe extern "C" fn()>, 4496 pub _g_reserved5: Option<unsafe extern "C" fn()>, 4497 pub _g_reserved6: Option<unsafe extern "C" fn()>, 4498 pub _g_reserved7: Option<unsafe extern "C" fn()>, 4499 pub _g_reserved8: Option<unsafe extern "C" fn()>, 4500 pub _g_reserved9: Option<unsafe extern "C" fn()>, 4501 } 4502 4503 impl ::std::fmt::Debug for GMountOperationClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4504 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4505 f.debug_struct(&format!("GMountOperationClass @ {:?}", self as *const _)) 4506 .field("parent_class", &self.parent_class) 4507 .field("ask_password", &self.ask_password) 4508 .field("ask_question", &self.ask_question) 4509 .field("reply", &self.reply) 4510 .field("aborted", &self.aborted) 4511 .field("show_processes", &self.show_processes) 4512 .field("show_unmount_progress", &self.show_unmount_progress) 4513 .field("_g_reserved1", &self._g_reserved1) 4514 .field("_g_reserved2", &self._g_reserved2) 4515 .field("_g_reserved3", &self._g_reserved3) 4516 .field("_g_reserved4", &self._g_reserved4) 4517 .field("_g_reserved5", &self._g_reserved5) 4518 .field("_g_reserved6", &self._g_reserved6) 4519 .field("_g_reserved7", &self._g_reserved7) 4520 .field("_g_reserved8", &self._g_reserved8) 4521 .field("_g_reserved9", &self._g_reserved9) 4522 .finish() 4523 } 4524 } 4525 4526 #[repr(C)] 4527 pub struct _GMountOperationPrivate(c_void); 4528 4529 pub type GMountOperationPrivate = *mut _GMountOperationPrivate; 4530 4531 #[repr(C)] 4532 #[derive(Copy, Clone)] 4533 pub struct GNativeSocketAddressClass { 4534 pub parent_class: GSocketAddressClass, 4535 } 4536 4537 impl ::std::fmt::Debug for GNativeSocketAddressClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4538 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4539 f.debug_struct(&format!( 4540 "GNativeSocketAddressClass @ {:?}", 4541 self as *const _ 4542 )) 4543 .field("parent_class", &self.parent_class) 4544 .finish() 4545 } 4546 } 4547 4548 #[repr(C)] 4549 pub struct _GNativeSocketAddressPrivate(c_void); 4550 4551 pub type GNativeSocketAddressPrivate = *mut _GNativeSocketAddressPrivate; 4552 4553 #[repr(C)] 4554 #[derive(Copy, Clone)] 4555 pub struct GNativeVolumeMonitorClass { 4556 pub parent_class: GVolumeMonitorClass, 4557 pub get_mount_for_mount_path: 4558 Option<unsafe extern "C" fn(*const c_char, *mut GCancellable) -> *mut GMount>, 4559 } 4560 4561 impl ::std::fmt::Debug for GNativeVolumeMonitorClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4562 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4563 f.debug_struct(&format!( 4564 "GNativeVolumeMonitorClass @ {:?}", 4565 self as *const _ 4566 )) 4567 .field("parent_class", &self.parent_class) 4568 .field("get_mount_for_mount_path", &self.get_mount_for_mount_path) 4569 .finish() 4570 } 4571 } 4572 4573 #[repr(C)] 4574 #[derive(Copy, Clone)] 4575 pub struct GNetworkAddressClass { 4576 pub parent_class: gobject::GObjectClass, 4577 } 4578 4579 impl ::std::fmt::Debug for GNetworkAddressClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4580 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4581 f.debug_struct(&format!("GNetworkAddressClass @ {:?}", self as *const _)) 4582 .field("parent_class", &self.parent_class) 4583 .finish() 4584 } 4585 } 4586 4587 #[repr(C)] 4588 pub struct _GNetworkAddressPrivate(c_void); 4589 4590 pub type GNetworkAddressPrivate = *mut _GNetworkAddressPrivate; 4591 4592 #[repr(C)] 4593 #[derive(Copy, Clone)] 4594 pub struct GNetworkMonitorInterface { 4595 pub g_iface: gobject::GTypeInterface, 4596 pub network_changed: Option<unsafe extern "C" fn(*mut GNetworkMonitor, gboolean)>, 4597 pub can_reach: Option< 4598 unsafe extern "C" fn( 4599 *mut GNetworkMonitor, 4600 *mut GSocketConnectable, 4601 *mut GCancellable, 4602 *mut *mut glib::GError, 4603 ) -> gboolean, 4604 >, 4605 pub can_reach_async: Option< 4606 unsafe extern "C" fn( 4607 *mut GNetworkMonitor, 4608 *mut GSocketConnectable, 4609 *mut GCancellable, 4610 GAsyncReadyCallback, 4611 gpointer, 4612 ), 4613 >, 4614 pub can_reach_finish: Option< 4615 unsafe extern "C" fn( 4616 *mut GNetworkMonitor, 4617 *mut GAsyncResult, 4618 *mut *mut glib::GError, 4619 ) -> gboolean, 4620 >, 4621 } 4622 4623 impl ::std::fmt::Debug for GNetworkMonitorInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4624 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4625 f.debug_struct(&format!( 4626 "GNetworkMonitorInterface @ {:?}", 4627 self as *const _ 4628 )) 4629 .field("g_iface", &self.g_iface) 4630 .field("network_changed", &self.network_changed) 4631 .field("can_reach", &self.can_reach) 4632 .field("can_reach_async", &self.can_reach_async) 4633 .field("can_reach_finish", &self.can_reach_finish) 4634 .finish() 4635 } 4636 } 4637 4638 #[repr(C)] 4639 #[derive(Copy, Clone)] 4640 pub struct GNetworkServiceClass { 4641 pub parent_class: gobject::GObjectClass, 4642 } 4643 4644 impl ::std::fmt::Debug for GNetworkServiceClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4645 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4646 f.debug_struct(&format!("GNetworkServiceClass @ {:?}", self as *const _)) 4647 .field("parent_class", &self.parent_class) 4648 .finish() 4649 } 4650 } 4651 4652 #[repr(C)] 4653 pub struct _GNetworkServicePrivate(c_void); 4654 4655 pub type GNetworkServicePrivate = *mut _GNetworkServicePrivate; 4656 4657 #[repr(C)] 4658 #[derive(Copy, Clone)] 4659 pub struct GOutputMessage { 4660 pub address: *mut GSocketAddress, 4661 pub vectors: *mut GOutputVector, 4662 pub num_vectors: c_uint, 4663 pub bytes_sent: c_uint, 4664 pub control_messages: *mut *mut GSocketControlMessage, 4665 pub num_control_messages: c_uint, 4666 } 4667 4668 impl ::std::fmt::Debug for GOutputMessage { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4669 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4670 f.debug_struct(&format!("GOutputMessage @ {:?}", self as *const _)) 4671 .field("address", &self.address) 4672 .field("vectors", &self.vectors) 4673 .field("num_vectors", &self.num_vectors) 4674 .field("bytes_sent", &self.bytes_sent) 4675 .field("control_messages", &self.control_messages) 4676 .field("num_control_messages", &self.num_control_messages) 4677 .finish() 4678 } 4679 } 4680 4681 #[repr(C)] 4682 #[derive(Copy, Clone)] 4683 pub struct GOutputStreamClass { 4684 pub parent_class: gobject::GObjectClass, 4685 pub write_fn: Option< 4686 unsafe extern "C" fn( 4687 *mut GOutputStream, 4688 *mut u8, 4689 size_t, 4690 *mut GCancellable, 4691 *mut *mut glib::GError, 4692 ) -> ssize_t, 4693 >, 4694 pub splice: Option< 4695 unsafe extern "C" fn( 4696 *mut GOutputStream, 4697 *mut GInputStream, 4698 GOutputStreamSpliceFlags, 4699 *mut GCancellable, 4700 *mut *mut glib::GError, 4701 ) -> ssize_t, 4702 >, 4703 pub flush: Option< 4704 unsafe extern "C" fn( 4705 *mut GOutputStream, 4706 *mut GCancellable, 4707 *mut *mut glib::GError, 4708 ) -> gboolean, 4709 >, 4710 pub close_fn: Option< 4711 unsafe extern "C" fn( 4712 *mut GOutputStream, 4713 *mut GCancellable, 4714 *mut *mut glib::GError, 4715 ) -> gboolean, 4716 >, 4717 pub write_async: Option< 4718 unsafe extern "C" fn( 4719 *mut GOutputStream, 4720 *mut u8, 4721 size_t, 4722 c_int, 4723 *mut GCancellable, 4724 GAsyncReadyCallback, 4725 gpointer, 4726 ), 4727 >, 4728 pub write_finish: Option< 4729 unsafe extern "C" fn( 4730 *mut GOutputStream, 4731 *mut GAsyncResult, 4732 *mut *mut glib::GError, 4733 ) -> ssize_t, 4734 >, 4735 pub splice_async: Option< 4736 unsafe extern "C" fn( 4737 *mut GOutputStream, 4738 *mut GInputStream, 4739 GOutputStreamSpliceFlags, 4740 c_int, 4741 *mut GCancellable, 4742 GAsyncReadyCallback, 4743 gpointer, 4744 ), 4745 >, 4746 pub splice_finish: Option< 4747 unsafe extern "C" fn( 4748 *mut GOutputStream, 4749 *mut GAsyncResult, 4750 *mut *mut glib::GError, 4751 ) -> ssize_t, 4752 >, 4753 pub flush_async: Option< 4754 unsafe extern "C" fn( 4755 *mut GOutputStream, 4756 c_int, 4757 *mut GCancellable, 4758 GAsyncReadyCallback, 4759 gpointer, 4760 ), 4761 >, 4762 pub flush_finish: Option< 4763 unsafe extern "C" fn( 4764 *mut GOutputStream, 4765 *mut GAsyncResult, 4766 *mut *mut glib::GError, 4767 ) -> gboolean, 4768 >, 4769 pub close_async: Option< 4770 unsafe extern "C" fn( 4771 *mut GOutputStream, 4772 c_int, 4773 *mut GCancellable, 4774 GAsyncReadyCallback, 4775 gpointer, 4776 ), 4777 >, 4778 pub close_finish: Option< 4779 unsafe extern "C" fn( 4780 *mut GOutputStream, 4781 *mut GAsyncResult, 4782 *mut *mut glib::GError, 4783 ) -> gboolean, 4784 >, 4785 pub writev_fn: Option< 4786 unsafe extern "C" fn( 4787 *mut GOutputStream, 4788 *const GOutputVector, 4789 size_t, 4790 *mut size_t, 4791 *mut GCancellable, 4792 *mut *mut glib::GError, 4793 ) -> gboolean, 4794 >, 4795 pub writev_async: Option< 4796 unsafe extern "C" fn( 4797 *mut GOutputStream, 4798 *const GOutputVector, 4799 size_t, 4800 c_int, 4801 *mut GCancellable, 4802 GAsyncReadyCallback, 4803 gpointer, 4804 ), 4805 >, 4806 pub writev_finish: Option< 4807 unsafe extern "C" fn( 4808 *mut GOutputStream, 4809 *mut GAsyncResult, 4810 *mut size_t, 4811 *mut *mut glib::GError, 4812 ) -> gboolean, 4813 >, 4814 pub _g_reserved4: Option<unsafe extern "C" fn()>, 4815 pub _g_reserved5: Option<unsafe extern "C" fn()>, 4816 pub _g_reserved6: Option<unsafe extern "C" fn()>, 4817 pub _g_reserved7: Option<unsafe extern "C" fn()>, 4818 pub _g_reserved8: Option<unsafe extern "C" fn()>, 4819 } 4820 4821 impl ::std::fmt::Debug for GOutputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4822 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4823 f.debug_struct(&format!("GOutputStreamClass @ {:?}", self as *const _)) 4824 .field("parent_class", &self.parent_class) 4825 .field("write_fn", &self.write_fn) 4826 .field("splice", &self.splice) 4827 .field("flush", &self.flush) 4828 .field("close_fn", &self.close_fn) 4829 .field("write_async", &self.write_async) 4830 .field("write_finish", &self.write_finish) 4831 .field("splice_async", &self.splice_async) 4832 .field("splice_finish", &self.splice_finish) 4833 .field("flush_async", &self.flush_async) 4834 .field("flush_finish", &self.flush_finish) 4835 .field("close_async", &self.close_async) 4836 .field("close_finish", &self.close_finish) 4837 .field("writev_fn", &self.writev_fn) 4838 .field("writev_async", &self.writev_async) 4839 .field("writev_finish", &self.writev_finish) 4840 .field("_g_reserved4", &self._g_reserved4) 4841 .field("_g_reserved5", &self._g_reserved5) 4842 .field("_g_reserved6", &self._g_reserved6) 4843 .field("_g_reserved7", &self._g_reserved7) 4844 .field("_g_reserved8", &self._g_reserved8) 4845 .finish() 4846 } 4847 } 4848 4849 #[repr(C)] 4850 pub struct _GOutputStreamPrivate(c_void); 4851 4852 pub type GOutputStreamPrivate = *mut _GOutputStreamPrivate; 4853 4854 #[repr(C)] 4855 #[derive(Copy, Clone)] 4856 pub struct GOutputVector { 4857 pub buffer: gconstpointer, 4858 pub size: size_t, 4859 } 4860 4861 impl ::std::fmt::Debug for GOutputVector { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4862 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4863 f.debug_struct(&format!("GOutputVector @ {:?}", self as *const _)) 4864 .field("buffer", &self.buffer) 4865 .field("size", &self.size) 4866 .finish() 4867 } 4868 } 4869 4870 #[repr(C)] 4871 #[derive(Copy, Clone)] 4872 pub struct GPermissionClass { 4873 pub parent_class: gobject::GObjectClass, 4874 pub acquire: Option< 4875 unsafe extern "C" fn( 4876 *mut GPermission, 4877 *mut GCancellable, 4878 *mut *mut glib::GError, 4879 ) -> gboolean, 4880 >, 4881 pub acquire_async: Option< 4882 unsafe extern "C" fn(*mut GPermission, *mut GCancellable, GAsyncReadyCallback, gpointer), 4883 >, 4884 pub acquire_finish: Option< 4885 unsafe extern "C" fn( 4886 *mut GPermission, 4887 *mut GAsyncResult, 4888 *mut *mut glib::GError, 4889 ) -> gboolean, 4890 >, 4891 pub release: Option< 4892 unsafe extern "C" fn( 4893 *mut GPermission, 4894 *mut GCancellable, 4895 *mut *mut glib::GError, 4896 ) -> gboolean, 4897 >, 4898 pub release_async: Option< 4899 unsafe extern "C" fn(*mut GPermission, *mut GCancellable, GAsyncReadyCallback, gpointer), 4900 >, 4901 pub release_finish: Option< 4902 unsafe extern "C" fn( 4903 *mut GPermission, 4904 *mut GAsyncResult, 4905 *mut *mut glib::GError, 4906 ) -> gboolean, 4907 >, 4908 pub reserved: [gpointer; 16], 4909 } 4910 4911 impl ::std::fmt::Debug for GPermissionClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4912 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4913 f.debug_struct(&format!("GPermissionClass @ {:?}", self as *const _)) 4914 .field("parent_class", &self.parent_class) 4915 .field("acquire", &self.acquire) 4916 .field("acquire_async", &self.acquire_async) 4917 .field("acquire_finish", &self.acquire_finish) 4918 .field("release", &self.release) 4919 .field("release_async", &self.release_async) 4920 .field("release_finish", &self.release_finish) 4921 .field("reserved", &self.reserved) 4922 .finish() 4923 } 4924 } 4925 4926 #[repr(C)] 4927 pub struct _GPermissionPrivate(c_void); 4928 4929 pub type GPermissionPrivate = *mut _GPermissionPrivate; 4930 4931 #[repr(C)] 4932 #[derive(Copy, Clone)] 4933 pub struct GPollableInputStreamInterface { 4934 pub g_iface: gobject::GTypeInterface, 4935 pub can_poll: Option<unsafe extern "C" fn(*mut GPollableInputStream) -> gboolean>, 4936 pub is_readable: Option<unsafe extern "C" fn(*mut GPollableInputStream) -> gboolean>, 4937 pub create_source: Option< 4938 unsafe extern "C" fn(*mut GPollableInputStream, *mut GCancellable) -> *mut glib::GSource, 4939 >, 4940 pub read_nonblocking: Option< 4941 unsafe extern "C" fn( 4942 *mut GPollableInputStream, 4943 *mut u8, 4944 size_t, 4945 *mut *mut glib::GError, 4946 ) -> ssize_t, 4947 >, 4948 } 4949 4950 impl ::std::fmt::Debug for GPollableInputStreamInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4951 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4952 f.debug_struct(&format!( 4953 "GPollableInputStreamInterface @ {:?}", 4954 self as *const _ 4955 )) 4956 .field("g_iface", &self.g_iface) 4957 .field("can_poll", &self.can_poll) 4958 .field("is_readable", &self.is_readable) 4959 .field("create_source", &self.create_source) 4960 .field("read_nonblocking", &self.read_nonblocking) 4961 .finish() 4962 } 4963 } 4964 4965 #[repr(C)] 4966 #[derive(Copy, Clone)] 4967 pub struct GPollableOutputStreamInterface { 4968 pub g_iface: gobject::GTypeInterface, 4969 pub can_poll: Option<unsafe extern "C" fn(*mut GPollableOutputStream) -> gboolean>, 4970 pub is_writable: Option<unsafe extern "C" fn(*mut GPollableOutputStream) -> gboolean>, 4971 pub create_source: Option< 4972 unsafe extern "C" fn(*mut GPollableOutputStream, *mut GCancellable) -> *mut glib::GSource, 4973 >, 4974 pub write_nonblocking: Option< 4975 unsafe extern "C" fn( 4976 *mut GPollableOutputStream, 4977 *mut u8, 4978 size_t, 4979 *mut *mut glib::GError, 4980 ) -> ssize_t, 4981 >, 4982 pub writev_nonblocking: Option< 4983 unsafe extern "C" fn( 4984 *mut GPollableOutputStream, 4985 *const GOutputVector, 4986 size_t, 4987 *mut size_t, 4988 *mut *mut glib::GError, 4989 ) -> GPollableReturn, 4990 >, 4991 } 4992 4993 impl ::std::fmt::Debug for GPollableOutputStreamInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result4994 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 4995 f.debug_struct(&format!( 4996 "GPollableOutputStreamInterface @ {:?}", 4997 self as *const _ 4998 )) 4999 .field("g_iface", &self.g_iface) 5000 .field("can_poll", &self.can_poll) 5001 .field("is_writable", &self.is_writable) 5002 .field("create_source", &self.create_source) 5003 .field("write_nonblocking", &self.write_nonblocking) 5004 .field("writev_nonblocking", &self.writev_nonblocking) 5005 .finish() 5006 } 5007 } 5008 5009 #[repr(C)] 5010 #[derive(Copy, Clone)] 5011 pub struct GProxyAddressClass { 5012 pub parent_class: GInetSocketAddressClass, 5013 } 5014 5015 impl ::std::fmt::Debug for GProxyAddressClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5016 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5017 f.debug_struct(&format!("GProxyAddressClass @ {:?}", self as *const _)) 5018 .field("parent_class", &self.parent_class) 5019 .finish() 5020 } 5021 } 5022 5023 #[repr(C)] 5024 #[derive(Copy, Clone)] 5025 pub struct GProxyAddressEnumeratorClass { 5026 pub parent_class: GSocketAddressEnumeratorClass, 5027 pub _g_reserved1: Option<unsafe extern "C" fn()>, 5028 pub _g_reserved2: Option<unsafe extern "C" fn()>, 5029 pub _g_reserved3: Option<unsafe extern "C" fn()>, 5030 pub _g_reserved4: Option<unsafe extern "C" fn()>, 5031 pub _g_reserved5: Option<unsafe extern "C" fn()>, 5032 pub _g_reserved6: Option<unsafe extern "C" fn()>, 5033 pub _g_reserved7: Option<unsafe extern "C" fn()>, 5034 } 5035 5036 impl ::std::fmt::Debug for GProxyAddressEnumeratorClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5037 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5038 f.debug_struct(&format!( 5039 "GProxyAddressEnumeratorClass @ {:?}", 5040 self as *const _ 5041 )) 5042 .field("_g_reserved1", &self._g_reserved1) 5043 .field("_g_reserved2", &self._g_reserved2) 5044 .field("_g_reserved3", &self._g_reserved3) 5045 .field("_g_reserved4", &self._g_reserved4) 5046 .field("_g_reserved5", &self._g_reserved5) 5047 .field("_g_reserved6", &self._g_reserved6) 5048 .field("_g_reserved7", &self._g_reserved7) 5049 .finish() 5050 } 5051 } 5052 5053 #[repr(C)] 5054 pub struct _GProxyAddressEnumeratorPrivate(c_void); 5055 5056 pub type GProxyAddressEnumeratorPrivate = *mut _GProxyAddressEnumeratorPrivate; 5057 5058 #[repr(C)] 5059 pub struct _GProxyAddressPrivate(c_void); 5060 5061 pub type GProxyAddressPrivate = *mut _GProxyAddressPrivate; 5062 5063 #[repr(C)] 5064 #[derive(Copy, Clone)] 5065 pub struct GProxyInterface { 5066 pub g_iface: gobject::GTypeInterface, 5067 pub connect: Option< 5068 unsafe extern "C" fn( 5069 *mut GProxy, 5070 *mut GIOStream, 5071 *mut GProxyAddress, 5072 *mut GCancellable, 5073 *mut *mut glib::GError, 5074 ) -> *mut GIOStream, 5075 >, 5076 pub connect_async: Option< 5077 unsafe extern "C" fn( 5078 *mut GProxy, 5079 *mut GIOStream, 5080 *mut GProxyAddress, 5081 *mut GCancellable, 5082 GAsyncReadyCallback, 5083 gpointer, 5084 ), 5085 >, 5086 pub connect_finish: Option< 5087 unsafe extern "C" fn( 5088 *mut GProxy, 5089 *mut GAsyncResult, 5090 *mut *mut glib::GError, 5091 ) -> *mut GIOStream, 5092 >, 5093 pub supports_hostname: Option<unsafe extern "C" fn(*mut GProxy) -> gboolean>, 5094 } 5095 5096 impl ::std::fmt::Debug for GProxyInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5097 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5098 f.debug_struct(&format!("GProxyInterface @ {:?}", self as *const _)) 5099 .field("g_iface", &self.g_iface) 5100 .field("connect", &self.connect) 5101 .field("connect_async", &self.connect_async) 5102 .field("connect_finish", &self.connect_finish) 5103 .field("supports_hostname", &self.supports_hostname) 5104 .finish() 5105 } 5106 } 5107 5108 #[repr(C)] 5109 #[derive(Copy, Clone)] 5110 pub struct GProxyResolverInterface { 5111 pub g_iface: gobject::GTypeInterface, 5112 pub is_supported: Option<unsafe extern "C" fn(*mut GProxyResolver) -> gboolean>, 5113 pub lookup: Option< 5114 unsafe extern "C" fn( 5115 *mut GProxyResolver, 5116 *const c_char, 5117 *mut GCancellable, 5118 *mut *mut glib::GError, 5119 ) -> *mut *mut c_char, 5120 >, 5121 pub lookup_async: Option< 5122 unsafe extern "C" fn( 5123 *mut GProxyResolver, 5124 *const c_char, 5125 *mut GCancellable, 5126 GAsyncReadyCallback, 5127 gpointer, 5128 ), 5129 >, 5130 pub lookup_finish: Option< 5131 unsafe extern "C" fn( 5132 *mut GProxyResolver, 5133 *mut GAsyncResult, 5134 *mut *mut glib::GError, 5135 ) -> *mut *mut c_char, 5136 >, 5137 } 5138 5139 impl ::std::fmt::Debug for GProxyResolverInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5140 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5141 f.debug_struct(&format!("GProxyResolverInterface @ {:?}", self as *const _)) 5142 .field("g_iface", &self.g_iface) 5143 .field("is_supported", &self.is_supported) 5144 .field("lookup", &self.lookup) 5145 .field("lookup_async", &self.lookup_async) 5146 .field("lookup_finish", &self.lookup_finish) 5147 .finish() 5148 } 5149 } 5150 5151 #[repr(C)] 5152 #[derive(Copy, Clone)] 5153 pub struct GRemoteActionGroupInterface { 5154 pub g_iface: gobject::GTypeInterface, 5155 pub activate_action_full: Option< 5156 unsafe extern "C" fn( 5157 *mut GRemoteActionGroup, 5158 *const c_char, 5159 *mut glib::GVariant, 5160 *mut glib::GVariant, 5161 ), 5162 >, 5163 pub change_action_state_full: Option< 5164 unsafe extern "C" fn( 5165 *mut GRemoteActionGroup, 5166 *const c_char, 5167 *mut glib::GVariant, 5168 *mut glib::GVariant, 5169 ), 5170 >, 5171 } 5172 5173 impl ::std::fmt::Debug for GRemoteActionGroupInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5174 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5175 f.debug_struct(&format!( 5176 "GRemoteActionGroupInterface @ {:?}", 5177 self as *const _ 5178 )) 5179 .field("g_iface", &self.g_iface) 5180 .field("activate_action_full", &self.activate_action_full) 5181 .field("change_action_state_full", &self.change_action_state_full) 5182 .finish() 5183 } 5184 } 5185 5186 #[repr(C)] 5187 #[derive(Copy, Clone)] 5188 pub struct GResolverClass { 5189 pub parent_class: gobject::GObjectClass, 5190 pub reload: Option<unsafe extern "C" fn(*mut GResolver)>, 5191 pub lookup_by_name: Option< 5192 unsafe extern "C" fn( 5193 *mut GResolver, 5194 *const c_char, 5195 *mut GCancellable, 5196 *mut *mut glib::GError, 5197 ) -> *mut glib::GList, 5198 >, 5199 pub lookup_by_name_async: Option< 5200 unsafe extern "C" fn( 5201 *mut GResolver, 5202 *const c_char, 5203 *mut GCancellable, 5204 GAsyncReadyCallback, 5205 gpointer, 5206 ), 5207 >, 5208 pub lookup_by_name_finish: Option< 5209 unsafe extern "C" fn( 5210 *mut GResolver, 5211 *mut GAsyncResult, 5212 *mut *mut glib::GError, 5213 ) -> *mut glib::GList, 5214 >, 5215 pub lookup_by_address: Option< 5216 unsafe extern "C" fn( 5217 *mut GResolver, 5218 *mut GInetAddress, 5219 *mut GCancellable, 5220 *mut *mut glib::GError, 5221 ) -> *mut c_char, 5222 >, 5223 pub lookup_by_address_async: Option< 5224 unsafe extern "C" fn( 5225 *mut GResolver, 5226 *mut GInetAddress, 5227 *mut GCancellable, 5228 GAsyncReadyCallback, 5229 gpointer, 5230 ), 5231 >, 5232 pub lookup_by_address_finish: Option< 5233 unsafe extern "C" fn( 5234 *mut GResolver, 5235 *mut GAsyncResult, 5236 *mut *mut glib::GError, 5237 ) -> *mut c_char, 5238 >, 5239 pub lookup_service: Option< 5240 unsafe extern "C" fn( 5241 *mut GResolver, 5242 *const c_char, 5243 *mut GCancellable, 5244 *mut *mut glib::GError, 5245 ) -> *mut glib::GList, 5246 >, 5247 pub lookup_service_async: Option< 5248 unsafe extern "C" fn( 5249 *mut GResolver, 5250 *const c_char, 5251 *mut GCancellable, 5252 GAsyncReadyCallback, 5253 gpointer, 5254 ), 5255 >, 5256 pub lookup_service_finish: Option< 5257 unsafe extern "C" fn( 5258 *mut GResolver, 5259 *mut GAsyncResult, 5260 *mut *mut glib::GError, 5261 ) -> *mut glib::GList, 5262 >, 5263 pub lookup_records: Option< 5264 unsafe extern "C" fn( 5265 *mut GResolver, 5266 *const c_char, 5267 GResolverRecordType, 5268 *mut GCancellable, 5269 *mut *mut glib::GError, 5270 ) -> *mut glib::GList, 5271 >, 5272 pub lookup_records_async: Option< 5273 unsafe extern "C" fn( 5274 *mut GResolver, 5275 *const c_char, 5276 GResolverRecordType, 5277 *mut GCancellable, 5278 GAsyncReadyCallback, 5279 gpointer, 5280 ), 5281 >, 5282 pub lookup_records_finish: Option< 5283 unsafe extern "C" fn( 5284 *mut GResolver, 5285 *mut GAsyncResult, 5286 *mut *mut glib::GError, 5287 ) -> *mut glib::GList, 5288 >, 5289 pub lookup_by_name_with_flags_async: Option< 5290 unsafe extern "C" fn( 5291 *mut GResolver, 5292 *const c_char, 5293 GResolverNameLookupFlags, 5294 *mut GCancellable, 5295 GAsyncReadyCallback, 5296 gpointer, 5297 ), 5298 >, 5299 pub lookup_by_name_with_flags_finish: Option< 5300 unsafe extern "C" fn( 5301 *mut GResolver, 5302 *mut GAsyncResult, 5303 *mut *mut glib::GError, 5304 ) -> *mut glib::GList, 5305 >, 5306 pub lookup_by_name_with_flags: Option< 5307 unsafe extern "C" fn( 5308 *mut GResolver, 5309 *const c_char, 5310 GResolverNameLookupFlags, 5311 *mut GCancellable, 5312 *mut *mut glib::GError, 5313 ) -> *mut glib::GList, 5314 >, 5315 } 5316 5317 impl ::std::fmt::Debug for GResolverClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5318 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5319 f.debug_struct(&format!("GResolverClass @ {:?}", self as *const _)) 5320 .field("parent_class", &self.parent_class) 5321 .field("reload", &self.reload) 5322 .field("lookup_by_name", &self.lookup_by_name) 5323 .field("lookup_by_name_async", &self.lookup_by_name_async) 5324 .field("lookup_by_name_finish", &self.lookup_by_name_finish) 5325 .field("lookup_by_address", &self.lookup_by_address) 5326 .field("lookup_by_address_async", &self.lookup_by_address_async) 5327 .field("lookup_by_address_finish", &self.lookup_by_address_finish) 5328 .field("lookup_service", &self.lookup_service) 5329 .field("lookup_service_async", &self.lookup_service_async) 5330 .field("lookup_service_finish", &self.lookup_service_finish) 5331 .field("lookup_records", &self.lookup_records) 5332 .field("lookup_records_async", &self.lookup_records_async) 5333 .field("lookup_records_finish", &self.lookup_records_finish) 5334 .field( 5335 "lookup_by_name_with_flags_async", 5336 &self.lookup_by_name_with_flags_async, 5337 ) 5338 .field( 5339 "lookup_by_name_with_flags_finish", 5340 &self.lookup_by_name_with_flags_finish, 5341 ) 5342 .field("lookup_by_name_with_flags", &self.lookup_by_name_with_flags) 5343 .finish() 5344 } 5345 } 5346 5347 #[repr(C)] 5348 pub struct _GResolverPrivate(c_void); 5349 5350 pub type GResolverPrivate = *mut _GResolverPrivate; 5351 5352 #[repr(C)] 5353 pub struct GResource(c_void); 5354 5355 impl ::std::fmt::Debug for GResource { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5356 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5357 f.debug_struct(&format!("GResource @ {:?}", self as *const _)) 5358 .finish() 5359 } 5360 } 5361 5362 #[repr(C)] 5363 #[derive(Copy, Clone)] 5364 pub struct GSeekableIface { 5365 pub g_iface: gobject::GTypeInterface, 5366 pub tell: Option<unsafe extern "C" fn(*mut GSeekable) -> i64>, 5367 pub can_seek: Option<unsafe extern "C" fn(*mut GSeekable) -> gboolean>, 5368 pub seek: Option< 5369 unsafe extern "C" fn( 5370 *mut GSeekable, 5371 i64, 5372 glib::GSeekType, 5373 *mut GCancellable, 5374 *mut *mut glib::GError, 5375 ) -> gboolean, 5376 >, 5377 pub can_truncate: Option<unsafe extern "C" fn(*mut GSeekable) -> gboolean>, 5378 pub truncate_fn: Option< 5379 unsafe extern "C" fn( 5380 *mut GSeekable, 5381 i64, 5382 *mut GCancellable, 5383 *mut *mut glib::GError, 5384 ) -> gboolean, 5385 >, 5386 } 5387 5388 impl ::std::fmt::Debug for GSeekableIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5389 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5390 f.debug_struct(&format!("GSeekableIface @ {:?}", self as *const _)) 5391 .field("g_iface", &self.g_iface) 5392 .field("tell", &self.tell) 5393 .field("can_seek", &self.can_seek) 5394 .field("seek", &self.seek) 5395 .field("can_truncate", &self.can_truncate) 5396 .field("truncate_fn", &self.truncate_fn) 5397 .finish() 5398 } 5399 } 5400 5401 #[repr(C)] 5402 #[derive(Copy, Clone)] 5403 pub struct GSettingsBackendClass { 5404 pub parent_class: gobject::GObjectClass, 5405 pub read: Option< 5406 unsafe extern "C" fn( 5407 *mut GSettingsBackend, 5408 *const c_char, 5409 *const glib::GVariantType, 5410 gboolean, 5411 ) -> *mut glib::GVariant, 5412 >, 5413 pub get_writable: 5414 Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char) -> gboolean>, 5415 pub write: Option< 5416 unsafe extern "C" fn( 5417 *mut GSettingsBackend, 5418 *const c_char, 5419 *mut glib::GVariant, 5420 gpointer, 5421 ) -> gboolean, 5422 >, 5423 pub write_tree: 5424 Option<unsafe extern "C" fn(*mut GSettingsBackend, *mut glib::GTree, gpointer) -> gboolean>, 5425 pub reset: Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char, gpointer)>, 5426 pub subscribe: Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char)>, 5427 pub unsubscribe: Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char)>, 5428 pub sync: Option<unsafe extern "C" fn(*mut GSettingsBackend)>, 5429 pub get_permission: 5430 Option<unsafe extern "C" fn(*mut GSettingsBackend, *const c_char) -> *mut GPermission>, 5431 pub read_user_value: Option< 5432 unsafe extern "C" fn( 5433 *mut GSettingsBackend, 5434 *const c_char, 5435 *const glib::GVariantType, 5436 ) -> *mut glib::GVariant, 5437 >, 5438 pub padding: [gpointer; 23], 5439 } 5440 5441 impl ::std::fmt::Debug for GSettingsBackendClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5442 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5443 f.debug_struct(&format!("GSettingsBackendClass @ {:?}", self as *const _)) 5444 .field("parent_class", &self.parent_class) 5445 .field("read", &self.read) 5446 .field("get_writable", &self.get_writable) 5447 .field("write", &self.write) 5448 .field("write_tree", &self.write_tree) 5449 .field("reset", &self.reset) 5450 .field("subscribe", &self.subscribe) 5451 .field("unsubscribe", &self.unsubscribe) 5452 .field("sync", &self.sync) 5453 .field("get_permission", &self.get_permission) 5454 .field("read_user_value", &self.read_user_value) 5455 .finish() 5456 } 5457 } 5458 5459 #[repr(C)] 5460 pub struct _GSettingsBackendPrivate(c_void); 5461 5462 pub type GSettingsBackendPrivate = *mut _GSettingsBackendPrivate; 5463 5464 #[repr(C)] 5465 #[derive(Copy, Clone)] 5466 pub struct GSettingsClass { 5467 pub parent_class: gobject::GObjectClass, 5468 pub writable_changed: Option<unsafe extern "C" fn(*mut GSettings, *const c_char)>, 5469 pub changed: Option<unsafe extern "C" fn(*mut GSettings, *const c_char)>, 5470 pub writable_change_event: 5471 Option<unsafe extern "C" fn(*mut GSettings, glib::GQuark) -> gboolean>, 5472 pub change_event: 5473 Option<unsafe extern "C" fn(*mut GSettings, *const glib::GQuark, c_int) -> gboolean>, 5474 pub padding: [gpointer; 20], 5475 } 5476 5477 impl ::std::fmt::Debug for GSettingsClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5478 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5479 f.debug_struct(&format!("GSettingsClass @ {:?}", self as *const _)) 5480 .field("parent_class", &self.parent_class) 5481 .field("writable_changed", &self.writable_changed) 5482 .field("changed", &self.changed) 5483 .field("writable_change_event", &self.writable_change_event) 5484 .field("change_event", &self.change_event) 5485 .field("padding", &self.padding) 5486 .finish() 5487 } 5488 } 5489 5490 #[repr(C)] 5491 pub struct _GSettingsPrivate(c_void); 5492 5493 pub type GSettingsPrivate = *mut _GSettingsPrivate; 5494 5495 #[repr(C)] 5496 pub struct GSettingsSchema(c_void); 5497 5498 impl ::std::fmt::Debug for GSettingsSchema { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5499 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5500 f.debug_struct(&format!("GSettingsSchema @ {:?}", self as *const _)) 5501 .finish() 5502 } 5503 } 5504 5505 #[repr(C)] 5506 pub struct GSettingsSchemaKey(c_void); 5507 5508 impl ::std::fmt::Debug for GSettingsSchemaKey { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5509 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5510 f.debug_struct(&format!("GSettingsSchemaKey @ {:?}", self as *const _)) 5511 .finish() 5512 } 5513 } 5514 5515 #[repr(C)] 5516 pub struct GSettingsSchemaSource(c_void); 5517 5518 impl ::std::fmt::Debug for GSettingsSchemaSource { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5519 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5520 f.debug_struct(&format!("GSettingsSchemaSource @ {:?}", self as *const _)) 5521 .finish() 5522 } 5523 } 5524 5525 #[repr(C)] 5526 #[derive(Copy, Clone)] 5527 pub struct GSimpleActionGroupClass { 5528 pub parent_class: gobject::GObjectClass, 5529 pub padding: [gpointer; 12], 5530 } 5531 5532 impl ::std::fmt::Debug for GSimpleActionGroupClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5533 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5534 f.debug_struct(&format!("GSimpleActionGroupClass @ {:?}", self as *const _)) 5535 .finish() 5536 } 5537 } 5538 5539 #[repr(C)] 5540 pub struct _GSimpleActionGroupPrivate(c_void); 5541 5542 pub type GSimpleActionGroupPrivate = *mut _GSimpleActionGroupPrivate; 5543 5544 #[repr(C)] 5545 pub struct _GSimpleAsyncResultClass(c_void); 5546 5547 pub type GSimpleAsyncResultClass = *mut _GSimpleAsyncResultClass; 5548 5549 #[repr(C)] 5550 #[derive(Copy, Clone)] 5551 pub struct GSimpleProxyResolverClass { 5552 pub parent_class: gobject::GObjectClass, 5553 pub _g_reserved1: Option<unsafe extern "C" fn()>, 5554 pub _g_reserved2: Option<unsafe extern "C" fn()>, 5555 pub _g_reserved3: Option<unsafe extern "C" fn()>, 5556 pub _g_reserved4: Option<unsafe extern "C" fn()>, 5557 pub _g_reserved5: Option<unsafe extern "C" fn()>, 5558 } 5559 5560 impl ::std::fmt::Debug for GSimpleProxyResolverClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5561 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5562 f.debug_struct(&format!( 5563 "GSimpleProxyResolverClass @ {:?}", 5564 self as *const _ 5565 )) 5566 .field("parent_class", &self.parent_class) 5567 .field("_g_reserved1", &self._g_reserved1) 5568 .field("_g_reserved2", &self._g_reserved2) 5569 .field("_g_reserved3", &self._g_reserved3) 5570 .field("_g_reserved4", &self._g_reserved4) 5571 .field("_g_reserved5", &self._g_reserved5) 5572 .finish() 5573 } 5574 } 5575 5576 #[repr(C)] 5577 pub struct _GSimpleProxyResolverPrivate(c_void); 5578 5579 pub type GSimpleProxyResolverPrivate = *mut _GSimpleProxyResolverPrivate; 5580 5581 #[repr(C)] 5582 #[derive(Copy, Clone)] 5583 pub struct GSocketAddressClass { 5584 pub parent_class: gobject::GObjectClass, 5585 pub get_family: Option<unsafe extern "C" fn(*mut GSocketAddress) -> GSocketFamily>, 5586 pub get_native_size: Option<unsafe extern "C" fn(*mut GSocketAddress) -> ssize_t>, 5587 pub to_native: Option< 5588 unsafe extern "C" fn( 5589 *mut GSocketAddress, 5590 gpointer, 5591 size_t, 5592 *mut *mut glib::GError, 5593 ) -> gboolean, 5594 >, 5595 } 5596 5597 impl ::std::fmt::Debug for GSocketAddressClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5598 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5599 f.debug_struct(&format!("GSocketAddressClass @ {:?}", self as *const _)) 5600 .field("parent_class", &self.parent_class) 5601 .field("get_family", &self.get_family) 5602 .field("get_native_size", &self.get_native_size) 5603 .field("to_native", &self.to_native) 5604 .finish() 5605 } 5606 } 5607 5608 #[repr(C)] 5609 #[derive(Copy, Clone)] 5610 pub struct GSocketAddressEnumeratorClass { 5611 pub parent_class: gobject::GObjectClass, 5612 pub next: Option< 5613 unsafe extern "C" fn( 5614 *mut GSocketAddressEnumerator, 5615 *mut GCancellable, 5616 *mut *mut glib::GError, 5617 ) -> *mut GSocketAddress, 5618 >, 5619 pub next_async: Option< 5620 unsafe extern "C" fn( 5621 *mut GSocketAddressEnumerator, 5622 *mut GCancellable, 5623 GAsyncReadyCallback, 5624 gpointer, 5625 ), 5626 >, 5627 pub next_finish: Option< 5628 unsafe extern "C" fn( 5629 *mut GSocketAddressEnumerator, 5630 *mut GAsyncResult, 5631 *mut *mut glib::GError, 5632 ) -> *mut GSocketAddress, 5633 >, 5634 } 5635 5636 impl ::std::fmt::Debug for GSocketAddressEnumeratorClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5637 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5638 f.debug_struct(&format!( 5639 "GSocketAddressEnumeratorClass @ {:?}", 5640 self as *const _ 5641 )) 5642 .field("next", &self.next) 5643 .field("next_async", &self.next_async) 5644 .field("next_finish", &self.next_finish) 5645 .finish() 5646 } 5647 } 5648 5649 #[repr(C)] 5650 #[derive(Copy, Clone)] 5651 pub struct GSocketClass { 5652 pub parent_class: gobject::GObjectClass, 5653 pub _g_reserved1: Option<unsafe extern "C" fn()>, 5654 pub _g_reserved2: Option<unsafe extern "C" fn()>, 5655 pub _g_reserved3: Option<unsafe extern "C" fn()>, 5656 pub _g_reserved4: Option<unsafe extern "C" fn()>, 5657 pub _g_reserved5: Option<unsafe extern "C" fn()>, 5658 pub _g_reserved6: Option<unsafe extern "C" fn()>, 5659 pub _g_reserved7: Option<unsafe extern "C" fn()>, 5660 pub _g_reserved8: Option<unsafe extern "C" fn()>, 5661 pub _g_reserved9: Option<unsafe extern "C" fn()>, 5662 pub _g_reserved10: Option<unsafe extern "C" fn()>, 5663 } 5664 5665 impl ::std::fmt::Debug for GSocketClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5666 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5667 f.debug_struct(&format!("GSocketClass @ {:?}", self as *const _)) 5668 .field("parent_class", &self.parent_class) 5669 .field("_g_reserved1", &self._g_reserved1) 5670 .field("_g_reserved2", &self._g_reserved2) 5671 .field("_g_reserved3", &self._g_reserved3) 5672 .field("_g_reserved4", &self._g_reserved4) 5673 .field("_g_reserved5", &self._g_reserved5) 5674 .field("_g_reserved6", &self._g_reserved6) 5675 .field("_g_reserved7", &self._g_reserved7) 5676 .field("_g_reserved8", &self._g_reserved8) 5677 .field("_g_reserved9", &self._g_reserved9) 5678 .field("_g_reserved10", &self._g_reserved10) 5679 .finish() 5680 } 5681 } 5682 5683 #[repr(C)] 5684 #[derive(Copy, Clone)] 5685 pub struct GSocketClientClass { 5686 pub parent_class: gobject::GObjectClass, 5687 pub event: Option< 5688 unsafe extern "C" fn( 5689 *mut GSocketClient, 5690 GSocketClientEvent, 5691 *mut GSocketConnectable, 5692 *mut GIOStream, 5693 ), 5694 >, 5695 pub _g_reserved1: Option<unsafe extern "C" fn()>, 5696 pub _g_reserved2: Option<unsafe extern "C" fn()>, 5697 pub _g_reserved3: Option<unsafe extern "C" fn()>, 5698 pub _g_reserved4: Option<unsafe extern "C" fn()>, 5699 } 5700 5701 impl ::std::fmt::Debug for GSocketClientClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5702 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5703 f.debug_struct(&format!("GSocketClientClass @ {:?}", self as *const _)) 5704 .field("parent_class", &self.parent_class) 5705 .field("event", &self.event) 5706 .field("_g_reserved1", &self._g_reserved1) 5707 .field("_g_reserved2", &self._g_reserved2) 5708 .field("_g_reserved3", &self._g_reserved3) 5709 .field("_g_reserved4", &self._g_reserved4) 5710 .finish() 5711 } 5712 } 5713 5714 #[repr(C)] 5715 pub struct _GSocketClientPrivate(c_void); 5716 5717 pub type GSocketClientPrivate = *mut _GSocketClientPrivate; 5718 5719 #[repr(C)] 5720 #[derive(Copy, Clone)] 5721 pub struct GSocketConnectableIface { 5722 pub g_iface: gobject::GTypeInterface, 5723 pub enumerate: 5724 Option<unsafe extern "C" fn(*mut GSocketConnectable) -> *mut GSocketAddressEnumerator>, 5725 pub proxy_enumerate: 5726 Option<unsafe extern "C" fn(*mut GSocketConnectable) -> *mut GSocketAddressEnumerator>, 5727 pub to_string: Option<unsafe extern "C" fn(*mut GSocketConnectable) -> *mut c_char>, 5728 } 5729 5730 impl ::std::fmt::Debug for GSocketConnectableIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5731 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5732 f.debug_struct(&format!("GSocketConnectableIface @ {:?}", self as *const _)) 5733 .field("g_iface", &self.g_iface) 5734 .field("enumerate", &self.enumerate) 5735 .field("proxy_enumerate", &self.proxy_enumerate) 5736 .field("to_string", &self.to_string) 5737 .finish() 5738 } 5739 } 5740 5741 #[repr(C)] 5742 #[derive(Copy, Clone)] 5743 pub struct GSocketConnectionClass { 5744 pub parent_class: GIOStreamClass, 5745 pub _g_reserved1: Option<unsafe extern "C" fn()>, 5746 pub _g_reserved2: Option<unsafe extern "C" fn()>, 5747 pub _g_reserved3: Option<unsafe extern "C" fn()>, 5748 pub _g_reserved4: Option<unsafe extern "C" fn()>, 5749 pub _g_reserved5: Option<unsafe extern "C" fn()>, 5750 pub _g_reserved6: Option<unsafe extern "C" fn()>, 5751 } 5752 5753 impl ::std::fmt::Debug for GSocketConnectionClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5754 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5755 f.debug_struct(&format!("GSocketConnectionClass @ {:?}", self as *const _)) 5756 .field("parent_class", &self.parent_class) 5757 .field("_g_reserved1", &self._g_reserved1) 5758 .field("_g_reserved2", &self._g_reserved2) 5759 .field("_g_reserved3", &self._g_reserved3) 5760 .field("_g_reserved4", &self._g_reserved4) 5761 .field("_g_reserved5", &self._g_reserved5) 5762 .field("_g_reserved6", &self._g_reserved6) 5763 .finish() 5764 } 5765 } 5766 5767 #[repr(C)] 5768 pub struct _GSocketConnectionPrivate(c_void); 5769 5770 pub type GSocketConnectionPrivate = *mut _GSocketConnectionPrivate; 5771 5772 #[repr(C)] 5773 #[derive(Copy, Clone)] 5774 pub struct GSocketControlMessageClass { 5775 pub parent_class: gobject::GObjectClass, 5776 pub get_size: Option<unsafe extern "C" fn(*mut GSocketControlMessage) -> size_t>, 5777 pub get_level: Option<unsafe extern "C" fn(*mut GSocketControlMessage) -> c_int>, 5778 pub get_type: Option<unsafe extern "C" fn(*mut GSocketControlMessage) -> c_int>, 5779 pub serialize: Option<unsafe extern "C" fn(*mut GSocketControlMessage, gpointer)>, 5780 pub deserialize: 5781 Option<unsafe extern "C" fn(c_int, c_int, size_t, gpointer) -> *mut GSocketControlMessage>, 5782 pub _g_reserved1: Option<unsafe extern "C" fn()>, 5783 pub _g_reserved2: Option<unsafe extern "C" fn()>, 5784 pub _g_reserved3: Option<unsafe extern "C" fn()>, 5785 pub _g_reserved4: Option<unsafe extern "C" fn()>, 5786 pub _g_reserved5: Option<unsafe extern "C" fn()>, 5787 } 5788 5789 impl ::std::fmt::Debug for GSocketControlMessageClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5790 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5791 f.debug_struct(&format!( 5792 "GSocketControlMessageClass @ {:?}", 5793 self as *const _ 5794 )) 5795 .field("parent_class", &self.parent_class) 5796 .field("get_size", &self.get_size) 5797 .field("get_level", &self.get_level) 5798 .field("get_type", &self.get_type) 5799 .field("serialize", &self.serialize) 5800 .field("deserialize", &self.deserialize) 5801 .field("_g_reserved1", &self._g_reserved1) 5802 .field("_g_reserved2", &self._g_reserved2) 5803 .field("_g_reserved3", &self._g_reserved3) 5804 .field("_g_reserved4", &self._g_reserved4) 5805 .field("_g_reserved5", &self._g_reserved5) 5806 .finish() 5807 } 5808 } 5809 5810 #[repr(C)] 5811 pub struct _GSocketControlMessagePrivate(c_void); 5812 5813 pub type GSocketControlMessagePrivate = *mut _GSocketControlMessagePrivate; 5814 5815 #[repr(C)] 5816 #[derive(Copy, Clone)] 5817 pub struct GSocketListenerClass { 5818 pub parent_class: gobject::GObjectClass, 5819 pub changed: Option<unsafe extern "C" fn(*mut GSocketListener)>, 5820 pub event: 5821 Option<unsafe extern "C" fn(*mut GSocketListener, GSocketListenerEvent, *mut GSocket)>, 5822 pub _g_reserved2: Option<unsafe extern "C" fn()>, 5823 pub _g_reserved3: Option<unsafe extern "C" fn()>, 5824 pub _g_reserved4: Option<unsafe extern "C" fn()>, 5825 pub _g_reserved5: Option<unsafe extern "C" fn()>, 5826 pub _g_reserved6: Option<unsafe extern "C" fn()>, 5827 } 5828 5829 impl ::std::fmt::Debug for GSocketListenerClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5830 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5831 f.debug_struct(&format!("GSocketListenerClass @ {:?}", self as *const _)) 5832 .field("parent_class", &self.parent_class) 5833 .field("changed", &self.changed) 5834 .field("event", &self.event) 5835 .field("_g_reserved2", &self._g_reserved2) 5836 .field("_g_reserved3", &self._g_reserved3) 5837 .field("_g_reserved4", &self._g_reserved4) 5838 .field("_g_reserved5", &self._g_reserved5) 5839 .field("_g_reserved6", &self._g_reserved6) 5840 .finish() 5841 } 5842 } 5843 5844 #[repr(C)] 5845 pub struct _GSocketListenerPrivate(c_void); 5846 5847 pub type GSocketListenerPrivate = *mut _GSocketListenerPrivate; 5848 5849 #[repr(C)] 5850 pub struct _GSocketPrivate(c_void); 5851 5852 pub type GSocketPrivate = *mut _GSocketPrivate; 5853 5854 #[repr(C)] 5855 #[derive(Copy, Clone)] 5856 pub struct GSocketServiceClass { 5857 pub parent_class: GSocketListenerClass, 5858 pub incoming: Option< 5859 unsafe extern "C" fn( 5860 *mut GSocketService, 5861 *mut GSocketConnection, 5862 *mut gobject::GObject, 5863 ) -> gboolean, 5864 >, 5865 pub _g_reserved1: Option<unsafe extern "C" fn()>, 5866 pub _g_reserved2: Option<unsafe extern "C" fn()>, 5867 pub _g_reserved3: Option<unsafe extern "C" fn()>, 5868 pub _g_reserved4: Option<unsafe extern "C" fn()>, 5869 pub _g_reserved5: Option<unsafe extern "C" fn()>, 5870 pub _g_reserved6: Option<unsafe extern "C" fn()>, 5871 } 5872 5873 impl ::std::fmt::Debug for GSocketServiceClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5874 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5875 f.debug_struct(&format!("GSocketServiceClass @ {:?}", self as *const _)) 5876 .field("parent_class", &self.parent_class) 5877 .field("incoming", &self.incoming) 5878 .field("_g_reserved1", &self._g_reserved1) 5879 .field("_g_reserved2", &self._g_reserved2) 5880 .field("_g_reserved3", &self._g_reserved3) 5881 .field("_g_reserved4", &self._g_reserved4) 5882 .field("_g_reserved5", &self._g_reserved5) 5883 .field("_g_reserved6", &self._g_reserved6) 5884 .finish() 5885 } 5886 } 5887 5888 #[repr(C)] 5889 pub struct _GSocketServicePrivate(c_void); 5890 5891 pub type GSocketServicePrivate = *mut _GSocketServicePrivate; 5892 5893 #[repr(C)] 5894 pub struct GSrvTarget(c_void); 5895 5896 impl ::std::fmt::Debug for GSrvTarget { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5897 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5898 f.debug_struct(&format!("GSrvTarget @ {:?}", self as *const _)) 5899 .finish() 5900 } 5901 } 5902 5903 #[repr(C)] 5904 #[derive(Copy, Clone)] 5905 pub struct GStaticResource { 5906 pub data: *const u8, 5907 pub data_len: size_t, 5908 pub resource: *mut GResource, 5909 pub next: *mut GStaticResource, 5910 pub padding: gpointer, 5911 } 5912 5913 impl ::std::fmt::Debug for GStaticResource { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5914 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5915 f.debug_struct(&format!("GStaticResource @ {:?}", self as *const _)) 5916 .finish() 5917 } 5918 } 5919 5920 #[repr(C)] 5921 pub struct _GTaskClass(c_void); 5922 5923 pub type GTaskClass = *mut _GTaskClass; 5924 5925 #[repr(C)] 5926 #[derive(Copy, Clone)] 5927 pub struct GTcpConnectionClass { 5928 pub parent_class: GSocketConnectionClass, 5929 } 5930 5931 impl ::std::fmt::Debug for GTcpConnectionClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5932 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5933 f.debug_struct(&format!("GTcpConnectionClass @ {:?}", self as *const _)) 5934 .field("parent_class", &self.parent_class) 5935 .finish() 5936 } 5937 } 5938 5939 #[repr(C)] 5940 pub struct _GTcpConnectionPrivate(c_void); 5941 5942 pub type GTcpConnectionPrivate = *mut _GTcpConnectionPrivate; 5943 5944 #[repr(C)] 5945 #[derive(Copy, Clone)] 5946 pub struct GTcpWrapperConnectionClass { 5947 pub parent_class: GTcpConnectionClass, 5948 } 5949 5950 impl ::std::fmt::Debug for GTcpWrapperConnectionClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5951 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5952 f.debug_struct(&format!( 5953 "GTcpWrapperConnectionClass @ {:?}", 5954 self as *const _ 5955 )) 5956 .field("parent_class", &self.parent_class) 5957 .finish() 5958 } 5959 } 5960 5961 #[repr(C)] 5962 pub struct _GTcpWrapperConnectionPrivate(c_void); 5963 5964 pub type GTcpWrapperConnectionPrivate = *mut _GTcpWrapperConnectionPrivate; 5965 5966 #[repr(C)] 5967 pub struct _GThemedIconClass(c_void); 5968 5969 pub type GThemedIconClass = *mut _GThemedIconClass; 5970 5971 #[repr(C)] 5972 #[derive(Copy, Clone)] 5973 pub struct GThreadedSocketServiceClass { 5974 pub parent_class: GSocketServiceClass, 5975 pub run: Option< 5976 unsafe extern "C" fn( 5977 *mut GThreadedSocketService, 5978 *mut GSocketConnection, 5979 *mut gobject::GObject, 5980 ) -> gboolean, 5981 >, 5982 pub _g_reserved1: Option<unsafe extern "C" fn()>, 5983 pub _g_reserved2: Option<unsafe extern "C" fn()>, 5984 pub _g_reserved3: Option<unsafe extern "C" fn()>, 5985 pub _g_reserved4: Option<unsafe extern "C" fn()>, 5986 pub _g_reserved5: Option<unsafe extern "C" fn()>, 5987 } 5988 5989 impl ::std::fmt::Debug for GThreadedSocketServiceClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result5990 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 5991 f.debug_struct(&format!( 5992 "GThreadedSocketServiceClass @ {:?}", 5993 self as *const _ 5994 )) 5995 .field("parent_class", &self.parent_class) 5996 .field("run", &self.run) 5997 .field("_g_reserved1", &self._g_reserved1) 5998 .field("_g_reserved2", &self._g_reserved2) 5999 .field("_g_reserved3", &self._g_reserved3) 6000 .field("_g_reserved4", &self._g_reserved4) 6001 .field("_g_reserved5", &self._g_reserved5) 6002 .finish() 6003 } 6004 } 6005 6006 #[repr(C)] 6007 pub struct _GThreadedSocketServicePrivate(c_void); 6008 6009 pub type GThreadedSocketServicePrivate = *mut _GThreadedSocketServicePrivate; 6010 6011 #[repr(C)] 6012 #[derive(Copy, Clone)] 6013 pub struct GTlsBackendInterface { 6014 pub g_iface: gobject::GTypeInterface, 6015 pub supports_tls: Option<unsafe extern "C" fn(*mut GTlsBackend) -> gboolean>, 6016 pub get_certificate_type: Option<unsafe extern "C" fn() -> GType>, 6017 pub get_client_connection_type: Option<unsafe extern "C" fn() -> GType>, 6018 pub get_server_connection_type: Option<unsafe extern "C" fn() -> GType>, 6019 pub get_file_database_type: Option<unsafe extern "C" fn() -> GType>, 6020 pub get_default_database: Option<unsafe extern "C" fn(*mut GTlsBackend) -> *mut GTlsDatabase>, 6021 pub supports_dtls: Option<unsafe extern "C" fn(*mut GTlsBackend) -> gboolean>, 6022 pub get_dtls_client_connection_type: Option<unsafe extern "C" fn() -> GType>, 6023 pub get_dtls_server_connection_type: Option<unsafe extern "C" fn() -> GType>, 6024 } 6025 6026 impl ::std::fmt::Debug for GTlsBackendInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6027 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6028 f.debug_struct(&format!("GTlsBackendInterface @ {:?}", self as *const _)) 6029 .field("g_iface", &self.g_iface) 6030 .field("supports_tls", &self.supports_tls) 6031 .field("get_certificate_type", &self.get_certificate_type) 6032 .field( 6033 "get_client_connection_type", 6034 &self.get_client_connection_type, 6035 ) 6036 .field( 6037 "get_server_connection_type", 6038 &self.get_server_connection_type, 6039 ) 6040 .field("get_file_database_type", &self.get_file_database_type) 6041 .field("get_default_database", &self.get_default_database) 6042 .field("supports_dtls", &self.supports_dtls) 6043 .field( 6044 "get_dtls_client_connection_type", 6045 &self.get_dtls_client_connection_type, 6046 ) 6047 .field( 6048 "get_dtls_server_connection_type", 6049 &self.get_dtls_server_connection_type, 6050 ) 6051 .finish() 6052 } 6053 } 6054 6055 #[repr(C)] 6056 #[derive(Copy, Clone)] 6057 pub struct GTlsCertificateClass { 6058 pub parent_class: gobject::GObjectClass, 6059 pub verify: Option< 6060 unsafe extern "C" fn( 6061 *mut GTlsCertificate, 6062 *mut GSocketConnectable, 6063 *mut GTlsCertificate, 6064 ) -> GTlsCertificateFlags, 6065 >, 6066 pub padding: [gpointer; 8], 6067 } 6068 6069 impl ::std::fmt::Debug for GTlsCertificateClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6070 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6071 f.debug_struct(&format!("GTlsCertificateClass @ {:?}", self as *const _)) 6072 .field("parent_class", &self.parent_class) 6073 .field("verify", &self.verify) 6074 .finish() 6075 } 6076 } 6077 6078 #[repr(C)] 6079 pub struct _GTlsCertificatePrivate(c_void); 6080 6081 pub type GTlsCertificatePrivate = *mut _GTlsCertificatePrivate; 6082 6083 #[repr(C)] 6084 #[derive(Copy, Clone)] 6085 pub struct GTlsClientConnectionInterface { 6086 pub g_iface: gobject::GTypeInterface, 6087 pub copy_session_state: 6088 Option<unsafe extern "C" fn(*mut GTlsClientConnection, *mut GTlsClientConnection)>, 6089 } 6090 6091 impl ::std::fmt::Debug for GTlsClientConnectionInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6092 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6093 f.debug_struct(&format!( 6094 "GTlsClientConnectionInterface @ {:?}", 6095 self as *const _ 6096 )) 6097 .field("g_iface", &self.g_iface) 6098 .field("copy_session_state", &self.copy_session_state) 6099 .finish() 6100 } 6101 } 6102 6103 #[repr(C)] 6104 #[derive(Copy, Clone)] 6105 pub struct GTlsConnectionClass { 6106 pub parent_class: GIOStreamClass, 6107 pub accept_certificate: Option< 6108 unsafe extern "C" fn( 6109 *mut GTlsConnection, 6110 *mut GTlsCertificate, 6111 GTlsCertificateFlags, 6112 ) -> gboolean, 6113 >, 6114 pub handshake: Option< 6115 unsafe extern "C" fn( 6116 *mut GTlsConnection, 6117 *mut GCancellable, 6118 *mut *mut glib::GError, 6119 ) -> gboolean, 6120 >, 6121 pub handshake_async: Option< 6122 unsafe extern "C" fn( 6123 *mut GTlsConnection, 6124 c_int, 6125 *mut GCancellable, 6126 GAsyncReadyCallback, 6127 gpointer, 6128 ), 6129 >, 6130 pub handshake_finish: Option< 6131 unsafe extern "C" fn( 6132 *mut GTlsConnection, 6133 *mut GAsyncResult, 6134 *mut *mut glib::GError, 6135 ) -> gboolean, 6136 >, 6137 pub padding: [gpointer; 8], 6138 } 6139 6140 impl ::std::fmt::Debug for GTlsConnectionClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6141 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6142 f.debug_struct(&format!("GTlsConnectionClass @ {:?}", self as *const _)) 6143 .field("parent_class", &self.parent_class) 6144 .field("accept_certificate", &self.accept_certificate) 6145 .field("handshake", &self.handshake) 6146 .field("handshake_async", &self.handshake_async) 6147 .field("handshake_finish", &self.handshake_finish) 6148 .finish() 6149 } 6150 } 6151 6152 #[repr(C)] 6153 pub struct _GTlsConnectionPrivate(c_void); 6154 6155 pub type GTlsConnectionPrivate = *mut _GTlsConnectionPrivate; 6156 6157 #[repr(C)] 6158 #[derive(Copy, Clone)] 6159 pub struct GTlsDatabaseClass { 6160 pub parent_class: gobject::GObjectClass, 6161 pub verify_chain: Option< 6162 unsafe extern "C" fn( 6163 *mut GTlsDatabase, 6164 *mut GTlsCertificate, 6165 *const c_char, 6166 *mut GSocketConnectable, 6167 *mut GTlsInteraction, 6168 GTlsDatabaseVerifyFlags, 6169 *mut GCancellable, 6170 *mut *mut glib::GError, 6171 ) -> GTlsCertificateFlags, 6172 >, 6173 pub verify_chain_async: Option< 6174 unsafe extern "C" fn( 6175 *mut GTlsDatabase, 6176 *mut GTlsCertificate, 6177 *const c_char, 6178 *mut GSocketConnectable, 6179 *mut GTlsInteraction, 6180 GTlsDatabaseVerifyFlags, 6181 *mut GCancellable, 6182 GAsyncReadyCallback, 6183 gpointer, 6184 ), 6185 >, 6186 pub verify_chain_finish: Option< 6187 unsafe extern "C" fn( 6188 *mut GTlsDatabase, 6189 *mut GAsyncResult, 6190 *mut *mut glib::GError, 6191 ) -> GTlsCertificateFlags, 6192 >, 6193 pub create_certificate_handle: 6194 Option<unsafe extern "C" fn(*mut GTlsDatabase, *mut GTlsCertificate) -> *mut c_char>, 6195 pub lookup_certificate_for_handle: Option< 6196 unsafe extern "C" fn( 6197 *mut GTlsDatabase, 6198 *const c_char, 6199 *mut GTlsInteraction, 6200 GTlsDatabaseLookupFlags, 6201 *mut GCancellable, 6202 *mut *mut glib::GError, 6203 ) -> *mut GTlsCertificate, 6204 >, 6205 pub lookup_certificate_for_handle_async: Option< 6206 unsafe extern "C" fn( 6207 *mut GTlsDatabase, 6208 *const c_char, 6209 *mut GTlsInteraction, 6210 GTlsDatabaseLookupFlags, 6211 *mut GCancellable, 6212 GAsyncReadyCallback, 6213 gpointer, 6214 ), 6215 >, 6216 pub lookup_certificate_for_handle_finish: Option< 6217 unsafe extern "C" fn( 6218 *mut GTlsDatabase, 6219 *mut GAsyncResult, 6220 *mut *mut glib::GError, 6221 ) -> *mut GTlsCertificate, 6222 >, 6223 pub lookup_certificate_issuer: Option< 6224 unsafe extern "C" fn( 6225 *mut GTlsDatabase, 6226 *mut GTlsCertificate, 6227 *mut GTlsInteraction, 6228 GTlsDatabaseLookupFlags, 6229 *mut GCancellable, 6230 *mut *mut glib::GError, 6231 ) -> *mut GTlsCertificate, 6232 >, 6233 pub lookup_certificate_issuer_async: Option< 6234 unsafe extern "C" fn( 6235 *mut GTlsDatabase, 6236 *mut GTlsCertificate, 6237 *mut GTlsInteraction, 6238 GTlsDatabaseLookupFlags, 6239 *mut GCancellable, 6240 GAsyncReadyCallback, 6241 gpointer, 6242 ), 6243 >, 6244 pub lookup_certificate_issuer_finish: Option< 6245 unsafe extern "C" fn( 6246 *mut GTlsDatabase, 6247 *mut GAsyncResult, 6248 *mut *mut glib::GError, 6249 ) -> *mut GTlsCertificate, 6250 >, 6251 pub lookup_certificates_issued_by: Option< 6252 unsafe extern "C" fn( 6253 *mut GTlsDatabase, 6254 *mut glib::GByteArray, 6255 *mut GTlsInteraction, 6256 GTlsDatabaseLookupFlags, 6257 *mut GCancellable, 6258 *mut *mut glib::GError, 6259 ) -> *mut glib::GList, 6260 >, 6261 pub lookup_certificates_issued_by_async: Option< 6262 unsafe extern "C" fn( 6263 *mut GTlsDatabase, 6264 *mut glib::GByteArray, 6265 *mut GTlsInteraction, 6266 GTlsDatabaseLookupFlags, 6267 *mut GCancellable, 6268 GAsyncReadyCallback, 6269 gpointer, 6270 ), 6271 >, 6272 pub lookup_certificates_issued_by_finish: Option< 6273 unsafe extern "C" fn( 6274 *mut GTlsDatabase, 6275 *mut GAsyncResult, 6276 *mut *mut glib::GError, 6277 ) -> *mut glib::GList, 6278 >, 6279 pub padding: [gpointer; 16], 6280 } 6281 6282 impl ::std::fmt::Debug for GTlsDatabaseClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6283 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6284 f.debug_struct(&format!("GTlsDatabaseClass @ {:?}", self as *const _)) 6285 .field("parent_class", &self.parent_class) 6286 .field("verify_chain", &self.verify_chain) 6287 .field("verify_chain_async", &self.verify_chain_async) 6288 .field("verify_chain_finish", &self.verify_chain_finish) 6289 .field("create_certificate_handle", &self.create_certificate_handle) 6290 .field( 6291 "lookup_certificate_for_handle", 6292 &self.lookup_certificate_for_handle, 6293 ) 6294 .field( 6295 "lookup_certificate_for_handle_async", 6296 &self.lookup_certificate_for_handle_async, 6297 ) 6298 .field( 6299 "lookup_certificate_for_handle_finish", 6300 &self.lookup_certificate_for_handle_finish, 6301 ) 6302 .field("lookup_certificate_issuer", &self.lookup_certificate_issuer) 6303 .field( 6304 "lookup_certificate_issuer_async", 6305 &self.lookup_certificate_issuer_async, 6306 ) 6307 .field( 6308 "lookup_certificate_issuer_finish", 6309 &self.lookup_certificate_issuer_finish, 6310 ) 6311 .field( 6312 "lookup_certificates_issued_by", 6313 &self.lookup_certificates_issued_by, 6314 ) 6315 .field( 6316 "lookup_certificates_issued_by_async", 6317 &self.lookup_certificates_issued_by_async, 6318 ) 6319 .field( 6320 "lookup_certificates_issued_by_finish", 6321 &self.lookup_certificates_issued_by_finish, 6322 ) 6323 .finish() 6324 } 6325 } 6326 6327 #[repr(C)] 6328 pub struct _GTlsDatabasePrivate(c_void); 6329 6330 pub type GTlsDatabasePrivate = *mut _GTlsDatabasePrivate; 6331 6332 #[repr(C)] 6333 #[derive(Copy, Clone)] 6334 pub struct GTlsFileDatabaseInterface { 6335 pub g_iface: gobject::GTypeInterface, 6336 pub padding: [gpointer; 8], 6337 } 6338 6339 impl ::std::fmt::Debug for GTlsFileDatabaseInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6340 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6341 f.debug_struct(&format!( 6342 "GTlsFileDatabaseInterface @ {:?}", 6343 self as *const _ 6344 )) 6345 .field("g_iface", &self.g_iface) 6346 .finish() 6347 } 6348 } 6349 6350 #[repr(C)] 6351 #[derive(Copy, Clone)] 6352 pub struct GTlsInteractionClass { 6353 pub parent_class: gobject::GObjectClass, 6354 pub ask_password: Option< 6355 unsafe extern "C" fn( 6356 *mut GTlsInteraction, 6357 *mut GTlsPassword, 6358 *mut GCancellable, 6359 *mut *mut glib::GError, 6360 ) -> GTlsInteractionResult, 6361 >, 6362 pub ask_password_async: Option< 6363 unsafe extern "C" fn( 6364 *mut GTlsInteraction, 6365 *mut GTlsPassword, 6366 *mut GCancellable, 6367 GAsyncReadyCallback, 6368 gpointer, 6369 ), 6370 >, 6371 pub ask_password_finish: Option< 6372 unsafe extern "C" fn( 6373 *mut GTlsInteraction, 6374 *mut GAsyncResult, 6375 *mut *mut glib::GError, 6376 ) -> GTlsInteractionResult, 6377 >, 6378 pub request_certificate: Option< 6379 unsafe extern "C" fn( 6380 *mut GTlsInteraction, 6381 *mut GTlsConnection, 6382 GTlsCertificateRequestFlags, 6383 *mut GCancellable, 6384 *mut *mut glib::GError, 6385 ) -> GTlsInteractionResult, 6386 >, 6387 pub request_certificate_async: Option< 6388 unsafe extern "C" fn( 6389 *mut GTlsInteraction, 6390 *mut GTlsConnection, 6391 GTlsCertificateRequestFlags, 6392 *mut GCancellable, 6393 GAsyncReadyCallback, 6394 gpointer, 6395 ), 6396 >, 6397 pub request_certificate_finish: Option< 6398 unsafe extern "C" fn( 6399 *mut GTlsInteraction, 6400 *mut GAsyncResult, 6401 *mut *mut glib::GError, 6402 ) -> GTlsInteractionResult, 6403 >, 6404 pub padding: [gpointer; 21], 6405 } 6406 6407 impl ::std::fmt::Debug for GTlsInteractionClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6408 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6409 f.debug_struct(&format!("GTlsInteractionClass @ {:?}", self as *const _)) 6410 .field("ask_password", &self.ask_password) 6411 .field("ask_password_async", &self.ask_password_async) 6412 .field("ask_password_finish", &self.ask_password_finish) 6413 .field("request_certificate", &self.request_certificate) 6414 .field("request_certificate_async", &self.request_certificate_async) 6415 .field( 6416 "request_certificate_finish", 6417 &self.request_certificate_finish, 6418 ) 6419 .finish() 6420 } 6421 } 6422 6423 #[repr(C)] 6424 pub struct _GTlsInteractionPrivate(c_void); 6425 6426 pub type GTlsInteractionPrivate = *mut _GTlsInteractionPrivate; 6427 6428 #[repr(C)] 6429 #[derive(Copy, Clone)] 6430 pub struct GTlsPasswordClass { 6431 pub parent_class: gobject::GObjectClass, 6432 pub get_value: Option<unsafe extern "C" fn(*mut GTlsPassword, *mut size_t) -> *const u8>, 6433 pub set_value: 6434 Option<unsafe extern "C" fn(*mut GTlsPassword, *mut u8, ssize_t, glib::GDestroyNotify)>, 6435 pub get_default_warning: Option<unsafe extern "C" fn(*mut GTlsPassword) -> *const c_char>, 6436 pub padding: [gpointer; 4], 6437 } 6438 6439 impl ::std::fmt::Debug for GTlsPasswordClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6440 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6441 f.debug_struct(&format!("GTlsPasswordClass @ {:?}", self as *const _)) 6442 .field("parent_class", &self.parent_class) 6443 .field("get_value", &self.get_value) 6444 .field("set_value", &self.set_value) 6445 .field("get_default_warning", &self.get_default_warning) 6446 .finish() 6447 } 6448 } 6449 6450 #[repr(C)] 6451 pub struct _GTlsPasswordPrivate(c_void); 6452 6453 pub type GTlsPasswordPrivate = *mut _GTlsPasswordPrivate; 6454 6455 #[repr(C)] 6456 #[derive(Copy, Clone)] 6457 pub struct GTlsServerConnectionInterface { 6458 pub g_iface: gobject::GTypeInterface, 6459 } 6460 6461 impl ::std::fmt::Debug for GTlsServerConnectionInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6462 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6463 f.debug_struct(&format!( 6464 "GTlsServerConnectionInterface @ {:?}", 6465 self as *const _ 6466 )) 6467 .field("g_iface", &self.g_iface) 6468 .finish() 6469 } 6470 } 6471 6472 #[repr(C)] 6473 #[derive(Copy, Clone)] 6474 pub struct GUnixConnectionClass { 6475 pub parent_class: GSocketConnectionClass, 6476 } 6477 6478 impl ::std::fmt::Debug for GUnixConnectionClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6479 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6480 f.debug_struct(&format!("GUnixConnectionClass @ {:?}", self as *const _)) 6481 .field("parent_class", &self.parent_class) 6482 .finish() 6483 } 6484 } 6485 6486 #[repr(C)] 6487 pub struct _GUnixConnectionPrivate(c_void); 6488 6489 pub type GUnixConnectionPrivate = *mut _GUnixConnectionPrivate; 6490 6491 #[repr(C)] 6492 #[derive(Copy, Clone)] 6493 pub struct GUnixCredentialsMessageClass { 6494 pub parent_class: GSocketControlMessageClass, 6495 pub _g_reserved1: Option<unsafe extern "C" fn()>, 6496 pub _g_reserved2: Option<unsafe extern "C" fn()>, 6497 } 6498 6499 impl ::std::fmt::Debug for GUnixCredentialsMessageClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6500 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6501 f.debug_struct(&format!( 6502 "GUnixCredentialsMessageClass @ {:?}", 6503 self as *const _ 6504 )) 6505 .field("parent_class", &self.parent_class) 6506 .field("_g_reserved1", &self._g_reserved1) 6507 .field("_g_reserved2", &self._g_reserved2) 6508 .finish() 6509 } 6510 } 6511 6512 #[repr(C)] 6513 pub struct _GUnixCredentialsMessagePrivate(c_void); 6514 6515 pub type GUnixCredentialsMessagePrivate = *mut _GUnixCredentialsMessagePrivate; 6516 6517 #[repr(C)] 6518 #[derive(Copy, Clone)] 6519 pub struct GUnixFDListClass { 6520 pub parent_class: gobject::GObjectClass, 6521 pub _g_reserved1: Option<unsafe extern "C" fn()>, 6522 pub _g_reserved2: Option<unsafe extern "C" fn()>, 6523 pub _g_reserved3: Option<unsafe extern "C" fn()>, 6524 pub _g_reserved4: Option<unsafe extern "C" fn()>, 6525 pub _g_reserved5: Option<unsafe extern "C" fn()>, 6526 } 6527 6528 impl ::std::fmt::Debug for GUnixFDListClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6529 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6530 f.debug_struct(&format!("GUnixFDListClass @ {:?}", self as *const _)) 6531 .field("parent_class", &self.parent_class) 6532 .field("_g_reserved1", &self._g_reserved1) 6533 .field("_g_reserved2", &self._g_reserved2) 6534 .field("_g_reserved3", &self._g_reserved3) 6535 .field("_g_reserved4", &self._g_reserved4) 6536 .field("_g_reserved5", &self._g_reserved5) 6537 .finish() 6538 } 6539 } 6540 6541 #[repr(C)] 6542 pub struct _GUnixFDListPrivate(c_void); 6543 6544 pub type GUnixFDListPrivate = *mut _GUnixFDListPrivate; 6545 6546 #[repr(C)] 6547 #[derive(Copy, Clone)] 6548 pub struct GUnixFDMessageClass { 6549 pub parent_class: GSocketControlMessageClass, 6550 pub _g_reserved1: Option<unsafe extern "C" fn()>, 6551 pub _g_reserved2: Option<unsafe extern "C" fn()>, 6552 } 6553 6554 impl ::std::fmt::Debug for GUnixFDMessageClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6555 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6556 f.debug_struct(&format!("GUnixFDMessageClass @ {:?}", self as *const _)) 6557 .field("parent_class", &self.parent_class) 6558 .field("_g_reserved1", &self._g_reserved1) 6559 .field("_g_reserved2", &self._g_reserved2) 6560 .finish() 6561 } 6562 } 6563 6564 #[repr(C)] 6565 pub struct _GUnixFDMessagePrivate(c_void); 6566 6567 pub type GUnixFDMessagePrivate = *mut _GUnixFDMessagePrivate; 6568 6569 #[repr(C)] 6570 #[derive(Copy, Clone)] 6571 pub struct GUnixInputStreamClass { 6572 pub parent_class: GInputStreamClass, 6573 pub _g_reserved1: Option<unsafe extern "C" fn()>, 6574 pub _g_reserved2: Option<unsafe extern "C" fn()>, 6575 pub _g_reserved3: Option<unsafe extern "C" fn()>, 6576 pub _g_reserved4: Option<unsafe extern "C" fn()>, 6577 pub _g_reserved5: Option<unsafe extern "C" fn()>, 6578 } 6579 6580 impl ::std::fmt::Debug for GUnixInputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6581 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6582 f.debug_struct(&format!("GUnixInputStreamClass @ {:?}", self as *const _)) 6583 .field("parent_class", &self.parent_class) 6584 .field("_g_reserved1", &self._g_reserved1) 6585 .field("_g_reserved2", &self._g_reserved2) 6586 .field("_g_reserved3", &self._g_reserved3) 6587 .field("_g_reserved4", &self._g_reserved4) 6588 .field("_g_reserved5", &self._g_reserved5) 6589 .finish() 6590 } 6591 } 6592 6593 #[repr(C)] 6594 pub struct _GUnixInputStreamPrivate(c_void); 6595 6596 pub type GUnixInputStreamPrivate = *mut _GUnixInputStreamPrivate; 6597 6598 #[repr(C)] 6599 pub struct GUnixMountEntry(c_void); 6600 6601 impl ::std::fmt::Debug for GUnixMountEntry { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6602 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6603 f.debug_struct(&format!("GUnixMountEntry @ {:?}", self as *const _)) 6604 .finish() 6605 } 6606 } 6607 6608 #[repr(C)] 6609 pub struct _GUnixMountMonitorClass(c_void); 6610 6611 pub type GUnixMountMonitorClass = *mut _GUnixMountMonitorClass; 6612 6613 #[repr(C)] 6614 pub struct GUnixMountPoint(c_void); 6615 6616 impl ::std::fmt::Debug for GUnixMountPoint { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6617 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6618 f.debug_struct(&format!("GUnixMountPoint @ {:?}", self as *const _)) 6619 .finish() 6620 } 6621 } 6622 6623 #[repr(C)] 6624 #[derive(Copy, Clone)] 6625 pub struct GUnixOutputStreamClass { 6626 pub parent_class: GOutputStreamClass, 6627 pub _g_reserved1: Option<unsafe extern "C" fn()>, 6628 pub _g_reserved2: Option<unsafe extern "C" fn()>, 6629 pub _g_reserved3: Option<unsafe extern "C" fn()>, 6630 pub _g_reserved4: Option<unsafe extern "C" fn()>, 6631 pub _g_reserved5: Option<unsafe extern "C" fn()>, 6632 } 6633 6634 impl ::std::fmt::Debug for GUnixOutputStreamClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6635 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6636 f.debug_struct(&format!("GUnixOutputStreamClass @ {:?}", self as *const _)) 6637 .field("parent_class", &self.parent_class) 6638 .field("_g_reserved1", &self._g_reserved1) 6639 .field("_g_reserved2", &self._g_reserved2) 6640 .field("_g_reserved3", &self._g_reserved3) 6641 .field("_g_reserved4", &self._g_reserved4) 6642 .field("_g_reserved5", &self._g_reserved5) 6643 .finish() 6644 } 6645 } 6646 6647 #[repr(C)] 6648 pub struct _GUnixOutputStreamPrivate(c_void); 6649 6650 pub type GUnixOutputStreamPrivate = *mut _GUnixOutputStreamPrivate; 6651 6652 #[repr(C)] 6653 #[derive(Copy, Clone)] 6654 pub struct GUnixSocketAddressClass { 6655 pub parent_class: GSocketAddressClass, 6656 } 6657 6658 impl ::std::fmt::Debug for GUnixSocketAddressClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6659 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6660 f.debug_struct(&format!("GUnixSocketAddressClass @ {:?}", self as *const _)) 6661 .field("parent_class", &self.parent_class) 6662 .finish() 6663 } 6664 } 6665 6666 #[repr(C)] 6667 pub struct _GUnixSocketAddressPrivate(c_void); 6668 6669 pub type GUnixSocketAddressPrivate = *mut _GUnixSocketAddressPrivate; 6670 6671 #[repr(C)] 6672 #[derive(Copy, Clone)] 6673 pub struct GVfsClass { 6674 pub parent_class: gobject::GObjectClass, 6675 pub is_active: Option<unsafe extern "C" fn(*mut GVfs) -> gboolean>, 6676 pub get_file_for_path: Option<unsafe extern "C" fn(*mut GVfs, *const c_char) -> *mut GFile>, 6677 pub get_file_for_uri: Option<unsafe extern "C" fn(*mut GVfs, *const c_char) -> *mut GFile>, 6678 pub get_supported_uri_schemes: Option<unsafe extern "C" fn(*mut GVfs) -> *const *const c_char>, 6679 pub parse_name: Option<unsafe extern "C" fn(*mut GVfs, *const c_char) -> *mut GFile>, 6680 pub local_file_add_info: Option< 6681 unsafe extern "C" fn( 6682 *mut GVfs, 6683 *const c_char, 6684 u64, 6685 *mut GFileAttributeMatcher, 6686 *mut GFileInfo, 6687 *mut GCancellable, 6688 *mut gpointer, 6689 *mut glib::GDestroyNotify, 6690 ), 6691 >, 6692 pub add_writable_namespaces: 6693 Option<unsafe extern "C" fn(*mut GVfs, *mut GFileAttributeInfoList)>, 6694 pub local_file_set_attributes: Option< 6695 unsafe extern "C" fn( 6696 *mut GVfs, 6697 *const c_char, 6698 *mut GFileInfo, 6699 GFileQueryInfoFlags, 6700 *mut GCancellable, 6701 *mut *mut glib::GError, 6702 ) -> gboolean, 6703 >, 6704 pub local_file_removed: Option<unsafe extern "C" fn(*mut GVfs, *const c_char)>, 6705 pub local_file_moved: Option<unsafe extern "C" fn(*mut GVfs, *const c_char, *const c_char)>, 6706 pub deserialize_icon: 6707 Option<unsafe extern "C" fn(*mut GVfs, *mut glib::GVariant) -> *mut GIcon>, 6708 pub _g_reserved1: Option<unsafe extern "C" fn()>, 6709 pub _g_reserved2: Option<unsafe extern "C" fn()>, 6710 pub _g_reserved3: Option<unsafe extern "C" fn()>, 6711 pub _g_reserved4: Option<unsafe extern "C" fn()>, 6712 pub _g_reserved5: Option<unsafe extern "C" fn()>, 6713 pub _g_reserved6: Option<unsafe extern "C" fn()>, 6714 } 6715 6716 impl ::std::fmt::Debug for GVfsClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6717 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6718 f.debug_struct(&format!("GVfsClass @ {:?}", self as *const _)) 6719 .field("parent_class", &self.parent_class) 6720 .field("is_active", &self.is_active) 6721 .field("get_file_for_path", &self.get_file_for_path) 6722 .field("get_file_for_uri", &self.get_file_for_uri) 6723 .field("get_supported_uri_schemes", &self.get_supported_uri_schemes) 6724 .field("parse_name", &self.parse_name) 6725 .field("local_file_add_info", &self.local_file_add_info) 6726 .field("add_writable_namespaces", &self.add_writable_namespaces) 6727 .field("local_file_set_attributes", &self.local_file_set_attributes) 6728 .field("local_file_removed", &self.local_file_removed) 6729 .field("local_file_moved", &self.local_file_moved) 6730 .field("deserialize_icon", &self.deserialize_icon) 6731 .field("_g_reserved1", &self._g_reserved1) 6732 .field("_g_reserved2", &self._g_reserved2) 6733 .field("_g_reserved3", &self._g_reserved3) 6734 .field("_g_reserved4", &self._g_reserved4) 6735 .field("_g_reserved5", &self._g_reserved5) 6736 .field("_g_reserved6", &self._g_reserved6) 6737 .finish() 6738 } 6739 } 6740 6741 #[repr(C)] 6742 #[derive(Copy, Clone)] 6743 pub struct GVolumeIface { 6744 pub g_iface: gobject::GTypeInterface, 6745 pub changed: Option<unsafe extern "C" fn(*mut GVolume)>, 6746 pub removed: Option<unsafe extern "C" fn(*mut GVolume)>, 6747 pub get_name: Option<unsafe extern "C" fn(*mut GVolume) -> *const c_char>, 6748 pub get_icon: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GIcon>, 6749 pub get_uuid: Option<unsafe extern "C" fn(*mut GVolume) -> *const c_char>, 6750 pub get_drive: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GDrive>, 6751 pub get_mount: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GMount>, 6752 pub can_mount: Option<unsafe extern "C" fn(*mut GVolume) -> gboolean>, 6753 pub can_eject: Option<unsafe extern "C" fn(*mut GVolume) -> gboolean>, 6754 pub mount_fn: Option< 6755 unsafe extern "C" fn( 6756 *mut GVolume, 6757 GMountMountFlags, 6758 *mut GMountOperation, 6759 *mut GCancellable, 6760 GAsyncReadyCallback, 6761 gpointer, 6762 ), 6763 >, 6764 pub mount_finish: Option< 6765 unsafe extern "C" fn(*mut GVolume, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 6766 >, 6767 pub eject: Option< 6768 unsafe extern "C" fn( 6769 *mut GVolume, 6770 GMountUnmountFlags, 6771 *mut GCancellable, 6772 GAsyncReadyCallback, 6773 gpointer, 6774 ), 6775 >, 6776 pub eject_finish: Option< 6777 unsafe extern "C" fn(*mut GVolume, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 6778 >, 6779 pub get_identifier: Option<unsafe extern "C" fn(*mut GVolume, *const c_char) -> *mut c_char>, 6780 pub enumerate_identifiers: Option<unsafe extern "C" fn(*mut GVolume) -> *mut *mut c_char>, 6781 pub should_automount: Option<unsafe extern "C" fn(*mut GVolume) -> gboolean>, 6782 pub get_activation_root: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GFile>, 6783 pub eject_with_operation: Option< 6784 unsafe extern "C" fn( 6785 *mut GVolume, 6786 GMountUnmountFlags, 6787 *mut GMountOperation, 6788 *mut GCancellable, 6789 GAsyncReadyCallback, 6790 gpointer, 6791 ), 6792 >, 6793 pub eject_with_operation_finish: Option< 6794 unsafe extern "C" fn(*mut GVolume, *mut GAsyncResult, *mut *mut glib::GError) -> gboolean, 6795 >, 6796 pub get_sort_key: Option<unsafe extern "C" fn(*mut GVolume) -> *const c_char>, 6797 pub get_symbolic_icon: Option<unsafe extern "C" fn(*mut GVolume) -> *mut GIcon>, 6798 } 6799 6800 impl ::std::fmt::Debug for GVolumeIface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6801 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6802 f.debug_struct(&format!("GVolumeIface @ {:?}", self as *const _)) 6803 .field("g_iface", &self.g_iface) 6804 .field("changed", &self.changed) 6805 .field("removed", &self.removed) 6806 .field("get_name", &self.get_name) 6807 .field("get_icon", &self.get_icon) 6808 .field("get_uuid", &self.get_uuid) 6809 .field("get_drive", &self.get_drive) 6810 .field("get_mount", &self.get_mount) 6811 .field("can_mount", &self.can_mount) 6812 .field("can_eject", &self.can_eject) 6813 .field("mount_fn", &self.mount_fn) 6814 .field("mount_finish", &self.mount_finish) 6815 .field("eject", &self.eject) 6816 .field("eject_finish", &self.eject_finish) 6817 .field("get_identifier", &self.get_identifier) 6818 .field("enumerate_identifiers", &self.enumerate_identifiers) 6819 .field("should_automount", &self.should_automount) 6820 .field("get_activation_root", &self.get_activation_root) 6821 .field("eject_with_operation", &self.eject_with_operation) 6822 .field( 6823 "eject_with_operation_finish", 6824 &self.eject_with_operation_finish, 6825 ) 6826 .field("get_sort_key", &self.get_sort_key) 6827 .field("get_symbolic_icon", &self.get_symbolic_icon) 6828 .finish() 6829 } 6830 } 6831 6832 #[repr(C)] 6833 #[derive(Copy, Clone)] 6834 pub struct GVolumeMonitorClass { 6835 pub parent_class: gobject::GObjectClass, 6836 pub volume_added: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GVolume)>, 6837 pub volume_removed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GVolume)>, 6838 pub volume_changed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GVolume)>, 6839 pub mount_added: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GMount)>, 6840 pub mount_removed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GMount)>, 6841 pub mount_pre_unmount: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GMount)>, 6842 pub mount_changed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GMount)>, 6843 pub drive_connected: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>, 6844 pub drive_disconnected: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>, 6845 pub drive_changed: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>, 6846 pub is_supported: Option<unsafe extern "C" fn() -> gboolean>, 6847 pub get_connected_drives: Option<unsafe extern "C" fn(*mut GVolumeMonitor) -> *mut glib::GList>, 6848 pub get_volumes: Option<unsafe extern "C" fn(*mut GVolumeMonitor) -> *mut glib::GList>, 6849 pub get_mounts: Option<unsafe extern "C" fn(*mut GVolumeMonitor) -> *mut glib::GList>, 6850 pub get_volume_for_uuid: 6851 Option<unsafe extern "C" fn(*mut GVolumeMonitor, *const c_char) -> *mut GVolume>, 6852 pub get_mount_for_uuid: 6853 Option<unsafe extern "C" fn(*mut GVolumeMonitor, *const c_char) -> *mut GMount>, 6854 pub adopt_orphan_mount: 6855 Option<unsafe extern "C" fn(*mut GMount, *mut GVolumeMonitor) -> *mut GVolume>, 6856 pub drive_eject_button: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>, 6857 pub drive_stop_button: Option<unsafe extern "C" fn(*mut GVolumeMonitor, *mut GDrive)>, 6858 pub _g_reserved1: Option<unsafe extern "C" fn()>, 6859 pub _g_reserved2: Option<unsafe extern "C" fn()>, 6860 pub _g_reserved3: Option<unsafe extern "C" fn()>, 6861 pub _g_reserved4: Option<unsafe extern "C" fn()>, 6862 pub _g_reserved5: Option<unsafe extern "C" fn()>, 6863 pub _g_reserved6: Option<unsafe extern "C" fn()>, 6864 } 6865 6866 impl ::std::fmt::Debug for GVolumeMonitorClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6867 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6868 f.debug_struct(&format!("GVolumeMonitorClass @ {:?}", self as *const _)) 6869 .field("parent_class", &self.parent_class) 6870 .field("volume_added", &self.volume_added) 6871 .field("volume_removed", &self.volume_removed) 6872 .field("volume_changed", &self.volume_changed) 6873 .field("mount_added", &self.mount_added) 6874 .field("mount_removed", &self.mount_removed) 6875 .field("mount_pre_unmount", &self.mount_pre_unmount) 6876 .field("mount_changed", &self.mount_changed) 6877 .field("drive_connected", &self.drive_connected) 6878 .field("drive_disconnected", &self.drive_disconnected) 6879 .field("drive_changed", &self.drive_changed) 6880 .field("is_supported", &self.is_supported) 6881 .field("get_connected_drives", &self.get_connected_drives) 6882 .field("get_volumes", &self.get_volumes) 6883 .field("get_mounts", &self.get_mounts) 6884 .field("get_volume_for_uuid", &self.get_volume_for_uuid) 6885 .field("get_mount_for_uuid", &self.get_mount_for_uuid) 6886 .field("adopt_orphan_mount", &self.adopt_orphan_mount) 6887 .field("drive_eject_button", &self.drive_eject_button) 6888 .field("drive_stop_button", &self.drive_stop_button) 6889 .field("_g_reserved1", &self._g_reserved1) 6890 .field("_g_reserved2", &self._g_reserved2) 6891 .field("_g_reserved3", &self._g_reserved3) 6892 .field("_g_reserved4", &self._g_reserved4) 6893 .field("_g_reserved5", &self._g_reserved5) 6894 .field("_g_reserved6", &self._g_reserved6) 6895 .finish() 6896 } 6897 } 6898 6899 #[repr(C)] 6900 #[derive(Copy, Clone)] 6901 pub struct GZlibCompressorClass { 6902 pub parent_class: gobject::GObjectClass, 6903 } 6904 6905 impl ::std::fmt::Debug for GZlibCompressorClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6906 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6907 f.debug_struct(&format!("GZlibCompressorClass @ {:?}", self as *const _)) 6908 .field("parent_class", &self.parent_class) 6909 .finish() 6910 } 6911 } 6912 6913 #[repr(C)] 6914 #[derive(Copy, Clone)] 6915 pub struct GZlibDecompressorClass { 6916 pub parent_class: gobject::GObjectClass, 6917 } 6918 6919 impl ::std::fmt::Debug for GZlibDecompressorClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6920 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6921 f.debug_struct(&format!("GZlibDecompressorClass @ {:?}", self as *const _)) 6922 .field("parent_class", &self.parent_class) 6923 .finish() 6924 } 6925 } 6926 6927 // Classes 6928 #[repr(C)] 6929 pub struct GAppInfoMonitor(c_void); 6930 6931 impl ::std::fmt::Debug for GAppInfoMonitor { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6932 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6933 f.debug_struct(&format!("GAppInfoMonitor @ {:?}", self as *const _)) 6934 .finish() 6935 } 6936 } 6937 6938 #[repr(C)] 6939 #[derive(Copy, Clone)] 6940 pub struct GAppLaunchContext { 6941 pub parent_instance: gobject::GObject, 6942 pub priv_: *mut GAppLaunchContextPrivate, 6943 } 6944 6945 impl ::std::fmt::Debug for GAppLaunchContext { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6946 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6947 f.debug_struct(&format!("GAppLaunchContext @ {:?}", self as *const _)) 6948 .field("parent_instance", &self.parent_instance) 6949 .finish() 6950 } 6951 } 6952 6953 #[repr(C)] 6954 #[derive(Copy, Clone)] 6955 pub struct GApplication { 6956 pub parent_instance: gobject::GObject, 6957 pub priv_: *mut GApplicationPrivate, 6958 } 6959 6960 impl ::std::fmt::Debug for GApplication { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6961 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6962 f.debug_struct(&format!("GApplication @ {:?}", self as *const _)) 6963 .finish() 6964 } 6965 } 6966 6967 #[repr(C)] 6968 #[derive(Copy, Clone)] 6969 pub struct GApplicationCommandLine { 6970 pub parent_instance: gobject::GObject, 6971 pub priv_: *mut GApplicationCommandLinePrivate, 6972 } 6973 6974 impl ::std::fmt::Debug for GApplicationCommandLine { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result6975 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 6976 f.debug_struct(&format!("GApplicationCommandLine @ {:?}", self as *const _)) 6977 .finish() 6978 } 6979 } 6980 6981 #[repr(C)] 6982 #[derive(Copy, Clone)] 6983 pub struct GBufferedInputStream { 6984 pub parent_instance: GFilterInputStream, 6985 pub priv_: *mut GBufferedInputStreamPrivate, 6986 } 6987 6988 impl ::std::fmt::Debug for GBufferedInputStream { 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!("GBufferedInputStream @ {:?}", self as *const _)) 6991 .field("parent_instance", &self.parent_instance) 6992 .finish() 6993 } 6994 } 6995 6996 #[repr(C)] 6997 #[derive(Copy, Clone)] 6998 pub struct GBufferedOutputStream { 6999 pub parent_instance: GFilterOutputStream, 7000 pub priv_: *mut GBufferedOutputStreamPrivate, 7001 } 7002 7003 impl ::std::fmt::Debug for GBufferedOutputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7004 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7005 f.debug_struct(&format!("GBufferedOutputStream @ {:?}", self as *const _)) 7006 .field("parent_instance", &self.parent_instance) 7007 .field("priv_", &self.priv_) 7008 .finish() 7009 } 7010 } 7011 7012 #[repr(C)] 7013 pub struct GBytesIcon(c_void); 7014 7015 impl ::std::fmt::Debug for GBytesIcon { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7016 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7017 f.debug_struct(&format!("GBytesIcon @ {:?}", self as *const _)) 7018 .finish() 7019 } 7020 } 7021 7022 #[repr(C)] 7023 #[derive(Copy, Clone)] 7024 pub struct GCancellable { 7025 pub parent_instance: gobject::GObject, 7026 pub priv_: *mut GCancellablePrivate, 7027 } 7028 7029 impl ::std::fmt::Debug for GCancellable { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7030 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7031 f.debug_struct(&format!("GCancellable @ {:?}", self as *const _)) 7032 .field("parent_instance", &self.parent_instance) 7033 .finish() 7034 } 7035 } 7036 7037 #[repr(C)] 7038 pub struct GCharsetConverter(c_void); 7039 7040 impl ::std::fmt::Debug for GCharsetConverter { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7041 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7042 f.debug_struct(&format!("GCharsetConverter @ {:?}", self as *const _)) 7043 .finish() 7044 } 7045 } 7046 7047 #[repr(C)] 7048 #[derive(Copy, Clone)] 7049 pub struct GConverterInputStream { 7050 pub parent_instance: GFilterInputStream, 7051 pub priv_: *mut GConverterInputStreamPrivate, 7052 } 7053 7054 impl ::std::fmt::Debug for GConverterInputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7055 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7056 f.debug_struct(&format!("GConverterInputStream @ {:?}", self as *const _)) 7057 .field("parent_instance", &self.parent_instance) 7058 .finish() 7059 } 7060 } 7061 7062 #[repr(C)] 7063 #[derive(Copy, Clone)] 7064 pub struct GConverterOutputStream { 7065 pub parent_instance: GFilterOutputStream, 7066 pub priv_: *mut GConverterOutputStreamPrivate, 7067 } 7068 7069 impl ::std::fmt::Debug for GConverterOutputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7070 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7071 f.debug_struct(&format!("GConverterOutputStream @ {:?}", self as *const _)) 7072 .field("parent_instance", &self.parent_instance) 7073 .finish() 7074 } 7075 } 7076 7077 #[repr(C)] 7078 pub struct GCredentials(c_void); 7079 7080 impl ::std::fmt::Debug for GCredentials { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7081 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7082 f.debug_struct(&format!("GCredentials @ {:?}", self as *const _)) 7083 .finish() 7084 } 7085 } 7086 7087 #[repr(C)] 7088 pub struct GDBusActionGroup(c_void); 7089 7090 impl ::std::fmt::Debug for GDBusActionGroup { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7091 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7092 f.debug_struct(&format!("GDBusActionGroup @ {:?}", self as *const _)) 7093 .finish() 7094 } 7095 } 7096 7097 #[repr(C)] 7098 pub struct GDBusAuthObserver(c_void); 7099 7100 impl ::std::fmt::Debug for GDBusAuthObserver { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7101 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7102 f.debug_struct(&format!("GDBusAuthObserver @ {:?}", self as *const _)) 7103 .finish() 7104 } 7105 } 7106 7107 #[repr(C)] 7108 pub struct GDBusConnection(c_void); 7109 7110 impl ::std::fmt::Debug for GDBusConnection { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7111 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7112 f.debug_struct(&format!("GDBusConnection @ {:?}", self as *const _)) 7113 .finish() 7114 } 7115 } 7116 7117 #[repr(C)] 7118 #[derive(Copy, Clone)] 7119 pub struct GDBusInterfaceSkeleton { 7120 pub parent_instance: gobject::GObject, 7121 pub priv_: *mut GDBusInterfaceSkeletonPrivate, 7122 } 7123 7124 impl ::std::fmt::Debug for GDBusInterfaceSkeleton { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7125 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7126 f.debug_struct(&format!("GDBusInterfaceSkeleton @ {:?}", self as *const _)) 7127 .finish() 7128 } 7129 } 7130 7131 #[repr(C)] 7132 pub struct GDBusMenuModel(c_void); 7133 7134 impl ::std::fmt::Debug for GDBusMenuModel { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7135 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7136 f.debug_struct(&format!("GDBusMenuModel @ {:?}", self as *const _)) 7137 .finish() 7138 } 7139 } 7140 7141 #[repr(C)] 7142 pub struct GDBusMessage(c_void); 7143 7144 impl ::std::fmt::Debug for GDBusMessage { 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!("GDBusMessage @ {:?}", self as *const _)) 7147 .finish() 7148 } 7149 } 7150 7151 #[repr(C)] 7152 pub struct GDBusMethodInvocation(c_void); 7153 7154 impl ::std::fmt::Debug for GDBusMethodInvocation { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7155 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7156 f.debug_struct(&format!("GDBusMethodInvocation @ {:?}", self as *const _)) 7157 .finish() 7158 } 7159 } 7160 7161 #[repr(C)] 7162 #[derive(Copy, Clone)] 7163 pub struct GDBusObjectManagerClient { 7164 pub parent_instance: gobject::GObject, 7165 pub priv_: *mut GDBusObjectManagerClientPrivate, 7166 } 7167 7168 impl ::std::fmt::Debug for GDBusObjectManagerClient { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7169 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7170 f.debug_struct(&format!( 7171 "GDBusObjectManagerClient @ {:?}", 7172 self as *const _ 7173 )) 7174 .finish() 7175 } 7176 } 7177 7178 #[repr(C)] 7179 #[derive(Copy, Clone)] 7180 pub struct GDBusObjectManagerServer { 7181 pub parent_instance: gobject::GObject, 7182 pub priv_: *mut GDBusObjectManagerServerPrivate, 7183 } 7184 7185 impl ::std::fmt::Debug for GDBusObjectManagerServer { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7186 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7187 f.debug_struct(&format!( 7188 "GDBusObjectManagerServer @ {:?}", 7189 self as *const _ 7190 )) 7191 .finish() 7192 } 7193 } 7194 7195 #[repr(C)] 7196 #[derive(Copy, Clone)] 7197 pub struct GDBusObjectProxy { 7198 pub parent_instance: gobject::GObject, 7199 pub priv_: *mut GDBusObjectProxyPrivate, 7200 } 7201 7202 impl ::std::fmt::Debug for GDBusObjectProxy { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7203 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7204 f.debug_struct(&format!("GDBusObjectProxy @ {:?}", self as *const _)) 7205 .finish() 7206 } 7207 } 7208 7209 #[repr(C)] 7210 #[derive(Copy, Clone)] 7211 pub struct GDBusObjectSkeleton { 7212 pub parent_instance: gobject::GObject, 7213 pub priv_: *mut GDBusObjectSkeletonPrivate, 7214 } 7215 7216 impl ::std::fmt::Debug for GDBusObjectSkeleton { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7217 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7218 f.debug_struct(&format!("GDBusObjectSkeleton @ {:?}", self as *const _)) 7219 .finish() 7220 } 7221 } 7222 7223 #[repr(C)] 7224 #[derive(Copy, Clone)] 7225 pub struct GDBusProxy { 7226 pub parent_instance: gobject::GObject, 7227 pub priv_: *mut GDBusProxyPrivate, 7228 } 7229 7230 impl ::std::fmt::Debug for GDBusProxy { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7231 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7232 f.debug_struct(&format!("GDBusProxy @ {:?}", self as *const _)) 7233 .finish() 7234 } 7235 } 7236 7237 #[repr(C)] 7238 pub struct GDBusServer(c_void); 7239 7240 impl ::std::fmt::Debug for GDBusServer { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7241 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7242 f.debug_struct(&format!("GDBusServer @ {:?}", self as *const _)) 7243 .finish() 7244 } 7245 } 7246 7247 #[repr(C)] 7248 #[derive(Copy, Clone)] 7249 pub struct GDataInputStream { 7250 pub parent_instance: GBufferedInputStream, 7251 pub priv_: *mut GDataInputStreamPrivate, 7252 } 7253 7254 impl ::std::fmt::Debug for GDataInputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7255 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7256 f.debug_struct(&format!("GDataInputStream @ {:?}", self as *const _)) 7257 .field("parent_instance", &self.parent_instance) 7258 .finish() 7259 } 7260 } 7261 7262 #[repr(C)] 7263 #[derive(Copy, Clone)] 7264 pub struct GDataOutputStream { 7265 pub parent_instance: GFilterOutputStream, 7266 pub priv_: *mut GDataOutputStreamPrivate, 7267 } 7268 7269 impl ::std::fmt::Debug for GDataOutputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7270 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7271 f.debug_struct(&format!("GDataOutputStream @ {:?}", self as *const _)) 7272 .field("parent_instance", &self.parent_instance) 7273 .finish() 7274 } 7275 } 7276 7277 #[repr(C)] 7278 pub struct GDesktopAppInfo(c_void); 7279 7280 impl ::std::fmt::Debug for GDesktopAppInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7281 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7282 f.debug_struct(&format!("GDesktopAppInfo @ {:?}", self as *const _)) 7283 .finish() 7284 } 7285 } 7286 7287 #[repr(C)] 7288 pub struct GEmblem(c_void); 7289 7290 impl ::std::fmt::Debug for GEmblem { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7291 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7292 f.debug_struct(&format!("GEmblem @ {:?}", self as *const _)) 7293 .finish() 7294 } 7295 } 7296 7297 #[repr(C)] 7298 #[derive(Copy, Clone)] 7299 pub struct GEmblemedIcon { 7300 pub parent_instance: gobject::GObject, 7301 pub priv_: *mut GEmblemedIconPrivate, 7302 } 7303 7304 impl ::std::fmt::Debug for GEmblemedIcon { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7305 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7306 f.debug_struct(&format!("GEmblemedIcon @ {:?}", self as *const _)) 7307 .field("parent_instance", &self.parent_instance) 7308 .finish() 7309 } 7310 } 7311 7312 #[repr(C)] 7313 #[derive(Copy, Clone)] 7314 pub struct GFileEnumerator { 7315 pub parent_instance: gobject::GObject, 7316 pub priv_: *mut GFileEnumeratorPrivate, 7317 } 7318 7319 impl ::std::fmt::Debug for GFileEnumerator { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7320 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7321 f.debug_struct(&format!("GFileEnumerator @ {:?}", self as *const _)) 7322 .field("parent_instance", &self.parent_instance) 7323 .finish() 7324 } 7325 } 7326 7327 #[repr(C)] 7328 #[derive(Copy, Clone)] 7329 pub struct GFileIOStream { 7330 pub parent_instance: GIOStream, 7331 pub priv_: *mut GFileIOStreamPrivate, 7332 } 7333 7334 impl ::std::fmt::Debug for GFileIOStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7335 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7336 f.debug_struct(&format!("GFileIOStream @ {:?}", self as *const _)) 7337 .field("parent_instance", &self.parent_instance) 7338 .finish() 7339 } 7340 } 7341 7342 #[repr(C)] 7343 pub struct GFileIcon(c_void); 7344 7345 impl ::std::fmt::Debug for GFileIcon { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7346 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7347 f.debug_struct(&format!("GFileIcon @ {:?}", self as *const _)) 7348 .finish() 7349 } 7350 } 7351 7352 #[repr(C)] 7353 pub struct GFileInfo(c_void); 7354 7355 impl ::std::fmt::Debug for GFileInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7356 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7357 f.debug_struct(&format!("GFileInfo @ {:?}", self as *const _)) 7358 .finish() 7359 } 7360 } 7361 7362 #[repr(C)] 7363 #[derive(Copy, Clone)] 7364 pub struct GFileInputStream { 7365 pub parent_instance: GInputStream, 7366 pub priv_: *mut GFileInputStreamPrivate, 7367 } 7368 7369 impl ::std::fmt::Debug for GFileInputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7370 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7371 f.debug_struct(&format!("GFileInputStream @ {:?}", self as *const _)) 7372 .field("parent_instance", &self.parent_instance) 7373 .finish() 7374 } 7375 } 7376 7377 #[repr(C)] 7378 #[derive(Copy, Clone)] 7379 pub struct GFileMonitor { 7380 pub parent_instance: gobject::GObject, 7381 pub priv_: *mut GFileMonitorPrivate, 7382 } 7383 7384 impl ::std::fmt::Debug for GFileMonitor { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7385 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7386 f.debug_struct(&format!("GFileMonitor @ {:?}", self as *const _)) 7387 .field("parent_instance", &self.parent_instance) 7388 .finish() 7389 } 7390 } 7391 7392 #[repr(C)] 7393 #[derive(Copy, Clone)] 7394 pub struct GFileOutputStream { 7395 pub parent_instance: GOutputStream, 7396 pub priv_: *mut GFileOutputStreamPrivate, 7397 } 7398 7399 impl ::std::fmt::Debug for GFileOutputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7400 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7401 f.debug_struct(&format!("GFileOutputStream @ {:?}", self as *const _)) 7402 .field("parent_instance", &self.parent_instance) 7403 .finish() 7404 } 7405 } 7406 7407 #[repr(C)] 7408 pub struct GFilenameCompleter(c_void); 7409 7410 impl ::std::fmt::Debug for GFilenameCompleter { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7411 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7412 f.debug_struct(&format!("GFilenameCompleter @ {:?}", self as *const _)) 7413 .finish() 7414 } 7415 } 7416 7417 #[repr(C)] 7418 #[derive(Copy, Clone)] 7419 pub struct GFilterInputStream { 7420 pub parent_instance: GInputStream, 7421 pub base_stream: *mut GInputStream, 7422 } 7423 7424 impl ::std::fmt::Debug for GFilterInputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7425 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7426 f.debug_struct(&format!("GFilterInputStream @ {:?}", self as *const _)) 7427 .field("parent_instance", &self.parent_instance) 7428 .field("base_stream", &self.base_stream) 7429 .finish() 7430 } 7431 } 7432 7433 #[repr(C)] 7434 #[derive(Copy, Clone)] 7435 pub struct GFilterOutputStream { 7436 pub parent_instance: GOutputStream, 7437 pub base_stream: *mut GOutputStream, 7438 } 7439 7440 impl ::std::fmt::Debug for GFilterOutputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7441 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7442 f.debug_struct(&format!("GFilterOutputStream @ {:?}", self as *const _)) 7443 .field("parent_instance", &self.parent_instance) 7444 .field("base_stream", &self.base_stream) 7445 .finish() 7446 } 7447 } 7448 7449 #[repr(C)] 7450 pub struct GIOModule(c_void); 7451 7452 impl ::std::fmt::Debug for GIOModule { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7453 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7454 f.debug_struct(&format!("GIOModule @ {:?}", self as *const _)) 7455 .finish() 7456 } 7457 } 7458 7459 #[repr(C)] 7460 #[derive(Copy, Clone)] 7461 pub struct GIOStream { 7462 pub parent_instance: gobject::GObject, 7463 pub priv_: *mut GIOStreamPrivate, 7464 } 7465 7466 impl ::std::fmt::Debug for GIOStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7467 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7468 f.debug_struct(&format!("GIOStream @ {:?}", self as *const _)) 7469 .field("parent_instance", &self.parent_instance) 7470 .finish() 7471 } 7472 } 7473 7474 #[repr(C)] 7475 #[derive(Copy, Clone)] 7476 pub struct GInetAddress { 7477 pub parent_instance: gobject::GObject, 7478 pub priv_: *mut GInetAddressPrivate, 7479 } 7480 7481 impl ::std::fmt::Debug for GInetAddress { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7482 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7483 f.debug_struct(&format!("GInetAddress @ {:?}", self as *const _)) 7484 .field("parent_instance", &self.parent_instance) 7485 .finish() 7486 } 7487 } 7488 7489 #[repr(C)] 7490 #[derive(Copy, Clone)] 7491 pub struct GInetAddressMask { 7492 pub parent_instance: gobject::GObject, 7493 pub priv_: *mut GInetAddressMaskPrivate, 7494 } 7495 7496 impl ::std::fmt::Debug for GInetAddressMask { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7497 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7498 f.debug_struct(&format!("GInetAddressMask @ {:?}", self as *const _)) 7499 .field("parent_instance", &self.parent_instance) 7500 .finish() 7501 } 7502 } 7503 7504 #[repr(C)] 7505 #[derive(Copy, Clone)] 7506 pub struct GInetSocketAddress { 7507 pub parent_instance: GSocketAddress, 7508 pub priv_: *mut GInetSocketAddressPrivate, 7509 } 7510 7511 impl ::std::fmt::Debug for GInetSocketAddress { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7512 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7513 f.debug_struct(&format!("GInetSocketAddress @ {:?}", self as *const _)) 7514 .field("parent_instance", &self.parent_instance) 7515 .finish() 7516 } 7517 } 7518 7519 #[repr(C)] 7520 #[derive(Copy, Clone)] 7521 pub struct GInputStream { 7522 pub parent_instance: gobject::GObject, 7523 pub priv_: *mut GInputStreamPrivate, 7524 } 7525 7526 impl ::std::fmt::Debug for GInputStream { 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!("GInputStream @ {:?}", self as *const _)) 7529 .field("parent_instance", &self.parent_instance) 7530 .finish() 7531 } 7532 } 7533 7534 #[repr(C)] 7535 pub struct GListStore(c_void); 7536 7537 impl ::std::fmt::Debug for GListStore { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7538 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7539 f.debug_struct(&format!("GListStore @ {:?}", self as *const _)) 7540 .finish() 7541 } 7542 } 7543 7544 #[repr(C)] 7545 #[derive(Copy, Clone)] 7546 pub struct GMemoryInputStream { 7547 pub parent_instance: GInputStream, 7548 pub priv_: *mut GMemoryInputStreamPrivate, 7549 } 7550 7551 impl ::std::fmt::Debug for GMemoryInputStream { 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!("GMemoryInputStream @ {:?}", self as *const _)) 7554 .field("parent_instance", &self.parent_instance) 7555 .finish() 7556 } 7557 } 7558 7559 #[repr(C)] 7560 #[derive(Copy, Clone)] 7561 pub struct GMemoryOutputStream { 7562 pub parent_instance: GOutputStream, 7563 pub priv_: *mut GMemoryOutputStreamPrivate, 7564 } 7565 7566 impl ::std::fmt::Debug for GMemoryOutputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7567 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7568 f.debug_struct(&format!("GMemoryOutputStream @ {:?}", self as *const _)) 7569 .field("parent_instance", &self.parent_instance) 7570 .finish() 7571 } 7572 } 7573 7574 #[repr(C)] 7575 pub struct GMenu(c_void); 7576 7577 impl ::std::fmt::Debug for GMenu { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7578 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7579 f.debug_struct(&format!("GMenu @ {:?}", self as *const _)) 7580 .finish() 7581 } 7582 } 7583 7584 #[repr(C)] 7585 #[derive(Copy, Clone)] 7586 pub struct GMenuAttributeIter { 7587 pub parent_instance: gobject::GObject, 7588 pub priv_: *mut GMenuAttributeIterPrivate, 7589 } 7590 7591 impl ::std::fmt::Debug for GMenuAttributeIter { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7592 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7593 f.debug_struct(&format!("GMenuAttributeIter @ {:?}", self as *const _)) 7594 .field("parent_instance", &self.parent_instance) 7595 .field("priv_", &self.priv_) 7596 .finish() 7597 } 7598 } 7599 7600 #[repr(C)] 7601 pub struct GMenuItem(c_void); 7602 7603 impl ::std::fmt::Debug for GMenuItem { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7604 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7605 f.debug_struct(&format!("GMenuItem @ {:?}", self as *const _)) 7606 .finish() 7607 } 7608 } 7609 7610 #[repr(C)] 7611 #[derive(Copy, Clone)] 7612 pub struct GMenuLinkIter { 7613 pub parent_instance: gobject::GObject, 7614 pub priv_: *mut GMenuLinkIterPrivate, 7615 } 7616 7617 impl ::std::fmt::Debug for GMenuLinkIter { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7618 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7619 f.debug_struct(&format!("GMenuLinkIter @ {:?}", self as *const _)) 7620 .field("parent_instance", &self.parent_instance) 7621 .field("priv_", &self.priv_) 7622 .finish() 7623 } 7624 } 7625 7626 #[repr(C)] 7627 #[derive(Copy, Clone)] 7628 pub struct GMenuModel { 7629 pub parent_instance: gobject::GObject, 7630 pub priv_: *mut GMenuModelPrivate, 7631 } 7632 7633 impl ::std::fmt::Debug for GMenuModel { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7634 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7635 f.debug_struct(&format!("GMenuModel @ {:?}", self as *const _)) 7636 .field("parent_instance", &self.parent_instance) 7637 .field("priv_", &self.priv_) 7638 .finish() 7639 } 7640 } 7641 7642 #[repr(C)] 7643 #[derive(Copy, Clone)] 7644 pub struct GMountOperation { 7645 pub parent_instance: gobject::GObject, 7646 pub priv_: *mut GMountOperationPrivate, 7647 } 7648 7649 impl ::std::fmt::Debug for GMountOperation { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7650 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7651 f.debug_struct(&format!("GMountOperation @ {:?}", self as *const _)) 7652 .field("parent_instance", &self.parent_instance) 7653 .field("priv_", &self.priv_) 7654 .finish() 7655 } 7656 } 7657 7658 #[repr(C)] 7659 #[derive(Copy, Clone)] 7660 pub struct GNativeSocketAddress { 7661 pub parent_instance: GSocketAddress, 7662 pub priv_: *mut GNativeSocketAddressPrivate, 7663 } 7664 7665 impl ::std::fmt::Debug for GNativeSocketAddress { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7666 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7667 f.debug_struct(&format!("GNativeSocketAddress @ {:?}", self as *const _)) 7668 .field("parent_instance", &self.parent_instance) 7669 .finish() 7670 } 7671 } 7672 7673 #[repr(C)] 7674 #[derive(Copy, Clone)] 7675 pub struct GNativeVolumeMonitor { 7676 pub parent_instance: GVolumeMonitor, 7677 } 7678 7679 impl ::std::fmt::Debug for GNativeVolumeMonitor { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7680 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7681 f.debug_struct(&format!("GNativeVolumeMonitor @ {:?}", self as *const _)) 7682 .field("parent_instance", &self.parent_instance) 7683 .finish() 7684 } 7685 } 7686 7687 #[repr(C)] 7688 #[derive(Copy, Clone)] 7689 pub struct GNetworkAddress { 7690 pub parent_instance: gobject::GObject, 7691 pub priv_: *mut GNetworkAddressPrivate, 7692 } 7693 7694 impl ::std::fmt::Debug for GNetworkAddress { 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!("GNetworkAddress @ {:?}", self as *const _)) 7697 .field("parent_instance", &self.parent_instance) 7698 .finish() 7699 } 7700 } 7701 7702 #[repr(C)] 7703 #[derive(Copy, Clone)] 7704 pub struct GNetworkService { 7705 pub parent_instance: gobject::GObject, 7706 pub priv_: *mut GNetworkServicePrivate, 7707 } 7708 7709 impl ::std::fmt::Debug for GNetworkService { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7710 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7711 f.debug_struct(&format!("GNetworkService @ {:?}", self as *const _)) 7712 .field("parent_instance", &self.parent_instance) 7713 .finish() 7714 } 7715 } 7716 7717 #[repr(C)] 7718 pub struct GNotification(c_void); 7719 7720 impl ::std::fmt::Debug for GNotification { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7721 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7722 f.debug_struct(&format!("GNotification @ {:?}", self as *const _)) 7723 .finish() 7724 } 7725 } 7726 7727 #[repr(C)] 7728 #[derive(Copy, Clone)] 7729 pub struct GOutputStream { 7730 pub parent_instance: gobject::GObject, 7731 pub priv_: *mut GOutputStreamPrivate, 7732 } 7733 7734 impl ::std::fmt::Debug for GOutputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7735 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7736 f.debug_struct(&format!("GOutputStream @ {:?}", self as *const _)) 7737 .field("parent_instance", &self.parent_instance) 7738 .finish() 7739 } 7740 } 7741 7742 #[repr(C)] 7743 #[derive(Copy, Clone)] 7744 pub struct GPermission { 7745 pub parent_instance: gobject::GObject, 7746 pub priv_: *mut GPermissionPrivate, 7747 } 7748 7749 impl ::std::fmt::Debug for GPermission { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7750 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7751 f.debug_struct(&format!("GPermission @ {:?}", self as *const _)) 7752 .field("parent_instance", &self.parent_instance) 7753 .finish() 7754 } 7755 } 7756 7757 #[repr(C)] 7758 pub struct GPropertyAction(c_void); 7759 7760 impl ::std::fmt::Debug for GPropertyAction { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7761 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7762 f.debug_struct(&format!("GPropertyAction @ {:?}", self as *const _)) 7763 .finish() 7764 } 7765 } 7766 7767 #[repr(C)] 7768 #[derive(Copy, Clone)] 7769 pub struct GProxyAddress { 7770 pub parent_instance: GInetSocketAddress, 7771 pub priv_: *mut GProxyAddressPrivate, 7772 } 7773 7774 impl ::std::fmt::Debug for GProxyAddress { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7775 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7776 f.debug_struct(&format!("GProxyAddress @ {:?}", self as *const _)) 7777 .field("parent_instance", &self.parent_instance) 7778 .finish() 7779 } 7780 } 7781 7782 #[repr(C)] 7783 #[derive(Copy, Clone)] 7784 pub struct GProxyAddressEnumerator { 7785 pub parent_instance: GSocketAddressEnumerator, 7786 pub priv_: *mut GProxyAddressEnumeratorPrivate, 7787 } 7788 7789 impl ::std::fmt::Debug for GProxyAddressEnumerator { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7790 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7791 f.debug_struct(&format!("GProxyAddressEnumerator @ {:?}", self as *const _)) 7792 .finish() 7793 } 7794 } 7795 7796 #[repr(C)] 7797 #[derive(Copy, Clone)] 7798 pub struct GResolver { 7799 pub parent_instance: gobject::GObject, 7800 pub priv_: *mut GResolverPrivate, 7801 } 7802 7803 impl ::std::fmt::Debug for GResolver { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7804 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7805 f.debug_struct(&format!("GResolver @ {:?}", self as *const _)) 7806 .field("parent_instance", &self.parent_instance) 7807 .field("priv_", &self.priv_) 7808 .finish() 7809 } 7810 } 7811 7812 #[repr(C)] 7813 #[derive(Copy, Clone)] 7814 pub struct GSettings { 7815 pub parent_instance: gobject::GObject, 7816 pub priv_: *mut GSettingsPrivate, 7817 } 7818 7819 impl ::std::fmt::Debug for GSettings { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7820 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7821 f.debug_struct(&format!("GSettings @ {:?}", self as *const _)) 7822 .field("parent_instance", &self.parent_instance) 7823 .field("priv_", &self.priv_) 7824 .finish() 7825 } 7826 } 7827 7828 #[repr(C)] 7829 #[derive(Copy, Clone)] 7830 pub struct GSettingsBackend { 7831 pub parent_instance: gobject::GObject, 7832 pub priv_: *mut GSettingsBackendPrivate, 7833 } 7834 7835 impl ::std::fmt::Debug for GSettingsBackend { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7836 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7837 f.debug_struct(&format!("GSettingsBackend @ {:?}", self as *const _)) 7838 .field("parent_instance", &self.parent_instance) 7839 .finish() 7840 } 7841 } 7842 7843 #[repr(C)] 7844 pub struct GSimpleAction(c_void); 7845 7846 impl ::std::fmt::Debug for GSimpleAction { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7847 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7848 f.debug_struct(&format!("GSimpleAction @ {:?}", self as *const _)) 7849 .finish() 7850 } 7851 } 7852 7853 #[repr(C)] 7854 #[derive(Copy, Clone)] 7855 pub struct GSimpleActionGroup { 7856 pub parent_instance: gobject::GObject, 7857 pub priv_: *mut GSimpleActionGroupPrivate, 7858 } 7859 7860 impl ::std::fmt::Debug for GSimpleActionGroup { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7861 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7862 f.debug_struct(&format!("GSimpleActionGroup @ {:?}", self as *const _)) 7863 .finish() 7864 } 7865 } 7866 7867 #[repr(C)] 7868 pub struct GSimpleAsyncResult(c_void); 7869 7870 impl ::std::fmt::Debug for GSimpleAsyncResult { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7871 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7872 f.debug_struct(&format!("GSimpleAsyncResult @ {:?}", self as *const _)) 7873 .finish() 7874 } 7875 } 7876 7877 #[repr(C)] 7878 pub struct GSimpleIOStream(c_void); 7879 7880 impl ::std::fmt::Debug for GSimpleIOStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7881 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7882 f.debug_struct(&format!("GSimpleIOStream @ {:?}", self as *const _)) 7883 .finish() 7884 } 7885 } 7886 7887 #[repr(C)] 7888 pub struct GSimplePermission(c_void); 7889 7890 impl ::std::fmt::Debug for GSimplePermission { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7891 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7892 f.debug_struct(&format!("GSimplePermission @ {:?}", self as *const _)) 7893 .finish() 7894 } 7895 } 7896 7897 #[repr(C)] 7898 #[derive(Copy, Clone)] 7899 pub struct GSimpleProxyResolver { 7900 pub parent_instance: gobject::GObject, 7901 pub priv_: *mut GSimpleProxyResolverPrivate, 7902 } 7903 7904 impl ::std::fmt::Debug for GSimpleProxyResolver { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7905 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7906 f.debug_struct(&format!("GSimpleProxyResolver @ {:?}", self as *const _)) 7907 .field("parent_instance", &self.parent_instance) 7908 .finish() 7909 } 7910 } 7911 7912 #[repr(C)] 7913 #[derive(Copy, Clone)] 7914 pub struct GSocket { 7915 pub parent_instance: gobject::GObject, 7916 pub priv_: *mut GSocketPrivate, 7917 } 7918 7919 impl ::std::fmt::Debug for GSocket { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7920 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7921 f.debug_struct(&format!("GSocket @ {:?}", self as *const _)) 7922 .field("parent_instance", &self.parent_instance) 7923 .field("priv_", &self.priv_) 7924 .finish() 7925 } 7926 } 7927 7928 #[repr(C)] 7929 #[derive(Copy, Clone)] 7930 pub struct GSocketAddress { 7931 pub parent_instance: gobject::GObject, 7932 } 7933 7934 impl ::std::fmt::Debug for GSocketAddress { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7935 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7936 f.debug_struct(&format!("GSocketAddress @ {:?}", self as *const _)) 7937 .field("parent_instance", &self.parent_instance) 7938 .finish() 7939 } 7940 } 7941 7942 #[repr(C)] 7943 #[derive(Copy, Clone)] 7944 pub struct GSocketAddressEnumerator { 7945 pub parent_instance: gobject::GObject, 7946 } 7947 7948 impl ::std::fmt::Debug for GSocketAddressEnumerator { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7949 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7950 f.debug_struct(&format!( 7951 "GSocketAddressEnumerator @ {:?}", 7952 self as *const _ 7953 )) 7954 .finish() 7955 } 7956 } 7957 7958 #[repr(C)] 7959 #[derive(Copy, Clone)] 7960 pub struct GSocketClient { 7961 pub parent_instance: gobject::GObject, 7962 pub priv_: *mut GSocketClientPrivate, 7963 } 7964 7965 impl ::std::fmt::Debug for GSocketClient { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7966 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7967 f.debug_struct(&format!("GSocketClient @ {:?}", self as *const _)) 7968 .field("parent_instance", &self.parent_instance) 7969 .field("priv_", &self.priv_) 7970 .finish() 7971 } 7972 } 7973 7974 #[repr(C)] 7975 #[derive(Copy, Clone)] 7976 pub struct GSocketConnection { 7977 pub parent_instance: GIOStream, 7978 pub priv_: *mut GSocketConnectionPrivate, 7979 } 7980 7981 impl ::std::fmt::Debug for GSocketConnection { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7982 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7983 f.debug_struct(&format!("GSocketConnection @ {:?}", self as *const _)) 7984 .field("parent_instance", &self.parent_instance) 7985 .field("priv_", &self.priv_) 7986 .finish() 7987 } 7988 } 7989 7990 #[repr(C)] 7991 #[derive(Copy, Clone)] 7992 pub struct GSocketControlMessage { 7993 pub parent_instance: gobject::GObject, 7994 pub priv_: *mut GSocketControlMessagePrivate, 7995 } 7996 7997 impl ::std::fmt::Debug for GSocketControlMessage { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result7998 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 7999 f.debug_struct(&format!("GSocketControlMessage @ {:?}", self as *const _)) 8000 .field("parent_instance", &self.parent_instance) 8001 .field("priv_", &self.priv_) 8002 .finish() 8003 } 8004 } 8005 8006 #[repr(C)] 8007 #[derive(Copy, Clone)] 8008 pub struct GSocketListener { 8009 pub parent_instance: gobject::GObject, 8010 pub priv_: *mut GSocketListenerPrivate, 8011 } 8012 8013 impl ::std::fmt::Debug for GSocketListener { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8014 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8015 f.debug_struct(&format!("GSocketListener @ {:?}", self as *const _)) 8016 .field("parent_instance", &self.parent_instance) 8017 .field("priv_", &self.priv_) 8018 .finish() 8019 } 8020 } 8021 8022 #[repr(C)] 8023 #[derive(Copy, Clone)] 8024 pub struct GSocketService { 8025 pub parent_instance: GSocketListener, 8026 pub priv_: *mut GSocketServicePrivate, 8027 } 8028 8029 impl ::std::fmt::Debug for GSocketService { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8030 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8031 f.debug_struct(&format!("GSocketService @ {:?}", self as *const _)) 8032 .field("parent_instance", &self.parent_instance) 8033 .field("priv_", &self.priv_) 8034 .finish() 8035 } 8036 } 8037 8038 #[repr(C)] 8039 pub struct GSubprocess(c_void); 8040 8041 impl ::std::fmt::Debug for GSubprocess { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8042 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8043 f.debug_struct(&format!("GSubprocess @ {:?}", self as *const _)) 8044 .finish() 8045 } 8046 } 8047 8048 #[repr(C)] 8049 pub struct GSubprocessLauncher(c_void); 8050 8051 impl ::std::fmt::Debug for GSubprocessLauncher { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8052 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8053 f.debug_struct(&format!("GSubprocessLauncher @ {:?}", self as *const _)) 8054 .finish() 8055 } 8056 } 8057 8058 #[repr(C)] 8059 pub struct GTask(c_void); 8060 8061 impl ::std::fmt::Debug for GTask { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8062 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8063 f.debug_struct(&format!("GTask @ {:?}", self as *const _)) 8064 .finish() 8065 } 8066 } 8067 8068 #[repr(C)] 8069 #[derive(Copy, Clone)] 8070 pub struct GTcpConnection { 8071 pub parent_instance: GSocketConnection, 8072 pub priv_: *mut GTcpConnectionPrivate, 8073 } 8074 8075 impl ::std::fmt::Debug for GTcpConnection { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8076 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8077 f.debug_struct(&format!("GTcpConnection @ {:?}", self as *const _)) 8078 .field("parent_instance", &self.parent_instance) 8079 .field("priv_", &self.priv_) 8080 .finish() 8081 } 8082 } 8083 8084 #[repr(C)] 8085 #[derive(Copy, Clone)] 8086 pub struct GTcpWrapperConnection { 8087 pub parent_instance: GTcpConnection, 8088 pub priv_: *mut GTcpWrapperConnectionPrivate, 8089 } 8090 8091 impl ::std::fmt::Debug for GTcpWrapperConnection { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8092 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8093 f.debug_struct(&format!("GTcpWrapperConnection @ {:?}", self as *const _)) 8094 .field("parent_instance", &self.parent_instance) 8095 .field("priv_", &self.priv_) 8096 .finish() 8097 } 8098 } 8099 8100 #[repr(C)] 8101 pub struct GTestDBus(c_void); 8102 8103 impl ::std::fmt::Debug for GTestDBus { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8104 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8105 f.debug_struct(&format!("GTestDBus @ {:?}", self as *const _)) 8106 .finish() 8107 } 8108 } 8109 8110 #[repr(C)] 8111 pub struct GThemedIcon(c_void); 8112 8113 impl ::std::fmt::Debug for GThemedIcon { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8114 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8115 f.debug_struct(&format!("GThemedIcon @ {:?}", self as *const _)) 8116 .finish() 8117 } 8118 } 8119 8120 #[repr(C)] 8121 #[derive(Copy, Clone)] 8122 pub struct GThreadedSocketService { 8123 pub parent_instance: GSocketService, 8124 pub priv_: *mut GThreadedSocketServicePrivate, 8125 } 8126 8127 impl ::std::fmt::Debug for GThreadedSocketService { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8128 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8129 f.debug_struct(&format!("GThreadedSocketService @ {:?}", self as *const _)) 8130 .field("parent_instance", &self.parent_instance) 8131 .field("priv_", &self.priv_) 8132 .finish() 8133 } 8134 } 8135 8136 #[repr(C)] 8137 #[derive(Copy, Clone)] 8138 pub struct GTlsCertificate { 8139 pub parent_instance: gobject::GObject, 8140 pub priv_: *mut GTlsCertificatePrivate, 8141 } 8142 8143 impl ::std::fmt::Debug for GTlsCertificate { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8144 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8145 f.debug_struct(&format!("GTlsCertificate @ {:?}", self as *const _)) 8146 .field("parent_instance", &self.parent_instance) 8147 .field("priv_", &self.priv_) 8148 .finish() 8149 } 8150 } 8151 8152 #[repr(C)] 8153 #[derive(Copy, Clone)] 8154 pub struct GTlsConnection { 8155 pub parent_instance: GIOStream, 8156 pub priv_: *mut GTlsConnectionPrivate, 8157 } 8158 8159 impl ::std::fmt::Debug for GTlsConnection { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8160 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8161 f.debug_struct(&format!("GTlsConnection @ {:?}", self as *const _)) 8162 .field("parent_instance", &self.parent_instance) 8163 .field("priv_", &self.priv_) 8164 .finish() 8165 } 8166 } 8167 8168 #[repr(C)] 8169 #[derive(Copy, Clone)] 8170 pub struct GTlsDatabase { 8171 pub parent_instance: gobject::GObject, 8172 pub priv_: *mut GTlsDatabasePrivate, 8173 } 8174 8175 impl ::std::fmt::Debug for GTlsDatabase { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8176 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8177 f.debug_struct(&format!("GTlsDatabase @ {:?}", self as *const _)) 8178 .field("parent_instance", &self.parent_instance) 8179 .field("priv_", &self.priv_) 8180 .finish() 8181 } 8182 } 8183 8184 #[repr(C)] 8185 #[derive(Copy, Clone)] 8186 pub struct GTlsInteraction { 8187 pub parent_instance: gobject::GObject, 8188 pub priv_: *mut GTlsInteractionPrivate, 8189 } 8190 8191 impl ::std::fmt::Debug for GTlsInteraction { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8192 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8193 f.debug_struct(&format!("GTlsInteraction @ {:?}", self as *const _)) 8194 .finish() 8195 } 8196 } 8197 8198 #[repr(C)] 8199 #[derive(Copy, Clone)] 8200 pub struct GTlsPassword { 8201 pub parent_instance: gobject::GObject, 8202 pub priv_: *mut GTlsPasswordPrivate, 8203 } 8204 8205 impl ::std::fmt::Debug for GTlsPassword { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8206 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8207 f.debug_struct(&format!("GTlsPassword @ {:?}", self as *const _)) 8208 .field("parent_instance", &self.parent_instance) 8209 .field("priv_", &self.priv_) 8210 .finish() 8211 } 8212 } 8213 8214 #[repr(C)] 8215 #[derive(Copy, Clone)] 8216 pub struct GUnixConnection { 8217 pub parent_instance: GSocketConnection, 8218 pub priv_: *mut GUnixConnectionPrivate, 8219 } 8220 8221 impl ::std::fmt::Debug for GUnixConnection { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8222 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8223 f.debug_struct(&format!("GUnixConnection @ {:?}", self as *const _)) 8224 .field("parent_instance", &self.parent_instance) 8225 .field("priv_", &self.priv_) 8226 .finish() 8227 } 8228 } 8229 8230 #[repr(C)] 8231 #[derive(Copy, Clone)] 8232 pub struct GUnixCredentialsMessage { 8233 pub parent_instance: GSocketControlMessage, 8234 pub priv_: *mut GUnixCredentialsMessagePrivate, 8235 } 8236 8237 impl ::std::fmt::Debug for GUnixCredentialsMessage { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8238 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8239 f.debug_struct(&format!("GUnixCredentialsMessage @ {:?}", self as *const _)) 8240 .field("parent_instance", &self.parent_instance) 8241 .field("priv_", &self.priv_) 8242 .finish() 8243 } 8244 } 8245 8246 #[repr(C)] 8247 #[derive(Copy, Clone)] 8248 pub struct GUnixFDList { 8249 pub parent_instance: gobject::GObject, 8250 pub priv_: *mut GUnixFDListPrivate, 8251 } 8252 8253 impl ::std::fmt::Debug for GUnixFDList { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8254 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8255 f.debug_struct(&format!("GUnixFDList @ {:?}", self as *const _)) 8256 .field("parent_instance", &self.parent_instance) 8257 .field("priv_", &self.priv_) 8258 .finish() 8259 } 8260 } 8261 8262 #[repr(C)] 8263 #[derive(Copy, Clone)] 8264 pub struct GUnixFDMessage { 8265 pub parent_instance: GSocketControlMessage, 8266 pub priv_: *mut GUnixFDMessagePrivate, 8267 } 8268 8269 impl ::std::fmt::Debug for GUnixFDMessage { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8270 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8271 f.debug_struct(&format!("GUnixFDMessage @ {:?}", self as *const _)) 8272 .field("parent_instance", &self.parent_instance) 8273 .field("priv_", &self.priv_) 8274 .finish() 8275 } 8276 } 8277 8278 #[repr(C)] 8279 #[derive(Copy, Clone)] 8280 pub struct GUnixInputStream { 8281 pub parent_instance: GInputStream, 8282 pub priv_: *mut GUnixInputStreamPrivate, 8283 } 8284 8285 impl ::std::fmt::Debug for GUnixInputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8286 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8287 f.debug_struct(&format!("GUnixInputStream @ {:?}", self as *const _)) 8288 .field("parent_instance", &self.parent_instance) 8289 .finish() 8290 } 8291 } 8292 8293 #[repr(C)] 8294 pub struct GUnixMountMonitor(c_void); 8295 8296 impl ::std::fmt::Debug for GUnixMountMonitor { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8297 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8298 f.debug_struct(&format!("GUnixMountMonitor @ {:?}", self as *const _)) 8299 .finish() 8300 } 8301 } 8302 8303 #[repr(C)] 8304 #[derive(Copy, Clone)] 8305 pub struct GUnixOutputStream { 8306 pub parent_instance: GOutputStream, 8307 pub priv_: *mut GUnixOutputStreamPrivate, 8308 } 8309 8310 impl ::std::fmt::Debug for GUnixOutputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8311 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8312 f.debug_struct(&format!("GUnixOutputStream @ {:?}", self as *const _)) 8313 .field("parent_instance", &self.parent_instance) 8314 .finish() 8315 } 8316 } 8317 8318 #[repr(C)] 8319 #[derive(Copy, Clone)] 8320 pub struct GUnixSocketAddress { 8321 pub parent_instance: GSocketAddress, 8322 pub priv_: *mut GUnixSocketAddressPrivate, 8323 } 8324 8325 impl ::std::fmt::Debug for GUnixSocketAddress { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8326 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8327 f.debug_struct(&format!("GUnixSocketAddress @ {:?}", self as *const _)) 8328 .field("parent_instance", &self.parent_instance) 8329 .finish() 8330 } 8331 } 8332 8333 #[repr(C)] 8334 #[derive(Copy, Clone)] 8335 pub struct GVfs { 8336 pub parent_instance: gobject::GObject, 8337 } 8338 8339 impl ::std::fmt::Debug for GVfs { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8340 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8341 f.debug_struct(&format!("GVfs @ {:?}", self as *const _)) 8342 .field("parent_instance", &self.parent_instance) 8343 .finish() 8344 } 8345 } 8346 8347 #[repr(C)] 8348 #[derive(Copy, Clone)] 8349 pub struct GVolumeMonitor { 8350 pub parent_instance: gobject::GObject, 8351 pub priv_: gpointer, 8352 } 8353 8354 impl ::std::fmt::Debug for GVolumeMonitor { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8355 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8356 f.debug_struct(&format!("GVolumeMonitor @ {:?}", self as *const _)) 8357 .field("parent_instance", &self.parent_instance) 8358 .finish() 8359 } 8360 } 8361 8362 #[repr(C)] 8363 pub struct GZlibCompressor(c_void); 8364 8365 impl ::std::fmt::Debug for GZlibCompressor { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8366 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8367 f.debug_struct(&format!("GZlibCompressor @ {:?}", self as *const _)) 8368 .finish() 8369 } 8370 } 8371 8372 #[repr(C)] 8373 pub struct GZlibDecompressor(c_void); 8374 8375 impl ::std::fmt::Debug for GZlibDecompressor { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8376 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8377 f.debug_struct(&format!("GZlibDecompressor @ {:?}", self as *const _)) 8378 .finish() 8379 } 8380 } 8381 8382 // Interfaces 8383 #[repr(C)] 8384 pub struct GAction(c_void); 8385 8386 impl ::std::fmt::Debug for GAction { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8387 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8388 write!(f, "GAction @ {:?}", self as *const _) 8389 } 8390 } 8391 8392 #[repr(C)] 8393 pub struct GActionGroup(c_void); 8394 8395 impl ::std::fmt::Debug for GActionGroup { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8396 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8397 write!(f, "GActionGroup @ {:?}", self as *const _) 8398 } 8399 } 8400 8401 #[repr(C)] 8402 pub struct GActionMap(c_void); 8403 8404 impl ::std::fmt::Debug for GActionMap { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8405 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8406 write!(f, "GActionMap @ {:?}", self as *const _) 8407 } 8408 } 8409 8410 #[repr(C)] 8411 pub struct GAppInfo(c_void); 8412 8413 impl ::std::fmt::Debug for GAppInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8414 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8415 write!(f, "GAppInfo @ {:?}", self as *const _) 8416 } 8417 } 8418 8419 #[repr(C)] 8420 pub struct GAsyncInitable(c_void); 8421 8422 impl ::std::fmt::Debug for GAsyncInitable { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8423 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8424 write!(f, "GAsyncInitable @ {:?}", self as *const _) 8425 } 8426 } 8427 8428 #[repr(C)] 8429 pub struct GAsyncResult(c_void); 8430 8431 impl ::std::fmt::Debug for GAsyncResult { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8432 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8433 write!(f, "GAsyncResult @ {:?}", self as *const _) 8434 } 8435 } 8436 8437 #[repr(C)] 8438 pub struct GConverter(c_void); 8439 8440 impl ::std::fmt::Debug for GConverter { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8441 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8442 write!(f, "GConverter @ {:?}", self as *const _) 8443 } 8444 } 8445 8446 #[repr(C)] 8447 pub struct GDBusInterface(c_void); 8448 8449 impl ::std::fmt::Debug for GDBusInterface { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8450 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8451 write!(f, "GDBusInterface @ {:?}", self as *const _) 8452 } 8453 } 8454 8455 #[repr(C)] 8456 pub struct GDBusObject(c_void); 8457 8458 impl ::std::fmt::Debug for GDBusObject { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8459 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8460 write!(f, "GDBusObject @ {:?}", self as *const _) 8461 } 8462 } 8463 8464 #[repr(C)] 8465 pub struct GDBusObjectManager(c_void); 8466 8467 impl ::std::fmt::Debug for GDBusObjectManager { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8468 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8469 write!(f, "GDBusObjectManager @ {:?}", self as *const _) 8470 } 8471 } 8472 8473 #[repr(C)] 8474 pub struct GDatagramBased(c_void); 8475 8476 impl ::std::fmt::Debug for GDatagramBased { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8477 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8478 write!(f, "GDatagramBased @ {:?}", self as *const _) 8479 } 8480 } 8481 8482 #[repr(C)] 8483 pub struct GDesktopAppInfoLookup(c_void); 8484 8485 impl ::std::fmt::Debug for GDesktopAppInfoLookup { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8486 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8487 write!(f, "GDesktopAppInfoLookup @ {:?}", self as *const _) 8488 } 8489 } 8490 8491 #[repr(C)] 8492 pub struct GDrive(c_void); 8493 8494 impl ::std::fmt::Debug for GDrive { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8495 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8496 write!(f, "GDrive @ {:?}", self as *const _) 8497 } 8498 } 8499 8500 #[repr(C)] 8501 pub struct GDtlsClientConnection(c_void); 8502 8503 impl ::std::fmt::Debug for GDtlsClientConnection { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8504 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8505 write!(f, "GDtlsClientConnection @ {:?}", self as *const _) 8506 } 8507 } 8508 8509 #[repr(C)] 8510 pub struct GDtlsConnection(c_void); 8511 8512 impl ::std::fmt::Debug for GDtlsConnection { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8513 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8514 write!(f, "GDtlsConnection @ {:?}", self as *const _) 8515 } 8516 } 8517 8518 #[repr(C)] 8519 pub struct GDtlsServerConnection(c_void); 8520 8521 impl ::std::fmt::Debug for GDtlsServerConnection { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8522 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8523 write!(f, "GDtlsServerConnection @ {:?}", self as *const _) 8524 } 8525 } 8526 8527 #[repr(C)] 8528 pub struct GFile(c_void); 8529 8530 impl ::std::fmt::Debug for GFile { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8531 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8532 write!(f, "GFile @ {:?}", self as *const _) 8533 } 8534 } 8535 8536 #[repr(C)] 8537 pub struct GFileDescriptorBased(c_void); 8538 8539 impl ::std::fmt::Debug for GFileDescriptorBased { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8540 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8541 write!(f, "GFileDescriptorBased @ {:?}", self as *const _) 8542 } 8543 } 8544 8545 #[repr(C)] 8546 pub struct GIcon(c_void); 8547 8548 impl ::std::fmt::Debug for GIcon { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8549 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8550 write!(f, "GIcon @ {:?}", self as *const _) 8551 } 8552 } 8553 8554 #[repr(C)] 8555 pub struct GInitable(c_void); 8556 8557 impl ::std::fmt::Debug for GInitable { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8558 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8559 write!(f, "GInitable @ {:?}", self as *const _) 8560 } 8561 } 8562 8563 #[repr(C)] 8564 pub struct GListModel(c_void); 8565 8566 impl ::std::fmt::Debug for GListModel { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8567 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8568 write!(f, "GListModel @ {:?}", self as *const _) 8569 } 8570 } 8571 8572 #[repr(C)] 8573 pub struct GLoadableIcon(c_void); 8574 8575 impl ::std::fmt::Debug for GLoadableIcon { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8576 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8577 write!(f, "GLoadableIcon @ {:?}", self as *const _) 8578 } 8579 } 8580 8581 #[repr(C)] 8582 pub struct GMount(c_void); 8583 8584 impl ::std::fmt::Debug for GMount { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8585 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8586 write!(f, "GMount @ {:?}", self as *const _) 8587 } 8588 } 8589 8590 #[repr(C)] 8591 pub struct GNetworkMonitor(c_void); 8592 8593 impl ::std::fmt::Debug for GNetworkMonitor { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8594 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8595 write!(f, "GNetworkMonitor @ {:?}", self as *const _) 8596 } 8597 } 8598 8599 #[repr(C)] 8600 pub struct GPollableInputStream(c_void); 8601 8602 impl ::std::fmt::Debug for GPollableInputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8603 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8604 write!(f, "GPollableInputStream @ {:?}", self as *const _) 8605 } 8606 } 8607 8608 #[repr(C)] 8609 pub struct GPollableOutputStream(c_void); 8610 8611 impl ::std::fmt::Debug for GPollableOutputStream { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8612 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8613 write!(f, "GPollableOutputStream @ {:?}", self as *const _) 8614 } 8615 } 8616 8617 #[repr(C)] 8618 pub struct GProxy(c_void); 8619 8620 impl ::std::fmt::Debug for GProxy { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8621 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8622 write!(f, "GProxy @ {:?}", self as *const _) 8623 } 8624 } 8625 8626 #[repr(C)] 8627 pub struct GProxyResolver(c_void); 8628 8629 impl ::std::fmt::Debug for GProxyResolver { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8630 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8631 write!(f, "GProxyResolver @ {:?}", self as *const _) 8632 } 8633 } 8634 8635 #[repr(C)] 8636 pub struct GRemoteActionGroup(c_void); 8637 8638 impl ::std::fmt::Debug for GRemoteActionGroup { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8639 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8640 write!(f, "GRemoteActionGroup @ {:?}", self as *const _) 8641 } 8642 } 8643 8644 #[repr(C)] 8645 pub struct GSeekable(c_void); 8646 8647 impl ::std::fmt::Debug for GSeekable { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8648 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8649 write!(f, "GSeekable @ {:?}", self as *const _) 8650 } 8651 } 8652 8653 #[repr(C)] 8654 pub struct GSocketConnectable(c_void); 8655 8656 impl ::std::fmt::Debug for GSocketConnectable { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8657 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8658 write!(f, "GSocketConnectable @ {:?}", self as *const _) 8659 } 8660 } 8661 8662 #[repr(C)] 8663 pub struct GTlsBackend(c_void); 8664 8665 impl ::std::fmt::Debug for GTlsBackend { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8666 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8667 write!(f, "GTlsBackend @ {:?}", self as *const _) 8668 } 8669 } 8670 8671 #[repr(C)] 8672 pub struct GTlsClientConnection(c_void); 8673 8674 impl ::std::fmt::Debug for GTlsClientConnection { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8675 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8676 write!(f, "GTlsClientConnection @ {:?}", self as *const _) 8677 } 8678 } 8679 8680 #[repr(C)] 8681 pub struct GTlsFileDatabase(c_void); 8682 8683 impl ::std::fmt::Debug for GTlsFileDatabase { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8684 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8685 write!(f, "GTlsFileDatabase @ {:?}", self as *const _) 8686 } 8687 } 8688 8689 #[repr(C)] 8690 pub struct GTlsServerConnection(c_void); 8691 8692 impl ::std::fmt::Debug for GTlsServerConnection { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8693 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8694 write!(f, "GTlsServerConnection @ {:?}", self as *const _) 8695 } 8696 } 8697 8698 #[repr(C)] 8699 pub struct GVolume(c_void); 8700 8701 impl ::std::fmt::Debug for GVolume { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result8702 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 8703 write!(f, "GVolume @ {:?}", self as *const _) 8704 } 8705 } 8706 8707 extern "C" { 8708 8709 //========================================================================= 8710 // GBusType 8711 //========================================================================= g_bus_type_get_type() -> GType8712 pub fn g_bus_type_get_type() -> GType; 8713 8714 //========================================================================= 8715 // GConverterResult 8716 //========================================================================= g_converter_result_get_type() -> GType8717 pub fn g_converter_result_get_type() -> GType; 8718 8719 //========================================================================= 8720 // GCredentialsType 8721 //========================================================================= g_credentials_type_get_type() -> GType8722 pub fn g_credentials_type_get_type() -> GType; 8723 8724 //========================================================================= 8725 // GDBusError 8726 //========================================================================= g_dbus_error_get_type() -> GType8727 pub fn g_dbus_error_get_type() -> GType; g_dbus_error_encode_gerror(error: *const glib::GError) -> *mut c_char8728 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_char8729 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) -> gboolean8730 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::GError8731 pub fn g_dbus_error_new_for_dbus_error( 8732 dbus_error_name: *const c_char, 8733 dbus_error_message: *const c_char, 8734 ) -> *mut glib::GError; g_dbus_error_quark() -> glib::GQuark8735 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, ) -> gboolean8736 pub fn g_dbus_error_register_error( 8737 error_domain: glib::GQuark, 8738 error_code: c_int, 8739 dbus_error_name: *const c_char, 8740 ) -> 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, )8741 pub fn g_dbus_error_register_error_domain( 8742 error_domain_quark_name: *const c_char, 8743 quark_volatile: *mut size_t, 8744 entries: *const GDBusErrorEntry, 8745 num_entries: c_uint, 8746 ); 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, ... )8747 pub fn g_dbus_error_set_dbus_error( 8748 error: *mut *mut glib::GError, 8749 dbus_error_name: *const c_char, 8750 dbus_error_message: *const c_char, 8751 format: *const c_char, 8752 ... 8753 ); 8754 //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) -> gboolean8755 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, ) -> gboolean8756 pub fn g_dbus_error_unregister_error( 8757 error_domain: glib::GQuark, 8758 error_code: c_int, 8759 dbus_error_name: *const c_char, 8760 ) -> gboolean; 8761 8762 //========================================================================= 8763 // GDBusMessageByteOrder 8764 //========================================================================= g_dbus_message_byte_order_get_type() -> GType8765 pub fn g_dbus_message_byte_order_get_type() -> GType; 8766 8767 //========================================================================= 8768 // GDBusMessageHeaderField 8769 //========================================================================= g_dbus_message_header_field_get_type() -> GType8770 pub fn g_dbus_message_header_field_get_type() -> GType; 8771 8772 //========================================================================= 8773 // GDBusMessageType 8774 //========================================================================= g_dbus_message_type_get_type() -> GType8775 pub fn g_dbus_message_type_get_type() -> GType; 8776 8777 //========================================================================= 8778 // GDataStreamByteOrder 8779 //========================================================================= g_data_stream_byte_order_get_type() -> GType8780 pub fn g_data_stream_byte_order_get_type() -> GType; 8781 8782 //========================================================================= 8783 // GDataStreamNewlineType 8784 //========================================================================= g_data_stream_newline_type_get_type() -> GType8785 pub fn g_data_stream_newline_type_get_type() -> GType; 8786 8787 //========================================================================= 8788 // GDriveStartStopType 8789 //========================================================================= g_drive_start_stop_type_get_type() -> GType8790 pub fn g_drive_start_stop_type_get_type() -> GType; 8791 8792 //========================================================================= 8793 // GEmblemOrigin 8794 //========================================================================= g_emblem_origin_get_type() -> GType8795 pub fn g_emblem_origin_get_type() -> GType; 8796 8797 //========================================================================= 8798 // GFileAttributeStatus 8799 //========================================================================= g_file_attribute_status_get_type() -> GType8800 pub fn g_file_attribute_status_get_type() -> GType; 8801 8802 //========================================================================= 8803 // GFileAttributeType 8804 //========================================================================= g_file_attribute_type_get_type() -> GType8805 pub fn g_file_attribute_type_get_type() -> GType; 8806 8807 //========================================================================= 8808 // GFileMonitorEvent 8809 //========================================================================= g_file_monitor_event_get_type() -> GType8810 pub fn g_file_monitor_event_get_type() -> GType; 8811 8812 //========================================================================= 8813 // GFileType 8814 //========================================================================= g_file_type_get_type() -> GType8815 pub fn g_file_type_get_type() -> GType; 8816 8817 //========================================================================= 8818 // GFilesystemPreviewType 8819 //========================================================================= g_filesystem_preview_type_get_type() -> GType8820 pub fn g_filesystem_preview_type_get_type() -> GType; 8821 8822 //========================================================================= 8823 // GIOErrorEnum 8824 //========================================================================= g_io_error_enum_get_type() -> GType8825 pub fn g_io_error_enum_get_type() -> GType; 8826 8827 //========================================================================= 8828 // GIOModuleScopeFlags 8829 //========================================================================= g_io_module_scope_flags_get_type() -> GType8830 pub fn g_io_module_scope_flags_get_type() -> GType; 8831 8832 //========================================================================= 8833 // GMountOperationResult 8834 //========================================================================= g_mount_operation_result_get_type() -> GType8835 pub fn g_mount_operation_result_get_type() -> GType; 8836 8837 //========================================================================= 8838 // GNetworkConnectivity 8839 //========================================================================= g_network_connectivity_get_type() -> GType8840 pub fn g_network_connectivity_get_type() -> GType; 8841 8842 //========================================================================= 8843 // GNotificationPriority 8844 //========================================================================= g_notification_priority_get_type() -> GType8845 pub fn g_notification_priority_get_type() -> GType; 8846 8847 //========================================================================= 8848 // GPasswordSave 8849 //========================================================================= g_password_save_get_type() -> GType8850 pub fn g_password_save_get_type() -> GType; 8851 8852 //========================================================================= 8853 // GPollableReturn 8854 //========================================================================= g_pollable_return_get_type() -> GType8855 pub fn g_pollable_return_get_type() -> GType; 8856 8857 //========================================================================= 8858 // GResolverError 8859 //========================================================================= g_resolver_error_get_type() -> GType8860 pub fn g_resolver_error_get_type() -> GType; g_resolver_error_quark() -> glib::GQuark8861 pub fn g_resolver_error_quark() -> glib::GQuark; 8862 8863 //========================================================================= 8864 // GResolverRecordType 8865 //========================================================================= g_resolver_record_type_get_type() -> GType8866 pub fn g_resolver_record_type_get_type() -> GType; 8867 8868 //========================================================================= 8869 // GResourceError 8870 //========================================================================= g_resource_error_get_type() -> GType8871 pub fn g_resource_error_get_type() -> GType; g_resource_error_quark() -> glib::GQuark8872 pub fn g_resource_error_quark() -> glib::GQuark; 8873 8874 //========================================================================= 8875 // GSocketClientEvent 8876 //========================================================================= g_socket_client_event_get_type() -> GType8877 pub fn g_socket_client_event_get_type() -> GType; 8878 8879 //========================================================================= 8880 // GSocketFamily 8881 //========================================================================= g_socket_family_get_type() -> GType8882 pub fn g_socket_family_get_type() -> GType; 8883 8884 //========================================================================= 8885 // GSocketListenerEvent 8886 //========================================================================= g_socket_listener_event_get_type() -> GType8887 pub fn g_socket_listener_event_get_type() -> GType; 8888 8889 //========================================================================= 8890 // GSocketProtocol 8891 //========================================================================= g_socket_protocol_get_type() -> GType8892 pub fn g_socket_protocol_get_type() -> GType; 8893 8894 //========================================================================= 8895 // GSocketType 8896 //========================================================================= g_socket_type_get_type() -> GType8897 pub fn g_socket_type_get_type() -> GType; 8898 8899 //========================================================================= 8900 // GTlsAuthenticationMode 8901 //========================================================================= g_tls_authentication_mode_get_type() -> GType8902 pub fn g_tls_authentication_mode_get_type() -> GType; 8903 8904 //========================================================================= 8905 // GTlsCertificateRequestFlags 8906 //========================================================================= g_tls_certificate_request_flags_get_type() -> GType8907 pub fn g_tls_certificate_request_flags_get_type() -> GType; 8908 8909 //========================================================================= 8910 // GTlsDatabaseLookupFlags 8911 //========================================================================= g_tls_database_lookup_flags_get_type() -> GType8912 pub fn g_tls_database_lookup_flags_get_type() -> GType; 8913 8914 //========================================================================= 8915 // GTlsError 8916 //========================================================================= g_tls_error_get_type() -> GType8917 pub fn g_tls_error_get_type() -> GType; g_tls_error_quark() -> glib::GQuark8918 pub fn g_tls_error_quark() -> glib::GQuark; 8919 8920 //========================================================================= 8921 // GTlsInteractionResult 8922 //========================================================================= g_tls_interaction_result_get_type() -> GType8923 pub fn g_tls_interaction_result_get_type() -> GType; 8924 8925 //========================================================================= 8926 // GTlsRehandshakeMode 8927 //========================================================================= g_tls_rehandshake_mode_get_type() -> GType8928 pub fn g_tls_rehandshake_mode_get_type() -> GType; 8929 8930 //========================================================================= 8931 // GUnixSocketAddressType 8932 //========================================================================= g_unix_socket_address_type_get_type() -> GType8933 pub fn g_unix_socket_address_type_get_type() -> GType; 8934 8935 //========================================================================= 8936 // GZlibCompressorFormat 8937 //========================================================================= g_zlib_compressor_format_get_type() -> GType8938 pub fn g_zlib_compressor_format_get_type() -> GType; 8939 8940 //========================================================================= 8941 // GAppInfoCreateFlags 8942 //========================================================================= g_app_info_create_flags_get_type() -> GType8943 pub fn g_app_info_create_flags_get_type() -> GType; 8944 8945 //========================================================================= 8946 // GApplicationFlags 8947 //========================================================================= g_application_flags_get_type() -> GType8948 pub fn g_application_flags_get_type() -> GType; 8949 8950 //========================================================================= 8951 // GAskPasswordFlags 8952 //========================================================================= g_ask_password_flags_get_type() -> GType8953 pub fn g_ask_password_flags_get_type() -> GType; 8954 8955 //========================================================================= 8956 // GBusNameOwnerFlags 8957 //========================================================================= g_bus_name_owner_flags_get_type() -> GType8958 pub fn g_bus_name_owner_flags_get_type() -> GType; 8959 8960 //========================================================================= 8961 // GBusNameWatcherFlags 8962 //========================================================================= g_bus_name_watcher_flags_get_type() -> GType8963 pub fn g_bus_name_watcher_flags_get_type() -> GType; 8964 8965 //========================================================================= 8966 // GConverterFlags 8967 //========================================================================= g_converter_flags_get_type() -> GType8968 pub fn g_converter_flags_get_type() -> GType; 8969 8970 //========================================================================= 8971 // GDBusCallFlags 8972 //========================================================================= g_dbus_call_flags_get_type() -> GType8973 pub fn g_dbus_call_flags_get_type() -> GType; 8974 8975 //========================================================================= 8976 // GDBusCapabilityFlags 8977 //========================================================================= g_dbus_capability_flags_get_type() -> GType8978 pub fn g_dbus_capability_flags_get_type() -> GType; 8979 8980 //========================================================================= 8981 // GDBusConnectionFlags 8982 //========================================================================= g_dbus_connection_flags_get_type() -> GType8983 pub fn g_dbus_connection_flags_get_type() -> GType; 8984 8985 //========================================================================= 8986 // GDBusInterfaceSkeletonFlags 8987 //========================================================================= g_dbus_interface_skeleton_flags_get_type() -> GType8988 pub fn g_dbus_interface_skeleton_flags_get_type() -> GType; 8989 8990 //========================================================================= 8991 // GDBusMessageFlags 8992 //========================================================================= g_dbus_message_flags_get_type() -> GType8993 pub fn g_dbus_message_flags_get_type() -> GType; 8994 8995 //========================================================================= 8996 // GDBusObjectManagerClientFlags 8997 //========================================================================= g_dbus_object_manager_client_flags_get_type() -> GType8998 pub fn g_dbus_object_manager_client_flags_get_type() -> GType; 8999 9000 //========================================================================= 9001 // GDBusPropertyInfoFlags 9002 //========================================================================= g_dbus_property_info_flags_get_type() -> GType9003 pub fn g_dbus_property_info_flags_get_type() -> GType; 9004 9005 //========================================================================= 9006 // GDBusProxyFlags 9007 //========================================================================= g_dbus_proxy_flags_get_type() -> GType9008 pub fn g_dbus_proxy_flags_get_type() -> GType; 9009 9010 //========================================================================= 9011 // GDBusSendMessageFlags 9012 //========================================================================= g_dbus_send_message_flags_get_type() -> GType9013 pub fn g_dbus_send_message_flags_get_type() -> GType; 9014 9015 //========================================================================= 9016 // GDBusServerFlags 9017 //========================================================================= g_dbus_server_flags_get_type() -> GType9018 pub fn g_dbus_server_flags_get_type() -> GType; 9019 9020 //========================================================================= 9021 // GDBusSignalFlags 9022 //========================================================================= g_dbus_signal_flags_get_type() -> GType9023 pub fn g_dbus_signal_flags_get_type() -> GType; 9024 9025 //========================================================================= 9026 // GDBusSubtreeFlags 9027 //========================================================================= g_dbus_subtree_flags_get_type() -> GType9028 pub fn g_dbus_subtree_flags_get_type() -> GType; 9029 9030 //========================================================================= 9031 // GDriveStartFlags 9032 //========================================================================= g_drive_start_flags_get_type() -> GType9033 pub fn g_drive_start_flags_get_type() -> GType; 9034 9035 //========================================================================= 9036 // GFileAttributeInfoFlags 9037 //========================================================================= g_file_attribute_info_flags_get_type() -> GType9038 pub fn g_file_attribute_info_flags_get_type() -> GType; 9039 9040 //========================================================================= 9041 // GFileCopyFlags 9042 //========================================================================= g_file_copy_flags_get_type() -> GType9043 pub fn g_file_copy_flags_get_type() -> GType; 9044 9045 //========================================================================= 9046 // GFileCreateFlags 9047 //========================================================================= g_file_create_flags_get_type() -> GType9048 pub fn g_file_create_flags_get_type() -> GType; 9049 9050 //========================================================================= 9051 // GFileMeasureFlags 9052 //========================================================================= g_file_measure_flags_get_type() -> GType9053 pub fn g_file_measure_flags_get_type() -> GType; 9054 9055 //========================================================================= 9056 // GFileMonitorFlags 9057 //========================================================================= g_file_monitor_flags_get_type() -> GType9058 pub fn g_file_monitor_flags_get_type() -> GType; 9059 9060 //========================================================================= 9061 // GFileQueryInfoFlags 9062 //========================================================================= g_file_query_info_flags_get_type() -> GType9063 pub fn g_file_query_info_flags_get_type() -> GType; 9064 9065 //========================================================================= 9066 // GIOStreamSpliceFlags 9067 //========================================================================= g_io_stream_splice_flags_get_type() -> GType9068 pub fn g_io_stream_splice_flags_get_type() -> GType; 9069 9070 //========================================================================= 9071 // GMountMountFlags 9072 //========================================================================= g_mount_mount_flags_get_type() -> GType9073 pub fn g_mount_mount_flags_get_type() -> GType; 9074 9075 //========================================================================= 9076 // GMountUnmountFlags 9077 //========================================================================= g_mount_unmount_flags_get_type() -> GType9078 pub fn g_mount_unmount_flags_get_type() -> GType; 9079 9080 //========================================================================= 9081 // GOutputStreamSpliceFlags 9082 //========================================================================= g_output_stream_splice_flags_get_type() -> GType9083 pub fn g_output_stream_splice_flags_get_type() -> GType; 9084 9085 //========================================================================= 9086 // GResolverNameLookupFlags 9087 //========================================================================= g_resolver_name_lookup_flags_get_type() -> GType9088 pub fn g_resolver_name_lookup_flags_get_type() -> GType; 9089 9090 //========================================================================= 9091 // GResourceFlags 9092 //========================================================================= g_resource_flags_get_type() -> GType9093 pub fn g_resource_flags_get_type() -> GType; 9094 9095 //========================================================================= 9096 // GResourceLookupFlags 9097 //========================================================================= g_resource_lookup_flags_get_type() -> GType9098 pub fn g_resource_lookup_flags_get_type() -> GType; 9099 9100 //========================================================================= 9101 // GSettingsBindFlags 9102 //========================================================================= g_settings_bind_flags_get_type() -> GType9103 pub fn g_settings_bind_flags_get_type() -> GType; 9104 9105 //========================================================================= 9106 // GSocketMsgFlags 9107 //========================================================================= g_socket_msg_flags_get_type() -> GType9108 pub fn g_socket_msg_flags_get_type() -> GType; 9109 9110 //========================================================================= 9111 // GSubprocessFlags 9112 //========================================================================= g_subprocess_flags_get_type() -> GType9113 pub fn g_subprocess_flags_get_type() -> GType; 9114 9115 //========================================================================= 9116 // GTestDBusFlags 9117 //========================================================================= g_test_dbus_flags_get_type() -> GType9118 pub fn g_test_dbus_flags_get_type() -> GType; 9119 9120 //========================================================================= 9121 // GTlsCertificateFlags 9122 //========================================================================= g_tls_certificate_flags_get_type() -> GType9123 pub fn g_tls_certificate_flags_get_type() -> GType; 9124 9125 //========================================================================= 9126 // GTlsDatabaseVerifyFlags 9127 //========================================================================= g_tls_database_verify_flags_get_type() -> GType9128 pub fn g_tls_database_verify_flags_get_type() -> GType; 9129 9130 //========================================================================= 9131 // GTlsPasswordFlags 9132 //========================================================================= g_tls_password_flags_get_type() -> GType9133 pub fn g_tls_password_flags_get_type() -> GType; 9134 9135 //========================================================================= 9136 // GDBusAnnotationInfo 9137 //========================================================================= g_dbus_annotation_info_get_type() -> GType9138 pub fn g_dbus_annotation_info_get_type() -> GType; g_dbus_annotation_info_ref(info: *mut GDBusAnnotationInfo) -> *mut GDBusAnnotationInfo9139 pub fn g_dbus_annotation_info_ref(info: *mut GDBusAnnotationInfo) -> *mut GDBusAnnotationInfo; g_dbus_annotation_info_unref(info: *mut GDBusAnnotationInfo)9140 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_char9141 pub fn g_dbus_annotation_info_lookup( 9142 annotations: *mut *mut GDBusAnnotationInfo, 9143 name: *const c_char, 9144 ) -> *const c_char; 9145 9146 //========================================================================= 9147 // GDBusArgInfo 9148 //========================================================================= g_dbus_arg_info_get_type() -> GType9149 pub fn g_dbus_arg_info_get_type() -> GType; g_dbus_arg_info_ref(info: *mut GDBusArgInfo) -> *mut GDBusArgInfo9150 pub fn g_dbus_arg_info_ref(info: *mut GDBusArgInfo) -> *mut GDBusArgInfo; g_dbus_arg_info_unref(info: *mut GDBusArgInfo)9151 pub fn g_dbus_arg_info_unref(info: *mut GDBusArgInfo); 9152 9153 //========================================================================= 9154 // GDBusInterfaceInfo 9155 //========================================================================= g_dbus_interface_info_get_type() -> GType9156 pub fn g_dbus_interface_info_get_type() -> GType; g_dbus_interface_info_cache_build(info: *mut GDBusInterfaceInfo)9157 pub fn g_dbus_interface_info_cache_build(info: *mut GDBusInterfaceInfo); g_dbus_interface_info_cache_release(info: *mut GDBusInterfaceInfo)9158 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, )9159 pub fn g_dbus_interface_info_generate_xml( 9160 info: *mut GDBusInterfaceInfo, 9161 indent: c_uint, 9162 string_builder: *mut glib::GString, 9163 ); g_dbus_interface_info_lookup_method( info: *mut GDBusInterfaceInfo, name: *const c_char, ) -> *mut GDBusMethodInfo9164 pub fn g_dbus_interface_info_lookup_method( 9165 info: *mut GDBusInterfaceInfo, 9166 name: *const c_char, 9167 ) -> *mut GDBusMethodInfo; g_dbus_interface_info_lookup_property( info: *mut GDBusInterfaceInfo, name: *const c_char, ) -> *mut GDBusPropertyInfo9168 pub fn g_dbus_interface_info_lookup_property( 9169 info: *mut GDBusInterfaceInfo, 9170 name: *const c_char, 9171 ) -> *mut GDBusPropertyInfo; g_dbus_interface_info_lookup_signal( info: *mut GDBusInterfaceInfo, name: *const c_char, ) -> *mut GDBusSignalInfo9172 pub fn g_dbus_interface_info_lookup_signal( 9173 info: *mut GDBusInterfaceInfo, 9174 name: *const c_char, 9175 ) -> *mut GDBusSignalInfo; g_dbus_interface_info_ref(info: *mut GDBusInterfaceInfo) -> *mut GDBusInterfaceInfo9176 pub fn g_dbus_interface_info_ref(info: *mut GDBusInterfaceInfo) -> *mut GDBusInterfaceInfo; g_dbus_interface_info_unref(info: *mut GDBusInterfaceInfo)9177 pub fn g_dbus_interface_info_unref(info: *mut GDBusInterfaceInfo); 9178 9179 //========================================================================= 9180 // GDBusMethodInfo 9181 //========================================================================= g_dbus_method_info_get_type() -> GType9182 pub fn g_dbus_method_info_get_type() -> GType; g_dbus_method_info_ref(info: *mut GDBusMethodInfo) -> *mut GDBusMethodInfo9183 pub fn g_dbus_method_info_ref(info: *mut GDBusMethodInfo) -> *mut GDBusMethodInfo; g_dbus_method_info_unref(info: *mut GDBusMethodInfo)9184 pub fn g_dbus_method_info_unref(info: *mut GDBusMethodInfo); 9185 9186 //========================================================================= 9187 // GDBusNodeInfo 9188 //========================================================================= g_dbus_node_info_get_type() -> GType9189 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 GDBusNodeInfo9190 pub fn g_dbus_node_info_new_for_xml( 9191 xml_data: *const c_char, 9192 error: *mut *mut glib::GError, 9193 ) -> *mut GDBusNodeInfo; g_dbus_node_info_generate_xml( info: *mut GDBusNodeInfo, indent: c_uint, string_builder: *mut glib::GString, )9194 pub fn g_dbus_node_info_generate_xml( 9195 info: *mut GDBusNodeInfo, 9196 indent: c_uint, 9197 string_builder: *mut glib::GString, 9198 ); g_dbus_node_info_lookup_interface( info: *mut GDBusNodeInfo, name: *const c_char, ) -> *mut GDBusInterfaceInfo9199 pub fn g_dbus_node_info_lookup_interface( 9200 info: *mut GDBusNodeInfo, 9201 name: *const c_char, 9202 ) -> *mut GDBusInterfaceInfo; g_dbus_node_info_ref(info: *mut GDBusNodeInfo) -> *mut GDBusNodeInfo9203 pub fn g_dbus_node_info_ref(info: *mut GDBusNodeInfo) -> *mut GDBusNodeInfo; g_dbus_node_info_unref(info: *mut GDBusNodeInfo)9204 pub fn g_dbus_node_info_unref(info: *mut GDBusNodeInfo); 9205 9206 //========================================================================= 9207 // GDBusPropertyInfo 9208 //========================================================================= g_dbus_property_info_get_type() -> GType9209 pub fn g_dbus_property_info_get_type() -> GType; g_dbus_property_info_ref(info: *mut GDBusPropertyInfo) -> *mut GDBusPropertyInfo9210 pub fn g_dbus_property_info_ref(info: *mut GDBusPropertyInfo) -> *mut GDBusPropertyInfo; g_dbus_property_info_unref(info: *mut GDBusPropertyInfo)9211 pub fn g_dbus_property_info_unref(info: *mut GDBusPropertyInfo); 9212 9213 //========================================================================= 9214 // GDBusSignalInfo 9215 //========================================================================= g_dbus_signal_info_get_type() -> GType9216 pub fn g_dbus_signal_info_get_type() -> GType; g_dbus_signal_info_ref(info: *mut GDBusSignalInfo) -> *mut GDBusSignalInfo9217 pub fn g_dbus_signal_info_ref(info: *mut GDBusSignalInfo) -> *mut GDBusSignalInfo; g_dbus_signal_info_unref(info: *mut GDBusSignalInfo)9218 pub fn g_dbus_signal_info_unref(info: *mut GDBusSignalInfo); 9219 9220 //========================================================================= 9221 // GFileAttributeInfoList 9222 //========================================================================= g_file_attribute_info_list_get_type() -> GType9223 pub fn g_file_attribute_info_list_get_type() -> GType; g_file_attribute_info_list_new() -> *mut GFileAttributeInfoList9224 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, )9225 pub fn g_file_attribute_info_list_add( 9226 list: *mut GFileAttributeInfoList, 9227 name: *const c_char, 9228 type_: GFileAttributeType, 9229 flags: GFileAttributeInfoFlags, 9230 ); g_file_attribute_info_list_dup( list: *mut GFileAttributeInfoList, ) -> *mut GFileAttributeInfoList9231 pub fn g_file_attribute_info_list_dup( 9232 list: *mut GFileAttributeInfoList, 9233 ) -> *mut GFileAttributeInfoList; g_file_attribute_info_list_lookup( list: *mut GFileAttributeInfoList, name: *const c_char, ) -> *const GFileAttributeInfo9234 pub fn g_file_attribute_info_list_lookup( 9235 list: *mut GFileAttributeInfoList, 9236 name: *const c_char, 9237 ) -> *const GFileAttributeInfo; g_file_attribute_info_list_ref( list: *mut GFileAttributeInfoList, ) -> *mut GFileAttributeInfoList9238 pub fn g_file_attribute_info_list_ref( 9239 list: *mut GFileAttributeInfoList, 9240 ) -> *mut GFileAttributeInfoList; g_file_attribute_info_list_unref(list: *mut GFileAttributeInfoList)9241 pub fn g_file_attribute_info_list_unref(list: *mut GFileAttributeInfoList); 9242 9243 //========================================================================= 9244 // GFileAttributeMatcher 9245 //========================================================================= g_file_attribute_matcher_get_type() -> GType9246 pub fn g_file_attribute_matcher_get_type() -> GType; g_file_attribute_matcher_new(attributes: *const c_char) -> *mut GFileAttributeMatcher9247 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, ) -> gboolean9248 pub fn g_file_attribute_matcher_enumerate_namespace( 9249 matcher: *mut GFileAttributeMatcher, 9250 ns: *const c_char, 9251 ) -> gboolean; g_file_attribute_matcher_enumerate_next( matcher: *mut GFileAttributeMatcher, ) -> *const c_char9252 pub fn g_file_attribute_matcher_enumerate_next( 9253 matcher: *mut GFileAttributeMatcher, 9254 ) -> *const c_char; g_file_attribute_matcher_matches( matcher: *mut GFileAttributeMatcher, attribute: *const c_char, ) -> gboolean9255 pub fn g_file_attribute_matcher_matches( 9256 matcher: *mut GFileAttributeMatcher, 9257 attribute: *const c_char, 9258 ) -> gboolean; g_file_attribute_matcher_matches_only( matcher: *mut GFileAttributeMatcher, attribute: *const c_char, ) -> gboolean9259 pub fn g_file_attribute_matcher_matches_only( 9260 matcher: *mut GFileAttributeMatcher, 9261 attribute: *const c_char, 9262 ) -> gboolean; g_file_attribute_matcher_ref( matcher: *mut GFileAttributeMatcher, ) -> *mut GFileAttributeMatcher9263 pub fn g_file_attribute_matcher_ref( 9264 matcher: *mut GFileAttributeMatcher, 9265 ) -> *mut GFileAttributeMatcher; g_file_attribute_matcher_subtract( matcher: *mut GFileAttributeMatcher, subtract: *mut GFileAttributeMatcher, ) -> *mut GFileAttributeMatcher9266 pub fn g_file_attribute_matcher_subtract( 9267 matcher: *mut GFileAttributeMatcher, 9268 subtract: *mut GFileAttributeMatcher, 9269 ) -> *mut GFileAttributeMatcher; g_file_attribute_matcher_to_string(matcher: *mut GFileAttributeMatcher) -> *mut c_char9270 pub fn g_file_attribute_matcher_to_string(matcher: *mut GFileAttributeMatcher) -> *mut c_char; g_file_attribute_matcher_unref(matcher: *mut GFileAttributeMatcher)9271 pub fn g_file_attribute_matcher_unref(matcher: *mut GFileAttributeMatcher); 9272 9273 //========================================================================= 9274 // GIOExtension 9275 //========================================================================= g_io_extension_get_name(extension: *mut GIOExtension) -> *const c_char9276 pub fn g_io_extension_get_name(extension: *mut GIOExtension) -> *const c_char; g_io_extension_get_priority(extension: *mut GIOExtension) -> c_int9277 pub fn g_io_extension_get_priority(extension: *mut GIOExtension) -> c_int; g_io_extension_get_type(extension: *mut GIOExtension) -> GType9278 pub fn g_io_extension_get_type(extension: *mut GIOExtension) -> GType; g_io_extension_ref_class(extension: *mut GIOExtension) -> *mut gobject::GTypeClass9279 pub fn g_io_extension_ref_class(extension: *mut GIOExtension) -> *mut gobject::GTypeClass; 9280 9281 //========================================================================= 9282 // GIOExtensionPoint 9283 //========================================================================= g_io_extension_point_get_extension_by_name( extension_point: *mut GIOExtensionPoint, name: *const c_char, ) -> *mut GIOExtension9284 pub fn g_io_extension_point_get_extension_by_name( 9285 extension_point: *mut GIOExtensionPoint, 9286 name: *const c_char, 9287 ) -> *mut GIOExtension; g_io_extension_point_get_extensions( extension_point: *mut GIOExtensionPoint, ) -> *mut glib::GList9288 pub fn g_io_extension_point_get_extensions( 9289 extension_point: *mut GIOExtensionPoint, 9290 ) -> *mut glib::GList; g_io_extension_point_get_required_type(extension_point: *mut GIOExtensionPoint) -> GType9291 pub fn g_io_extension_point_get_required_type(extension_point: *mut GIOExtensionPoint) 9292 -> GType; g_io_extension_point_set_required_type( extension_point: *mut GIOExtensionPoint, type_: GType, )9293 pub fn g_io_extension_point_set_required_type( 9294 extension_point: *mut GIOExtensionPoint, 9295 type_: GType, 9296 ); g_io_extension_point_implement( extension_point_name: *const c_char, type_: GType, extension_name: *const c_char, priority: c_int, ) -> *mut GIOExtension9297 pub fn g_io_extension_point_implement( 9298 extension_point_name: *const c_char, 9299 type_: GType, 9300 extension_name: *const c_char, 9301 priority: c_int, 9302 ) -> *mut GIOExtension; g_io_extension_point_lookup(name: *const c_char) -> *mut GIOExtensionPoint9303 pub fn g_io_extension_point_lookup(name: *const c_char) -> *mut GIOExtensionPoint; g_io_extension_point_register(name: *const c_char) -> *mut GIOExtensionPoint9304 pub fn g_io_extension_point_register(name: *const c_char) -> *mut GIOExtensionPoint; 9305 9306 //========================================================================= 9307 // GIOModuleScope 9308 //========================================================================= g_io_module_scope_block(scope: *mut GIOModuleScope, basename: *const c_char)9309 pub fn g_io_module_scope_block(scope: *mut GIOModuleScope, basename: *const c_char); g_io_module_scope_free(scope: *mut GIOModuleScope)9310 pub fn g_io_module_scope_free(scope: *mut GIOModuleScope); g_io_module_scope_new(flags: GIOModuleScopeFlags) -> *mut GIOModuleScope9311 pub fn g_io_module_scope_new(flags: GIOModuleScopeFlags) -> *mut GIOModuleScope; 9312 9313 //========================================================================= 9314 // GIOSchedulerJob 9315 //========================================================================= g_io_scheduler_job_send_to_mainloop( job: *mut GIOSchedulerJob, func: glib::GSourceFunc, user_data: gpointer, notify: glib::GDestroyNotify, ) -> gboolean9316 pub fn g_io_scheduler_job_send_to_mainloop( 9317 job: *mut GIOSchedulerJob, 9318 func: glib::GSourceFunc, 9319 user_data: gpointer, 9320 notify: glib::GDestroyNotify, 9321 ) -> gboolean; g_io_scheduler_job_send_to_mainloop_async( job: *mut GIOSchedulerJob, func: glib::GSourceFunc, user_data: gpointer, notify: glib::GDestroyNotify, )9322 pub fn g_io_scheduler_job_send_to_mainloop_async( 9323 job: *mut GIOSchedulerJob, 9324 func: glib::GSourceFunc, 9325 user_data: gpointer, 9326 notify: glib::GDestroyNotify, 9327 ); 9328 9329 //========================================================================= 9330 // GResource 9331 //========================================================================= g_resource_get_type() -> GType9332 pub fn g_resource_get_type() -> GType; g_resource_new_from_data( data: *mut glib::GBytes, error: *mut *mut glib::GError, ) -> *mut GResource9333 pub fn g_resource_new_from_data( 9334 data: *mut glib::GBytes, 9335 error: *mut *mut glib::GError, 9336 ) -> *mut GResource; g_resource_enumerate_children( resource: *mut GResource, path: *const c_char, lookup_flags: GResourceLookupFlags, error: *mut *mut glib::GError, ) -> *mut *mut c_char9337 pub fn g_resource_enumerate_children( 9338 resource: *mut GResource, 9339 path: *const c_char, 9340 lookup_flags: GResourceLookupFlags, 9341 error: *mut *mut glib::GError, 9342 ) -> *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, ) -> gboolean9343 pub fn g_resource_get_info( 9344 resource: *mut GResource, 9345 path: *const c_char, 9346 lookup_flags: GResourceLookupFlags, 9347 size: *mut size_t, 9348 flags: *mut u32, 9349 error: *mut *mut glib::GError, 9350 ) -> gboolean; g_resource_lookup_data( resource: *mut GResource, path: *const c_char, lookup_flags: GResourceLookupFlags, error: *mut *mut glib::GError, ) -> *mut glib::GBytes9351 pub fn g_resource_lookup_data( 9352 resource: *mut GResource, 9353 path: *const c_char, 9354 lookup_flags: GResourceLookupFlags, 9355 error: *mut *mut glib::GError, 9356 ) -> *mut glib::GBytes; g_resource_open_stream( resource: *mut GResource, path: *const c_char, lookup_flags: GResourceLookupFlags, error: *mut *mut glib::GError, ) -> *mut GInputStream9357 pub fn g_resource_open_stream( 9358 resource: *mut GResource, 9359 path: *const c_char, 9360 lookup_flags: GResourceLookupFlags, 9361 error: *mut *mut glib::GError, 9362 ) -> *mut GInputStream; g_resource_ref(resource: *mut GResource) -> *mut GResource9363 pub fn g_resource_ref(resource: *mut GResource) -> *mut GResource; g_resource_unref(resource: *mut GResource)9364 pub fn g_resource_unref(resource: *mut GResource); g_resource_load( filename: *const c_char, error: *mut *mut glib::GError, ) -> *mut GResource9365 pub fn g_resource_load( 9366 filename: *const c_char, 9367 error: *mut *mut glib::GError, 9368 ) -> *mut GResource; 9369 9370 //========================================================================= 9371 // GSettingsSchema 9372 //========================================================================= g_settings_schema_get_type() -> GType9373 pub fn g_settings_schema_get_type() -> GType; g_settings_schema_get_id(schema: *mut GSettingsSchema) -> *const c_char9374 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 GSettingsSchemaKey9375 pub fn g_settings_schema_get_key( 9376 schema: *mut GSettingsSchema, 9377 name: *const c_char, 9378 ) -> *mut GSettingsSchemaKey; g_settings_schema_get_path(schema: *mut GSettingsSchema) -> *const c_char9379 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) -> gboolean9380 pub fn g_settings_schema_has_key(schema: *mut GSettingsSchema, name: *const c_char) 9381 -> gboolean; 9382 #[cfg(any(feature = "v2_44", feature = "dox"))] g_settings_schema_list_children(schema: *mut GSettingsSchema) -> *mut *mut c_char9383 pub fn g_settings_schema_list_children(schema: *mut GSettingsSchema) -> *mut *mut c_char; 9384 #[cfg(any(feature = "v2_46", feature = "dox"))] g_settings_schema_list_keys(schema: *mut GSettingsSchema) -> *mut *mut c_char9385 pub fn g_settings_schema_list_keys(schema: *mut GSettingsSchema) -> *mut *mut c_char; g_settings_schema_ref(schema: *mut GSettingsSchema) -> *mut GSettingsSchema9386 pub fn g_settings_schema_ref(schema: *mut GSettingsSchema) -> *mut GSettingsSchema; g_settings_schema_unref(schema: *mut GSettingsSchema)9387 pub fn g_settings_schema_unref(schema: *mut GSettingsSchema); 9388 9389 //========================================================================= 9390 // GSettingsSchemaKey 9391 //========================================================================= g_settings_schema_key_get_type() -> GType9392 pub fn g_settings_schema_key_get_type() -> GType; g_settings_schema_key_get_default_value( key: *mut GSettingsSchemaKey, ) -> *mut glib::GVariant9393 pub fn g_settings_schema_key_get_default_value( 9394 key: *mut GSettingsSchemaKey, 9395 ) -> *mut glib::GVariant; g_settings_schema_key_get_description(key: *mut GSettingsSchemaKey) -> *const c_char9396 pub fn g_settings_schema_key_get_description(key: *mut GSettingsSchemaKey) -> *const c_char; 9397 #[cfg(any(feature = "v2_44", feature = "dox"))] g_settings_schema_key_get_name(key: *mut GSettingsSchemaKey) -> *const c_char9398 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::GVariant9399 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_char9400 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::GVariantType9401 pub fn g_settings_schema_key_get_value_type( 9402 key: *mut GSettingsSchemaKey, 9403 ) -> *const glib::GVariantType; g_settings_schema_key_range_check( key: *mut GSettingsSchemaKey, value: *mut glib::GVariant, ) -> gboolean9404 pub fn g_settings_schema_key_range_check( 9405 key: *mut GSettingsSchemaKey, 9406 value: *mut glib::GVariant, 9407 ) -> gboolean; g_settings_schema_key_ref(key: *mut GSettingsSchemaKey) -> *mut GSettingsSchemaKey9408 pub fn g_settings_schema_key_ref(key: *mut GSettingsSchemaKey) -> *mut GSettingsSchemaKey; g_settings_schema_key_unref(key: *mut GSettingsSchemaKey)9409 pub fn g_settings_schema_key_unref(key: *mut GSettingsSchemaKey); 9410 9411 //========================================================================= 9412 // GSettingsSchemaSource 9413 //========================================================================= g_settings_schema_source_get_type() -> GType9414 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 GSettingsSchemaSource9415 pub fn g_settings_schema_source_new_from_directory( 9416 directory: *const c_char, 9417 parent: *mut GSettingsSchemaSource, 9418 trusted: gboolean, 9419 error: *mut *mut glib::GError, 9420 ) -> *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, )9421 pub fn g_settings_schema_source_list_schemas( 9422 source: *mut GSettingsSchemaSource, 9423 recursive: gboolean, 9424 non_relocatable: *mut *mut *mut c_char, 9425 relocatable: *mut *mut *mut c_char, 9426 ); g_settings_schema_source_lookup( source: *mut GSettingsSchemaSource, schema_id: *const c_char, recursive: gboolean, ) -> *mut GSettingsSchema9427 pub fn g_settings_schema_source_lookup( 9428 source: *mut GSettingsSchemaSource, 9429 schema_id: *const c_char, 9430 recursive: gboolean, 9431 ) -> *mut GSettingsSchema; g_settings_schema_source_ref( source: *mut GSettingsSchemaSource, ) -> *mut GSettingsSchemaSource9432 pub fn g_settings_schema_source_ref( 9433 source: *mut GSettingsSchemaSource, 9434 ) -> *mut GSettingsSchemaSource; g_settings_schema_source_unref(source: *mut GSettingsSchemaSource)9435 pub fn g_settings_schema_source_unref(source: *mut GSettingsSchemaSource); g_settings_schema_source_get_default() -> *mut GSettingsSchemaSource9436 pub fn g_settings_schema_source_get_default() -> *mut GSettingsSchemaSource; 9437 9438 //========================================================================= 9439 // GSrvTarget 9440 //========================================================================= g_srv_target_get_type() -> GType9441 pub fn g_srv_target_get_type() -> GType; g_srv_target_new( hostname: *const c_char, port: u16, priority: u16, weight: u16, ) -> *mut GSrvTarget9442 pub fn g_srv_target_new( 9443 hostname: *const c_char, 9444 port: u16, 9445 priority: u16, 9446 weight: u16, 9447 ) -> *mut GSrvTarget; g_srv_target_copy(target: *mut GSrvTarget) -> *mut GSrvTarget9448 pub fn g_srv_target_copy(target: *mut GSrvTarget) -> *mut GSrvTarget; g_srv_target_free(target: *mut GSrvTarget)9449 pub fn g_srv_target_free(target: *mut GSrvTarget); g_srv_target_get_hostname(target: *mut GSrvTarget) -> *const c_char9450 pub fn g_srv_target_get_hostname(target: *mut GSrvTarget) -> *const c_char; g_srv_target_get_port(target: *mut GSrvTarget) -> u169451 pub fn g_srv_target_get_port(target: *mut GSrvTarget) -> u16; g_srv_target_get_priority(target: *mut GSrvTarget) -> u169452 pub fn g_srv_target_get_priority(target: *mut GSrvTarget) -> u16; g_srv_target_get_weight(target: *mut GSrvTarget) -> u169453 pub fn g_srv_target_get_weight(target: *mut GSrvTarget) -> u16; g_srv_target_list_sort(targets: *mut glib::GList) -> *mut glib::GList9454 pub fn g_srv_target_list_sort(targets: *mut glib::GList) -> *mut glib::GList; 9455 9456 //========================================================================= 9457 // GStaticResource 9458 //========================================================================= g_static_resource_fini(static_resource: *mut GStaticResource)9459 pub fn g_static_resource_fini(static_resource: *mut GStaticResource); g_static_resource_get_resource(static_resource: *mut GStaticResource) -> *mut GResource9460 pub fn g_static_resource_get_resource(static_resource: *mut GStaticResource) -> *mut GResource; g_static_resource_init(static_resource: *mut GStaticResource)9461 pub fn g_static_resource_init(static_resource: *mut GStaticResource); 9462 9463 //========================================================================= 9464 // GUnixMountEntry 9465 //========================================================================= g_unix_mount_entry_get_type() -> GType9466 pub fn g_unix_mount_entry_get_type() -> GType; 9467 9468 //========================================================================= 9469 // GUnixMountPoint 9470 //========================================================================= g_unix_mount_point_get_type() -> GType9471 pub fn g_unix_mount_point_get_type() -> GType; g_unix_mount_point_compare( mount1: *mut GUnixMountPoint, mount2: *mut GUnixMountPoint, ) -> c_int9472 pub fn g_unix_mount_point_compare( 9473 mount1: *mut GUnixMountPoint, 9474 mount2: *mut GUnixMountPoint, 9475 ) -> c_int; 9476 #[cfg(any(feature = "v2_54", feature = "dox"))] g_unix_mount_point_copy(mount_point: *mut GUnixMountPoint) -> *mut GUnixMountPoint9477 pub fn g_unix_mount_point_copy(mount_point: *mut GUnixMountPoint) -> *mut GUnixMountPoint; g_unix_mount_point_free(mount_point: *mut GUnixMountPoint)9478 pub fn g_unix_mount_point_free(mount_point: *mut GUnixMountPoint); g_unix_mount_point_get_device_path(mount_point: *mut GUnixMountPoint) -> *const c_char9479 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_char9480 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_char9481 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_char9482 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) -> gboolean9483 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 GIcon9484 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_char9485 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 GIcon9486 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) -> gboolean9487 pub fn g_unix_mount_point_is_loopback(mount_point: *mut GUnixMountPoint) -> gboolean; g_unix_mount_point_is_readonly(mount_point: *mut GUnixMountPoint) -> gboolean9488 pub fn g_unix_mount_point_is_readonly(mount_point: *mut GUnixMountPoint) -> gboolean; g_unix_mount_point_is_user_mountable(mount_point: *mut GUnixMountPoint) -> gboolean9489 pub fn g_unix_mount_point_is_user_mountable(mount_point: *mut GUnixMountPoint) -> gboolean; 9490 9491 //========================================================================= 9492 // GAppInfoMonitor 9493 //========================================================================= g_app_info_monitor_get_type() -> GType9494 pub fn g_app_info_monitor_get_type() -> GType; g_app_info_monitor_get() -> *mut GAppInfoMonitor9495 pub fn g_app_info_monitor_get() -> *mut GAppInfoMonitor; 9496 9497 //========================================================================= 9498 // GAppLaunchContext 9499 //========================================================================= g_app_launch_context_get_type() -> GType9500 pub fn g_app_launch_context_get_type() -> GType; g_app_launch_context_new() -> *mut GAppLaunchContext9501 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_char9502 pub fn g_app_launch_context_get_display( 9503 context: *mut GAppLaunchContext, 9504 info: *mut GAppInfo, 9505 files: *mut glib::GList, 9506 ) -> *mut c_char; g_app_launch_context_get_environment( context: *mut GAppLaunchContext, ) -> *mut *mut c_char9507 pub fn g_app_launch_context_get_environment( 9508 context: *mut GAppLaunchContext, 9509 ) -> *mut *mut c_char; g_app_launch_context_get_startup_notify_id( context: *mut GAppLaunchContext, info: *mut GAppInfo, files: *mut glib::GList, ) -> *mut c_char9510 pub fn g_app_launch_context_get_startup_notify_id( 9511 context: *mut GAppLaunchContext, 9512 info: *mut GAppInfo, 9513 files: *mut glib::GList, 9514 ) -> *mut c_char; g_app_launch_context_launch_failed( context: *mut GAppLaunchContext, startup_notify_id: *const c_char, )9515 pub fn g_app_launch_context_launch_failed( 9516 context: *mut GAppLaunchContext, 9517 startup_notify_id: *const c_char, 9518 ); g_app_launch_context_setenv( context: *mut GAppLaunchContext, variable: *const c_char, value: *const c_char, )9519 pub fn g_app_launch_context_setenv( 9520 context: *mut GAppLaunchContext, 9521 variable: *const c_char, 9522 value: *const c_char, 9523 ); g_app_launch_context_unsetenv(context: *mut GAppLaunchContext, variable: *const c_char)9524 pub fn g_app_launch_context_unsetenv(context: *mut GAppLaunchContext, variable: *const c_char); 9525 9526 //========================================================================= 9527 // GApplication 9528 //========================================================================= g_application_get_type() -> GType9529 pub fn g_application_get_type() -> GType; g_application_new( application_id: *const c_char, flags: GApplicationFlags, ) -> *mut GApplication9530 pub fn g_application_new( 9531 application_id: *const c_char, 9532 flags: GApplicationFlags, 9533 ) -> *mut GApplication; g_application_get_default() -> *mut GApplication9534 pub fn g_application_get_default() -> *mut GApplication; g_application_id_is_valid(application_id: *const c_char) -> gboolean9535 pub fn g_application_id_is_valid(application_id: *const c_char) -> gboolean; g_application_activate(application: *mut GApplication)9536 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, )9537 pub fn g_application_add_main_option( 9538 application: *mut GApplication, 9539 long_name: *const c_char, 9540 short_name: c_char, 9541 flags: glib::GOptionFlags, 9542 arg: glib::GOptionArg, 9543 description: *const c_char, 9544 arg_description: *const c_char, 9545 ); g_application_add_main_option_entries( application: *mut GApplication, entries: *const glib::GOptionEntry, )9546 pub fn g_application_add_main_option_entries( 9547 application: *mut GApplication, 9548 entries: *const glib::GOptionEntry, 9549 ); g_application_add_option_group( application: *mut GApplication, group: *mut glib::GOptionGroup, )9550 pub fn g_application_add_option_group( 9551 application: *mut GApplication, 9552 group: *mut glib::GOptionGroup, 9553 ); 9554 #[cfg(any(feature = "v2_44", feature = "dox"))] g_application_bind_busy_property( application: *mut GApplication, object: *mut gobject::GObject, property: *const c_char, )9555 pub fn g_application_bind_busy_property( 9556 application: *mut GApplication, 9557 object: *mut gobject::GObject, 9558 property: *const c_char, 9559 ); g_application_get_application_id(application: *mut GApplication) -> *const c_char9560 pub fn g_application_get_application_id(application: *mut GApplication) -> *const c_char; g_application_get_dbus_connection( application: *mut GApplication, ) -> *mut GDBusConnection9561 pub fn g_application_get_dbus_connection( 9562 application: *mut GApplication, 9563 ) -> *mut GDBusConnection; g_application_get_dbus_object_path(application: *mut GApplication) -> *const c_char9564 pub fn g_application_get_dbus_object_path(application: *mut GApplication) -> *const c_char; g_application_get_flags(application: *mut GApplication) -> GApplicationFlags9565 pub fn g_application_get_flags(application: *mut GApplication) -> GApplicationFlags; g_application_get_inactivity_timeout(application: *mut GApplication) -> c_uint9566 pub fn g_application_get_inactivity_timeout(application: *mut GApplication) -> c_uint; 9567 #[cfg(any(feature = "v2_44", feature = "dox"))] g_application_get_is_busy(application: *mut GApplication) -> gboolean9568 pub fn g_application_get_is_busy(application: *mut GApplication) -> gboolean; g_application_get_is_registered(application: *mut GApplication) -> gboolean9569 pub fn g_application_get_is_registered(application: *mut GApplication) -> gboolean; g_application_get_is_remote(application: *mut GApplication) -> gboolean9570 pub fn g_application_get_is_remote(application: *mut GApplication) -> gboolean; g_application_get_resource_base_path(application: *mut GApplication) -> *const c_char9571 pub fn g_application_get_resource_base_path(application: *mut GApplication) -> *const c_char; g_application_hold(application: *mut GApplication)9572 pub fn g_application_hold(application: *mut GApplication); g_application_mark_busy(application: *mut GApplication)9573 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, )9574 pub fn g_application_open( 9575 application: *mut GApplication, 9576 files: *mut *mut GFile, 9577 n_files: c_int, 9578 hint: *const c_char, 9579 ); g_application_quit(application: *mut GApplication)9580 pub fn g_application_quit(application: *mut GApplication); g_application_register( application: *mut GApplication, cancellable: *mut GCancellable, error: *mut *mut glib::GError, ) -> gboolean9581 pub fn g_application_register( 9582 application: *mut GApplication, 9583 cancellable: *mut GCancellable, 9584 error: *mut *mut glib::GError, 9585 ) -> gboolean; g_application_release(application: *mut GApplication)9586 pub fn g_application_release(application: *mut GApplication); g_application_run( application: *mut GApplication, argc: c_int, argv: *mut *mut c_char, ) -> c_int9587 pub fn g_application_run( 9588 application: *mut GApplication, 9589 argc: c_int, 9590 argv: *mut *mut c_char, 9591 ) -> c_int; g_application_send_notification( application: *mut GApplication, id: *const c_char, notification: *mut GNotification, )9592 pub fn g_application_send_notification( 9593 application: *mut GApplication, 9594 id: *const c_char, 9595 notification: *mut GNotification, 9596 ); g_application_set_action_group( application: *mut GApplication, action_group: *mut GActionGroup, )9597 pub fn g_application_set_action_group( 9598 application: *mut GApplication, 9599 action_group: *mut GActionGroup, 9600 ); g_application_set_application_id( application: *mut GApplication, application_id: *const c_char, )9601 pub fn g_application_set_application_id( 9602 application: *mut GApplication, 9603 application_id: *const c_char, 9604 ); g_application_set_default(application: *mut GApplication)9605 pub fn g_application_set_default(application: *mut GApplication); g_application_set_flags(application: *mut GApplication, flags: GApplicationFlags)9606 pub fn g_application_set_flags(application: *mut GApplication, flags: GApplicationFlags); g_application_set_inactivity_timeout( application: *mut GApplication, inactivity_timeout: c_uint, )9607 pub fn g_application_set_inactivity_timeout( 9608 application: *mut GApplication, 9609 inactivity_timeout: c_uint, 9610 ); 9611 #[cfg(any(feature = "v2_56", feature = "dox"))] g_application_set_option_context_description( application: *mut GApplication, description: *const c_char, )9612 pub fn g_application_set_option_context_description( 9613 application: *mut GApplication, 9614 description: *const c_char, 9615 ); 9616 #[cfg(any(feature = "v2_56", feature = "dox"))] g_application_set_option_context_parameter_string( application: *mut GApplication, parameter_string: *const c_char, )9617 pub fn g_application_set_option_context_parameter_string( 9618 application: *mut GApplication, 9619 parameter_string: *const c_char, 9620 ); 9621 #[cfg(any(feature = "v2_56", feature = "dox"))] g_application_set_option_context_summary( application: *mut GApplication, summary: *const c_char, )9622 pub fn g_application_set_option_context_summary( 9623 application: *mut GApplication, 9624 summary: *const c_char, 9625 ); g_application_set_resource_base_path( application: *mut GApplication, resource_path: *const c_char, )9626 pub fn g_application_set_resource_base_path( 9627 application: *mut GApplication, 9628 resource_path: *const c_char, 9629 ); 9630 #[cfg(any(feature = "v2_44", feature = "dox"))] g_application_unbind_busy_property( application: *mut GApplication, object: *mut gobject::GObject, property: *const c_char, )9631 pub fn g_application_unbind_busy_property( 9632 application: *mut GApplication, 9633 object: *mut gobject::GObject, 9634 property: *const c_char, 9635 ); g_application_unmark_busy(application: *mut GApplication)9636 pub fn g_application_unmark_busy(application: *mut GApplication); g_application_withdraw_notification(application: *mut GApplication, id: *const c_char)9637 pub fn g_application_withdraw_notification(application: *mut GApplication, id: *const c_char); 9638 9639 //========================================================================= 9640 // GApplicationCommandLine 9641 //========================================================================= g_application_command_line_get_type() -> GType9642 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 GFile9643 pub fn g_application_command_line_create_file_for_arg( 9644 cmdline: *mut GApplicationCommandLine, 9645 arg: *const c_char, 9646 ) -> *mut GFile; g_application_command_line_get_arguments( cmdline: *mut GApplicationCommandLine, argc: *mut c_int, ) -> *mut *mut c_char9647 pub fn g_application_command_line_get_arguments( 9648 cmdline: *mut GApplicationCommandLine, 9649 argc: *mut c_int, 9650 ) -> *mut *mut c_char; g_application_command_line_get_cwd( cmdline: *mut GApplicationCommandLine, ) -> *const c_char9651 pub fn g_application_command_line_get_cwd( 9652 cmdline: *mut GApplicationCommandLine, 9653 ) -> *const c_char; g_application_command_line_get_environ( cmdline: *mut GApplicationCommandLine, ) -> *const *const c_char9654 pub fn g_application_command_line_get_environ( 9655 cmdline: *mut GApplicationCommandLine, 9656 ) -> *const *const c_char; g_application_command_line_get_exit_status( cmdline: *mut GApplicationCommandLine, ) -> c_int9657 pub fn g_application_command_line_get_exit_status( 9658 cmdline: *mut GApplicationCommandLine, 9659 ) -> c_int; g_application_command_line_get_is_remote( cmdline: *mut GApplicationCommandLine, ) -> gboolean9660 pub fn g_application_command_line_get_is_remote( 9661 cmdline: *mut GApplicationCommandLine, 9662 ) -> gboolean; g_application_command_line_get_options_dict( cmdline: *mut GApplicationCommandLine, ) -> *mut glib::GVariantDict9663 pub fn g_application_command_line_get_options_dict( 9664 cmdline: *mut GApplicationCommandLine, 9665 ) -> *mut glib::GVariantDict; g_application_command_line_get_platform_data( cmdline: *mut GApplicationCommandLine, ) -> *mut glib::GVariant9666 pub fn g_application_command_line_get_platform_data( 9667 cmdline: *mut GApplicationCommandLine, 9668 ) -> *mut glib::GVariant; g_application_command_line_get_stdin( cmdline: *mut GApplicationCommandLine, ) -> *mut GInputStream9669 pub fn g_application_command_line_get_stdin( 9670 cmdline: *mut GApplicationCommandLine, 9671 ) -> *mut GInputStream; g_application_command_line_getenv( cmdline: *mut GApplicationCommandLine, name: *const c_char, ) -> *const c_char9672 pub fn g_application_command_line_getenv( 9673 cmdline: *mut GApplicationCommandLine, 9674 name: *const c_char, 9675 ) -> *const c_char; g_application_command_line_print( cmdline: *mut GApplicationCommandLine, format: *const c_char, ... )9676 pub fn g_application_command_line_print( 9677 cmdline: *mut GApplicationCommandLine, 9678 format: *const c_char, 9679 ... 9680 ); g_application_command_line_printerr( cmdline: *mut GApplicationCommandLine, format: *const c_char, ... )9681 pub fn g_application_command_line_printerr( 9682 cmdline: *mut GApplicationCommandLine, 9683 format: *const c_char, 9684 ... 9685 ); g_application_command_line_set_exit_status( cmdline: *mut GApplicationCommandLine, exit_status: c_int, )9686 pub fn g_application_command_line_set_exit_status( 9687 cmdline: *mut GApplicationCommandLine, 9688 exit_status: c_int, 9689 ); 9690 9691 //========================================================================= 9692 // GBufferedInputStream 9693 //========================================================================= g_buffered_input_stream_get_type() -> GType9694 pub fn g_buffered_input_stream_get_type() -> GType; g_buffered_input_stream_new(base_stream: *mut GInputStream) -> *mut GInputStream9695 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 GInputStream9696 pub fn g_buffered_input_stream_new_sized( 9697 base_stream: *mut GInputStream, 9698 size: size_t, 9699 ) -> *mut GInputStream; g_buffered_input_stream_fill( stream: *mut GBufferedInputStream, count: ssize_t, cancellable: *mut GCancellable, error: *mut *mut glib::GError, ) -> ssize_t9700 pub fn g_buffered_input_stream_fill( 9701 stream: *mut GBufferedInputStream, 9702 count: ssize_t, 9703 cancellable: *mut GCancellable, 9704 error: *mut *mut glib::GError, 9705 ) -> 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, )9706 pub fn g_buffered_input_stream_fill_async( 9707 stream: *mut GBufferedInputStream, 9708 count: ssize_t, 9709 io_priority: c_int, 9710 cancellable: *mut GCancellable, 9711 callback: GAsyncReadyCallback, 9712 user_data: gpointer, 9713 ); g_buffered_input_stream_fill_finish( stream: *mut GBufferedInputStream, result: *mut GAsyncResult, error: *mut *mut glib::GError, ) -> ssize_t9714 pub fn g_buffered_input_stream_fill_finish( 9715 stream: *mut GBufferedInputStream, 9716 result: *mut GAsyncResult, 9717 error: *mut *mut glib::GError, 9718 ) -> ssize_t; g_buffered_input_stream_get_available(stream: *mut GBufferedInputStream) -> size_t9719 pub fn g_buffered_input_stream_get_available(stream: *mut GBufferedInputStream) -> size_t; g_buffered_input_stream_get_buffer_size(stream: *mut GBufferedInputStream) -> size_t9720 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_t9721 pub fn g_buffered_input_stream_peek( 9722 stream: *mut GBufferedInputStream, 9723 buffer: *mut u8, 9724 offset: size_t, 9725 count: size_t, 9726 ) -> size_t; g_buffered_input_stream_peek_buffer( stream: *mut GBufferedInputStream, count: *mut size_t, ) -> *mut u89727 pub fn g_buffered_input_stream_peek_buffer( 9728 stream: *mut GBufferedInputStream, 9729 count: *mut size_t, 9730 ) -> *mut u8; g_buffered_input_stream_read_byte( stream: *mut GBufferedInputStream, cancellable: *mut GCancellable, error: *mut *mut glib::GError, ) -> c_int9731 pub fn g_buffered_input_stream_read_byte( 9732 stream: *mut GBufferedInputStream, 9733 cancellable: *mut GCancellable, 9734 error: *mut *mut glib::GError, 9735 ) -> c_int; g_buffered_input_stream_set_buffer_size(stream: *mut GBufferedInputStream, size: size_t)9736 pub fn g_buffered_input_stream_set_buffer_size(stream: *mut GBufferedInputStream, size: size_t); 9737 9738 //========================================================================= 9739 // GBufferedOutputStream 9740 //========================================================================= g_buffered_output_stream_get_type() -> GType9741 pub fn g_buffered_output_stream_get_type() -> GType; g_buffered_output_stream_new(base_stream: *mut GOutputStream) -> *mut GOutputStream9742 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 GOutputStream9743 pub fn g_buffered_output_stream_new_sized( 9744 base_stream: *mut GOutputStream, 9745 size: size_t, 9746 ) -> *mut GOutputStream; g_buffered_output_stream_get_auto_grow(stream: *mut GBufferedOutputStream) -> gboolean9747 pub fn g_buffered_output_stream_get_auto_grow(stream: *mut GBufferedOutputStream) -> gboolean; g_buffered_output_stream_get_buffer_size(stream: *mut GBufferedOutputStream) -> size_t9748 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, )9749 pub fn g_buffered_output_stream_set_auto_grow( 9750 stream: *mut GBufferedOutputStream, 9751 auto_grow: gboolean, 9752 ); g_buffered_output_stream_set_buffer_size( stream: *mut GBufferedOutputStream, size: size_t, )9753 pub fn g_buffered_output_stream_set_buffer_size( 9754 stream: *mut GBufferedOutputStream, 9755 size: size_t, 9756 ); 9757 9758 //========================================================================= 9759 // GBytesIcon 9760 //========================================================================= g_bytes_icon_get_type() -> GType9761 pub fn g_bytes_icon_get_type() -> GType; g_bytes_icon_new(bytes: *mut glib::GBytes) -> *mut GBytesIcon9762 pub fn g_bytes_icon_new(bytes: *mut glib::GBytes) -> *mut GBytesIcon; g_bytes_icon_get_bytes(icon: *mut GBytesIcon) -> *mut glib::GBytes9763 pub fn g_bytes_icon_get_bytes(icon: *mut GBytesIcon) -> *mut glib::GBytes; 9764 9765 //========================================================================= 9766 // GCancellable 9767 //========================================================================= g_cancellable_get_type() -> GType9768 pub fn g_cancellable_get_type() -> GType; g_cancellable_new() -> *mut GCancellable9769 pub fn g_cancellable_new() -> *mut GCancellable; g_cancellable_get_current() -> *mut GCancellable9770 pub fn g_cancellable_get_current() -> *mut GCancellable; g_cancellable_cancel(cancellable: *mut GCancellable)9771 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_ulong9772 pub fn g_cancellable_connect( 9773 cancellable: *mut GCancellable, 9774 callback: gobject::GCallback, 9775 data: gpointer, 9776 data_destroy_func: glib::GDestroyNotify, 9777 ) -> c_ulong; g_cancellable_disconnect(cancellable: *mut GCancellable, handler_id: c_ulong)9778 pub fn g_cancellable_disconnect(cancellable: *mut GCancellable, handler_id: c_ulong); g_cancellable_get_fd(cancellable: *mut GCancellable) -> c_int9779 pub fn g_cancellable_get_fd(cancellable: *mut GCancellable) -> c_int; g_cancellable_is_cancelled(cancellable: *mut GCancellable) -> gboolean9780 pub fn g_cancellable_is_cancelled(cancellable: *mut GCancellable) -> gboolean; g_cancellable_make_pollfd( cancellable: *mut GCancellable, pollfd: *mut glib::GPollFD, ) -> gboolean9781 pub fn g_cancellable_make_pollfd( 9782 cancellable: *mut GCancellable, 9783 pollfd: *mut glib::GPollFD, 9784 ) -> gboolean; g_cancellable_pop_current(cancellable: *mut GCancellable)9785 pub fn g_cancellable_pop_current(cancellable: *mut GCancellable); g_cancellable_push_current(cancellable: *mut GCancellable)9786 pub fn g_cancellable_push_current(cancellable: *mut GCancellable); g_cancellable_release_fd(cancellable: *mut GCancellable)9787 pub fn g_cancellable_release_fd(cancellable: *mut GCancellable); g_cancellable_reset(cancellable: *mut GCancellable)9788 pub fn g_cancellable_reset(cancellable: *mut GCancellable); g_cancellable_set_error_if_cancelled( cancellable: *mut GCancellable, error: *mut *mut glib::GError, ) -> gboolean9789 pub fn g_cancellable_set_error_if_cancelled( 9790 cancellable: *mut GCancellable, 9791 error: *mut *mut glib::GError, 9792 ) -> gboolean; g_cancellable_source_new(cancellable: *mut GCancellable) -> *mut glib::GSource9793 pub fn g_cancellable_source_new(cancellable: *mut GCancellable) -> *mut glib::GSource; 9794 9795 //========================================================================= 9796 // GCharsetConverter 9797 //========================================================================= g_charset_converter_get_type() -> GType9798 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 GCharsetConverter9799 pub fn g_charset_converter_new( 9800 to_charset: *const c_char, 9801 from_charset: *const c_char, 9802 error: *mut *mut glib::GError, 9803 ) -> *mut GCharsetConverter; g_charset_converter_get_num_fallbacks(converter: *mut GCharsetConverter) -> c_uint9804 pub fn g_charset_converter_get_num_fallbacks(converter: *mut GCharsetConverter) -> c_uint; g_charset_converter_get_use_fallback(converter: *mut GCharsetConverter) -> gboolean9805 pub fn g_charset_converter_get_use_fallback(converter: *mut GCharsetConverter) -> gboolean; g_charset_converter_set_use_fallback( converter: *mut GCharsetConverter, use_fallback: gboolean, )9806 pub fn g_charset_converter_set_use_fallback( 9807 converter: *mut GCharsetConverter, 9808 use_fallback: gboolean, 9809 ); 9810 9811 //========================================================================= 9812 // GConverterInputStream 9813 //========================================================================= g_converter_input_stream_get_type() -> GType9814 pub fn g_converter_input_stream_get_type() -> GType; g_converter_input_stream_new( base_stream: *mut GInputStream, converter: *mut GConverter, ) -> *mut GInputStream9815 pub fn g_converter_input_stream_new( 9816 base_stream: *mut GInputStream, 9817 converter: *mut GConverter, 9818 ) -> *mut GInputStream; g_converter_input_stream_get_converter( converter_stream: *mut GConverterInputStream, ) -> *mut GConverter9819 pub fn g_converter_input_stream_get_converter( 9820 converter_stream: *mut GConverterInputStream, 9821 ) -> *mut GConverter; 9822 9823 //========================================================================= 9824 // GConverterOutputStream 9825 //========================================================================= g_converter_output_stream_get_type() -> GType9826 pub fn g_converter_output_stream_get_type() -> GType; g_converter_output_stream_new( base_stream: *mut GOutputStream, converter: *mut GConverter, ) -> *mut GOutputStream9827 pub fn g_converter_output_stream_new( 9828 base_stream: *mut GOutputStream, 9829 converter: *mut GConverter, 9830 ) -> *mut GOutputStream; g_converter_output_stream_get_converter( converter_stream: *mut GConverterOutputStream, ) -> *mut GConverter9831 pub fn g_converter_output_stream_get_converter( 9832 converter_stream: *mut GConverterOutputStream, 9833 ) -> *mut GConverter; 9834 9835 //========================================================================= 9836 // GCredentials 9837 //========================================================================= g_credentials_get_type() -> GType9838 pub fn g_credentials_get_type() -> GType; g_credentials_new() -> *mut GCredentials9839 pub fn g_credentials_new() -> *mut GCredentials; g_credentials_get_native( credentials: *mut GCredentials, native_type: GCredentialsType, ) -> gpointer9840 pub fn g_credentials_get_native( 9841 credentials: *mut GCredentials, 9842 native_type: GCredentialsType, 9843 ) -> gpointer; g_credentials_get_unix_pid( credentials: *mut GCredentials, error: *mut *mut glib::GError, ) -> c_int9844 pub fn g_credentials_get_unix_pid( 9845 credentials: *mut GCredentials, 9846 error: *mut *mut glib::GError, 9847 ) -> c_int; g_credentials_get_unix_user( credentials: *mut GCredentials, error: *mut *mut glib::GError, ) -> c_uint9848 pub fn g_credentials_get_unix_user( 9849 credentials: *mut GCredentials, 9850 error: *mut *mut glib::GError, 9851 ) -> c_uint; g_credentials_is_same_user( credentials: *mut GCredentials, other_credentials: *mut GCredentials, error: *mut *mut glib::GError, ) -> gboolean9852 pub fn g_credentials_is_same_user( 9853 credentials: *mut GCredentials, 9854 other_credentials: *mut GCredentials, 9855 error: *mut *mut glib::GError, 9856 ) -> gboolean; g_credentials_set_native( credentials: *mut GCredentials, native_type: GCredentialsType, native: gpointer, )9857 pub fn g_credentials_set_native( 9858 credentials: *mut GCredentials, 9859 native_type: GCredentialsType, 9860 native: gpointer, 9861 ); g_credentials_set_unix_user( credentials: *mut GCredentials, uid: c_uint, error: *mut *mut glib::GError, ) -> gboolean9862 pub fn g_credentials_set_unix_user( 9863 credentials: *mut GCredentials, 9864 uid: c_uint, 9865 error: *mut *mut glib::GError, 9866 ) -> gboolean; g_credentials_to_string(credentials: *mut GCredentials) -> *mut c_char9867 pub fn g_credentials_to_string(credentials: *mut GCredentials) -> *mut c_char; 9868 9869 //========================================================================= 9870 // GDBusActionGroup 9871 //========================================================================= g_dbus_action_group_get_type() -> GType9872 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 GDBusActionGroup9873 pub fn g_dbus_action_group_get( 9874 connection: *mut GDBusConnection, 9875 bus_name: *const c_char, 9876 object_path: *const c_char, 9877 ) -> *mut GDBusActionGroup; 9878 9879 //========================================================================= 9880 // GDBusAuthObserver 9881 //========================================================================= g_dbus_auth_observer_get_type() -> GType9882 pub fn g_dbus_auth_observer_get_type() -> GType; g_dbus_auth_observer_new() -> *mut GDBusAuthObserver9883 pub fn g_dbus_auth_observer_new() -> *mut GDBusAuthObserver; g_dbus_auth_observer_allow_mechanism( observer: *mut GDBusAuthObserver, mechanism: *const c_char, ) -> gboolean9884 pub fn g_dbus_auth_observer_allow_mechanism( 9885 observer: *mut GDBusAuthObserver, 9886 mechanism: *const c_char, 9887 ) -> gboolean; g_dbus_auth_observer_authorize_authenticated_peer( observer: *mut GDBusAuthObserver, stream: *mut GIOStream, credentials: *mut GCredentials, ) -> gboolean9888 pub fn g_dbus_auth_observer_authorize_authenticated_peer( 9889 observer: *mut GDBusAuthObserver, 9890 stream: *mut GIOStream, 9891 credentials: *mut GCredentials, 9892 ) -> gboolean; 9893 9894 //========================================================================= 9895 // GDBusConnection 9896 //========================================================================= g_dbus_connection_get_type() -> GType9897 pub fn g_dbus_connection_get_type() -> GType; g_dbus_connection_new_finish( res: *mut GAsyncResult, error: *mut *mut glib::GError, ) -> *mut GDBusConnection9898 pub fn g_dbus_connection_new_finish( 9899 res: *mut GAsyncResult, 9900 error: *mut *mut glib::GError, 9901 ) -> *mut GDBusConnection; g_dbus_connection_new_for_address_finish( res: *mut GAsyncResult, error: *mut *mut glib::GError, ) -> *mut GDBusConnection9902 pub fn g_dbus_connection_new_for_address_finish( 9903 res: *mut GAsyncResult, 9904 error: *mut *mut glib::GError, 9905 ) -> *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 GDBusConnection9906 pub fn g_dbus_connection_new_for_address_sync( 9907 address: *const c_char, 9908 flags: GDBusConnectionFlags, 9909 observer: *mut GDBusAuthObserver, 9910 cancellable: *mut GCancellable, 9911 error: *mut *mut glib::GError, 9912 ) -> *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 GDBusConnection9913 pub fn g_dbus_connection_new_sync( 9914 stream: *mut GIOStream, 9915 guid: *const c_char, 9916 flags: GDBusConnectionFlags, 9917 observer: *mut GDBusAuthObserver, 9918 cancellable: *mut GCancellable, 9919 error: *mut *mut glib::GError, 9920 ) -> *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, )9921 pub fn g_dbus_connection_new( 9922 stream: *mut GIOStream, 9923 guid: *const c_char, 9924 flags: GDBusConnectionFlags, 9925 observer: *mut GDBusAuthObserver, 9926 cancellable: *mut GCancellable, 9927 callback: GAsyncReadyCallback, 9928 user_data: gpointer, 9929 ); g_dbus_connection_new_for_address( address: *const c_char, flags: GDBusConnectionFlags, observer: *mut GDBusAuthObserver, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer, )9930 pub fn g_dbus_connection_new_for_address( 9931 address: *const c_char, 9932 flags: GDBusConnectionFlags, 9933 observer: *mut GDBusAuthObserver, 9934 cancellable: *mut GCancellable, 9935 callback: GAsyncReadyCallback, 9936 user_data: gpointer, 9937 ); g_dbus_connection_add_filter( connection: *mut GDBusConnection, filter_function: GDBusMessageFilterFunction, user_data: gpointer, user_data_free_func: glib::GDestroyNotify, ) -> c_uint9938 pub fn g_dbus_connection_add_filter( 9939 connection: *mut GDBusConnection, 9940 filter_function: GDBusMessageFilterFunction, 9941 user_data: gpointer, 9942 user_data_free_func: glib::GDestroyNotify, 9943 ) -> 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, )9944 pub fn g_dbus_connection_call( 9945 connection: *mut GDBusConnection, 9946 bus_name: *const c_char, 9947 object_path: *const c_char, 9948 interface_name: *const c_char, 9949 method_name: *const c_char, 9950 parameters: *mut glib::GVariant, 9951 reply_type: *const glib::GVariantType, 9952 flags: GDBusCallFlags, 9953 timeout_msec: c_int, 9954 cancellable: *mut GCancellable, 9955 callback: GAsyncReadyCallback, 9956 user_data: gpointer, 9957 ); g_dbus_connection_call_finish( connection: *mut GDBusConnection, res: *mut GAsyncResult, error: *mut *mut glib::GError, ) -> *mut glib::GVariant9958 pub fn g_dbus_connection_call_finish( 9959 connection: *mut GDBusConnection, 9960 res: *mut GAsyncResult, 9961 error: *mut *mut glib::GError, 9962 ) -> *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::GVariant9963 pub fn g_dbus_connection_call_sync( 9964 connection: *mut GDBusConnection, 9965 bus_name: *const c_char, 9966 object_path: *const c_char, 9967 interface_name: *const c_char, 9968 method_name: *const c_char, 9969 parameters: *mut glib::GVariant, 9970 reply_type: *const glib::GVariantType, 9971 flags: GDBusCallFlags, 9972 timeout_msec: c_int, 9973 cancellable: *mut GCancellable, 9974 error: *mut *mut glib::GError, 9975 ) -> *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, )9976 pub fn g_dbus_connection_call_with_unix_fd_list( 9977 connection: *mut GDBusConnection, 9978 bus_name: *const c_char, 9979 object_path: *const c_char, 9980 interface_name: *const c_char, 9981 method_name: *const c_char, 9982 parameters: *mut glib::GVariant, 9983 reply_type: *const glib::GVariantType, 9984 flags: GDBusCallFlags, 9985 timeout_msec: c_int, 9986 fd_list: *mut GUnixFDList, 9987 cancellable: *mut GCancellable, 9988 callback: GAsyncReadyCallback, 9989 user_data: gpointer, 9990 ); 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::GVariant9991 pub fn g_dbus_connection_call_with_unix_fd_list_finish( 9992 connection: *mut GDBusConnection, 9993 out_fd_list: *mut *mut GUnixFDList, 9994 res: *mut GAsyncResult, 9995 error: *mut *mut glib::GError, 9996 ) -> *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::GVariant9997 pub fn g_dbus_connection_call_with_unix_fd_list_sync( 9998 connection: *mut GDBusConnection, 9999 bus_name: *const c_char, 10000 object_path: *const c_char, 10001 interface_name: *const c_char, 10002 method_name: *const c_char, 10003 parameters: *mut glib::GVariant, 10004 reply_type: *const glib::GVariantType, 10005 flags: GDBusCallFlags, 10006 timeout_msec: c_int, 10007 fd_list: *mut GUnixFDList, 10008 out_fd_list: *mut *mut GUnixFDList, 10009 cancellable: *mut GCancellable, 10010 error: *mut *mut glib::GError, 10011 ) -> *mut glib::GVariant; g_dbus_connection_close( connection: *mut GDBusConnection, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer, )10012 pub fn g_dbus_connection_close( 10013 connection: *mut GDBusConnection, 10014 cancellable: *mut GCancellable, 10015 callback: GAsyncReadyCallback, 10016 user_data: gpointer, 10017 ); g_dbus_connection_close_finish( connection: *mut GDBusConnection, res: *mut GAsyncResult, error: *mut *mut glib::GError, ) -> gboolean10018 pub fn g_dbus_connection_close_finish( 10019 connection: *mut GDBusConnection, 10020 res: *mut GAsyncResult, 10021 error: *mut *mut glib::GError, 10022 ) -> gboolean; g_dbus_connection_close_sync( connection: *mut GDBusConnection, cancellable: *mut GCancellable, error: *mut *mut glib::GError, ) -> gboolean10023 pub fn g_dbus_connection_close_sync( 10024 connection: *mut GDBusConnection, 10025 cancellable: *mut GCancellable, 10026 error: *mut *mut glib::GError, 10027 ) -> 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, ) -> gboolean10028 pub fn g_dbus_connection_emit_signal( 10029 connection: *mut GDBusConnection, 10030 destination_bus_name: *const c_char, 10031 object_path: *const c_char, 10032 interface_name: *const c_char, 10033 signal_name: *const c_char, 10034 parameters: *mut glib::GVariant, 10035 error: *mut *mut glib::GError, 10036 ) -> 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_uint10037 pub fn g_dbus_connection_export_action_group( 10038 connection: *mut GDBusConnection, 10039 object_path: *const c_char, 10040 action_group: *mut GActionGroup, 10041 error: *mut *mut glib::GError, 10042 ) -> 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_uint10043 pub fn g_dbus_connection_export_menu_model( 10044 connection: *mut GDBusConnection, 10045 object_path: *const c_char, 10046 menu: *mut GMenuModel, 10047 error: *mut *mut glib::GError, 10048 ) -> c_uint; g_dbus_connection_flush( connection: *mut GDBusConnection, cancellable: *mut GCancellable, callback: GAsyncReadyCallback, user_data: gpointer, )10049 pub fn g_dbus_connection_flush( 10050 connection: *mut GDBusConnection, 10051 cancellable: *mut GCancellable, 10052 callback: GAsyncReadyCallback, 10053 user_data: gpointer, 10054 ); g_dbus_connection_flush_finish( connection: *mut GDBusConnection, res: *mut GAsyncResult, error: *mut *mut glib::GError, ) -> gboolean10055 pub fn g_dbus_connection_flush_finish( 10056 connection: *mut GDBusConnection, 10057 res: *mut GAsyncResult, 10058 error: *mut *mut glib::GError, 10059 ) -> gboolean; g_dbus_connection_flush_sync( connection: *mut GDBusConnection, cancellable: *mut GCancellable, error: *mut *mut glib::GError, ) -> gboolean10060 pub fn g_dbus_connection_flush_sync( 10061 connection: *mut GDBusConnection, 10062 cancellable: *mut GCancellable, 10063 error: *mut *mut glib::GError, 10064 ) -> gboolean; g_dbus_connection_get_capabilities( connection: *mut GDBusConnection, ) -> GDBusCapabilityFlags10065 pub fn g_dbus_connection_get_capabilities( 10066 connection: *mut GDBusConnection, 10067 ) -> GDBusCapabilityFlags; g_dbus_connection_get_exit_on_close(connection: *mut GDBusConnection) -> gboolean10068 pub fn g_dbus_connection_get_exit_on_close(connection: *mut GDBusConnection) -> gboolean; 10069 #[cfg(any(feature = "v2_60", feature = "dox"))] g_dbus_connection_get_flags(connection: *mut GDBusConnection) -> GDBusConnectionFlags10070 pub fn g_dbus_connection_get_flags(connection: *mut GDBusConnection) -> GDBusConnectionFlags; g_dbus_connection_get_guid(connection: *mut GDBusConnection) -> *const c_char10071 pub fn g_dbus_connection_get_guid(connection: *mut GDBusConnection) -> *const c_char; g_dbus_connection_get_last_serial(connection: *mut GDBusConnection) -> u3210072 pub fn g_dbus_connection_get_last_serial(connection: *mut GDBusConnection) -> u32; g_dbus_connection_get_peer_credentials( connection: *mut GDBusConnection, ) -> *mut GCredentials10073 pub fn g_dbus_connection_get_peer_credentials( 10074 connection: *mut GDBusConnection, 10075 ) -> *mut GCredentials; g_dbus_connection_get_stream(connection: *mut GDBusConnection) -> *mut GIOStream10076 pub fn g_dbus_connection_get_stream(connection: *mut GDBusConnection) -> *mut GIOStream; g_dbus_connection_get_unique_name(connection: *mut GDBusConnection) -> *const c_char10077 pub fn g_dbus_connection_get_unique_name(connection: *mut GDBusConnection) -> *const c_char; g_dbus_connection_is_closed(connection: *mut GDBusConnection) -> gboolean10078