pub struct TimedWord {
pub text: String,
pub start: f64,
pub end: f64,
}Expand description
One word and where it sits inside the line.
Fields§
§text: StringThe word, without surrounding punctuation.
start: f64Start, in seconds from the beginning of the line.
end: f64End, in seconds from the beginning of the line.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TimedWord
impl<'de> Deserialize<'de> for TimedWord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for TimedWord
Auto Trait Implementations§
impl Freeze for TimedWord
impl RefUnwindSafe for TimedWord
impl Send for TimedWord
impl Sync for TimedWord
impl Unpin for TimedWord
impl UnsafeUnpin for TimedWord
impl UnwindSafe for TimedWord
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more