We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9820166 commit d8dccdcCopy full SHA for d8dccdc
src/dimension/dimension_trait.rs
@@ -71,7 +71,8 @@ pub trait Dimension : Clone + Eq + Debug + Send + Sync + Default +
71
type Smaller: Dimension;
72
/// Next larger dimension
73
type Larger: Dimension;
74
- #[doc(hidden)]
+
75
+ /// Returns the number of dimensions (number of axes).
76
fn ndim(&self) -> usize;
77
78
/// Convert the dimension into a pattern matching friendly value.
0 commit comments