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

#13 in #gobject

Download history 62/week @ 2024-01-15 54/week @ 2024-01-22 10/week @ 2024-01-29 37/week @ 2024-02-05 23/week @ 2024-02-12 36/week @ 2024-02-19 89/week @ 2024-02-26 63/week @ 2024-03-04 94/week @ 2024-03-11 50/week @ 2024-03-18 34/week @ 2024-03-25 82/week @ 2024-04-01 50/week @ 2024-04-08 52/week @ 2024-04-15 51/week @ 2024-04-22 30/week @ 2024-04-29

189 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

~43KB