pub struct Segment {
pub start_ms: i64,
pub end_ms: i64,
pub text: String,
pub speaker_turn_next: bool,
}Fields§
§start_ms: i64§end_ms: i64§text: String§speaker_turn_next: boolImplementations§
Source§impl Segment
impl Segment
pub fn start_seconds(&self) -> f64
pub fn end_seconds(&self) -> f64
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Segment
impl RefUnwindSafe for Segment
impl Send for Segment
impl Sync for Segment
impl Unpin for Segment
impl UnwindSafe for Segment
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