Crate graphene

Source
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§

pub use glib;
pub use graphene_sys as ffi;

Modules§

prelude
Traits intended for blanket imports.

Structs§

Box
GLib type: Inline allocated boxed type with stack copy semantics.
Euler
GLib type: Inline allocated boxed type with stack copy semantics.
Frustum
GLib type: Inline allocated boxed type with stack copy semantics.
Matrix
GLib type: Inline allocated boxed type with stack copy semantics.
Plane
GLib type: Inline allocated boxed type with stack copy semantics.
Point
GLib type: Inline allocated boxed type with stack copy semantics.
Point3D
GLib type: Inline allocated boxed type with stack copy semantics.
Quad
GLib type: Inline allocated boxed type with stack copy semantics.
Quaternion
GLib type: Inline allocated boxed type with stack copy semantics.
Ray
GLib type: Inline allocated boxed type with stack copy semantics.
Rect
GLib type: Inline allocated boxed type with stack copy semantics.
Size
GLib type: Inline allocated boxed type with stack copy semantics.
Sphere
GLib type: Inline allocated boxed type with stack copy semantics.
Triangle
GLib type: Inline allocated boxed type with stack copy semantics.
Vec2
GLib type: Inline allocated boxed type with stack copy semantics.
Vec3
GLib type: Inline allocated boxed type with stack copy semantics.
Vec4
GLib type: Inline allocated boxed type with stack copy semantics.

Enums§

EulerOrder
RayIntersectionKind