Skip to content

Commit 46b59dc

Browse files
authored
core (formats): Derive Eq and PartialEq for SeekMode. (#361)
1 parent 31c1519 commit 46b59dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

symphonia-core/src/formats.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pub struct SeekedTo {
5454
}
5555

5656
/// `SeekMode` selects the precision of a seek.
57-
#[derive(Copy, Clone, Debug)]
57+
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
5858
pub enum SeekMode {
5959
/// Coarse seek mode is a best-effort attempt to seek to the requested position. The actual
6060
/// position seeked to may be before or after the requested position. Coarse seeking is an

0 commit comments

Comments
 (0)