Make the `struct` and `traits` modules private.

Now that the documentation of public export of private modules is inlined on the exporter's
documentation, there is non need to export anything but the `na` module.
This commit is contained in:
Sébastien Crozet 2014-01-14 09:40:12 +01:00
parent 1672e9e5d2
commit 87c0d5b769
3 changed files with 10 additions and 10 deletions

View File

@ -119,8 +119,8 @@ extern mod std;
extern mod extra;
pub mod na;
pub mod structs;
pub mod traits;
mod structs;
mod traits;
// mod lower_triangular;
// mod chol;

View File

@ -45,7 +45,7 @@ pub use structs::{
Mat1, Mat2, Mat3, Mat4,
Mat5, Mat6,
Rot2, Rot3, Rot4,
Vec0, Vec1, Vec2, Vec3, Vec4, Vec5, Vec6
Vec0, Vec1, Vec2, Vec3, PVec3, Vec4, Vec5, Vec6
};
//

View File

@ -2,17 +2,17 @@
pub use self::dmat::DMat;
pub use self::dvec::DVec;
pub use self::vec::{Vec0, Vec1, Vec2, Vec3, Vec4, Vec5, Vec6};
pub use self::vec::{Vec0, Vec1, Vec2, Vec3, PVec3, Vec4, Vec5, Vec6};
pub use self::mat::{Identity, Mat1, Mat2, Mat3, Mat4, Mat5, Mat6};
pub use self::rot::{Rot2, Rot3, Rot4};
pub use self::iso::{Iso2, Iso3, Iso4};
pub mod dmat;
pub mod dvec;
pub mod vec;
pub mod mat;
pub mod rot;
pub mod iso;
mod dmat;
mod dvec;
mod vec;
mod mat;
mod rot;
mod iso;
// specialization for some 1d, 2d and 3d operations
#[doc(hidden)]