diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-06-09 14:05:57 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-06-09 22:44:40 +0200 |
| commit | bce553a991f19b2b5bb9efef6b74bd12e15a10c6 (patch) | |
| tree | fa8ed4b3974927b30e6cffd0d71d4c3e980698de /src/geom/mod.rs | |
| parent | 29cfef0a6dfef5820bda339d327638e285aaf4d3 (diff) | |
Tidy up
Diffstat (limited to 'src/geom/mod.rs')
| -rw-r--r-- | src/geom/mod.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/geom/mod.rs b/src/geom/mod.rs index fdc3980e..25344f0e 100644 --- a/src/geom/mod.rs +++ b/src/geom/mod.rs @@ -7,7 +7,6 @@ mod angle; mod dir; mod fr; mod gen; -mod gridu; mod length; mod linear; mod path; @@ -22,7 +21,6 @@ pub use angle::*; pub use dir::*; pub use fr::*; pub use gen::*; -pub use gridu::*; pub use length::*; pub use linear::*; pub use path::*; @@ -48,15 +46,3 @@ pub trait Get<Index> { /// Borrow the component for the specified index mutably. fn get_mut(&mut self, index: Index) -> &mut Self::Component; } - -/// Switch between the specific and generic representations of a type. -/// -/// The generic representation deals with main and cross axes while the specific -/// representation deals with horizontal and vertical axes. -pub trait Switch { - /// The type of the other version. - type Other; - - /// The other version of this type based on the current main axis. - fn switch(self, main: SpecAxis) -> Self::Other; -} |
