@@ -6,9 +6,9 @@ use std::io::{Cursor, Read, Seek, SeekFrom, Write};
66
77use byteorder:: { BigEndian , ReadBytesExt , WriteBytesExt } ;
88
9+ /// The unit used for [`SynchronizedText`] timestamps
910#[ derive( Copy , Clone , PartialEq , Debug , Eq , Hash ) ]
1011#[ repr( u8 ) ]
11- /// The unit used for [`SynchronizedText`] timestamps
1212pub enum TimestampFormat {
1313 /// The unit is MPEG frames
1414 MPEG = 1 ,
@@ -27,10 +27,10 @@ impl TimestampFormat {
2727 }
2828}
2929
30+ /// The type of text stored in a [`SynchronizedText`]
3031#[ derive( Copy , Clone , PartialEq , Debug , Eq , Hash ) ]
3132#[ repr( u8 ) ]
3233#[ allow( missing_docs) ]
33- /// The type of text stored in a [`SynchronizedText`]
3434pub enum SyncTextContentType {
3535 Other = 0 ,
3636 Lyrics = 1 ,
@@ -61,8 +61,8 @@ impl SyncTextContentType {
6161 }
6262}
6363
64- #[ derive( PartialEq , Clone , Debug , Eq , Hash ) ]
6564/// Information about a [`SynchronizedText`]
65+ #[ derive( PartialEq , Clone , Debug , Eq , Hash ) ]
6666pub struct SyncTextInformation {
6767 /// The text encoding (description/text)
6868 pub encoding : TextEncoding ,
0 commit comments