Expand description
§Rust Graphene bindings
Rust bindings and wrappers for Graphene, part of gtk-rs-core.
Graphene 1.10 is the lowest supported version for the underlying library.
§Minimum supported Rust version
Currently, the minimum supported Rust version is 1.70.0
.
§Documentation
§Using
We recommend using crates from crates.io, as demonstrated here.
If you want to track the bleeding edge, use the git dependency instead:
[dependencies]
graphene = { git = "https://github.com/gtk-rs/gtk-rs-core.git", package = "graphene" }
Avoid mixing versioned and git crates like this:
# This will not compile
[dependencies]
graphene = "0.13"
graphene = { git = "https://github.com/gtk-rs/gtk-rs-core.git", package = "graphene" }
§See Also
§License
graphene is available under the MIT License, please refer to it.
Re-exports§
Modules§
- Traits intended for blanket imports.
Structs§
- A 3D box, described as the volume between a minimum and a maximum vertices.
- Describe a rotation using Euler angles.
- A 3D volume delimited by 2D clip planes.
- A structure capable of holding a 4x4 matrix.
- A 2D plane that extends infinitely in a 3D volume.
- A point with two coordinates.
- A point with three components: X, Y, and Z.
- A 4 vertex quadrilateral, as represented by four
Point
. - A quaternion.
- A ray emitted from an origin in a given direction.
- The location and size of a rectangle region.
- A size.
- A sphere, represented by its center and radius.
- A triangle.
- A structure capable of holding a vector with two dimensions, x and y.
- A structure capable of holding a vector with three dimensions: x, y, and z.
- A structure capable of holding a vector with four dimensions: x, y, z, and w.
Enums§
- Specify the order of the rotations on each axis.
- The type of intersection.