4 releases

Uses old Rust 2015

0.2.0 Nov 4, 2015
0.1.2 Oct 23, 2015
0.1.1 Sep 19, 2015
0.1.0 Sep 18, 2015

#14 in #gobject

Download history 53/week @ 2024-07-28 37/week @ 2024-08-04 146/week @ 2024-08-11 194/week @ 2024-08-18 108/week @ 2024-08-25 95/week @ 2024-09-01 72/week @ 2024-09-08 47/week @ 2024-09-15 63/week @ 2024-09-22 65/week @ 2024-09-29 64/week @ 2024-10-06 78/week @ 2024-10-13 106/week @ 2024-10-20 33/week @ 2024-10-27 37/week @ 2024-11-03 16/week @ 2024-11-10

196 downloads per month
Used in 4 crates

LGPL-2.1+

12KB

This Rust crate provides definitions for fundamental types and constants used by APIs available through GObject introspection.


lib.rs:

Fundamental types for GLib and GObject introspection.

This crate provides definitions for types that are intrinsic in GObject introspection, unlike all other types that have a definition in a GIR file. All crates generated from GObject introspection data should use these shared definitions.

Some types are omitted because a suitable equivalent is readily available in Rust:

  1. Fixed-size integer types. These have straightforward built-in counterparts in Rust.
  2. Strings can have GI types utf8 or filename. In the FFI all string values are represented as raw pointers to gchar. A safe representation of C strings in idiomatic Rust bindings needs some wrapper types which are not defined here.

Dependencies

~44KB