We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a9b8e3 commit 09c7924Copy full SHA for 09c7924
src/dimension/axes.rs
@@ -55,16 +55,19 @@ copy_and_clone!(AxisDescription);
55
#[allow(clippy::len_without_is_empty)]
56
impl AxisDescription {
57
/// Return axis
58
+ #[deprecated(note = "Use .axis field instead", since = "0.15.0")]
59
#[inline(always)]
60
pub fn axis(self) -> Axis {
61
self.axis
62
}
63
/// Return length
64
+ #[deprecated(note = "Use .len field instead", since = "0.15.0")]
65
66
pub fn len(self) -> Ix {
67
self.len
68
69
/// Return stride
70
+ #[deprecated(note = "Use .stride field instead", since = "0.15.0")]
71
72
pub fn stride(self) -> Ixs {
73
self.stride
0 commit comments