We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
SampleFormat
#[derive(...)]
1 parent 437d47f commit 2ec761dCopy full SHA for 2ec761d
1 file changed
src/samples_formats.rs
@@ -6,7 +6,7 @@ pub use dasp_sample::{FromSample, Sample, I24, I48, U24, U48};
6
7
/// Format that each sample has.
8
#[cfg_attr(target_os = "emscripten", wasm_bindgen)]
9
-#[derive(Clone, Copy, Debug, PartialEq, Eq)]
+#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
10
#[non_exhaustive]
11
pub enum SampleFormat {
12
/// `i8` with a valid range of 'u8::MIN..=u8::MAX' with `0` being the origin
0 commit comments