Module prelude

Source
Expand description

Generally speaking, you’ll want to use the prelude module to get all of the traits and functions you’ll need. This does not include any of the individual types. If you want those, import from the vector and/or rect modules.

Re-exports§

pub use crate::scalar::Scalar;
pub use crate::scalar::IntScalar;
pub use crate::scalar::SignedScalar;
pub use crate::scalar::FloatScalar;
pub use crate::vector::Vector;
pub use crate::vector::IntVector;
pub use crate::vector::SignedVector;
pub use crate::vector::FloatVector;
pub use crate::vector::Vectorized2D;
pub use crate::vector::Vectorized3D;
pub use crate::rect::Rect;
pub use crate::rect::SignedRect;
pub use crate::rect::FloatRect;