pub struct WindowProgress {
pub done: usize,
pub total: Option<usize>,
}Expand description
How far a take’s transcription has got, for a host that shows
progress while the recording runs. done counts the segments that
have settled, in order; total is None until finish has
submitted the tail, because a live recording does not know how many
segments it will produce. A single-segment take reports twice at
stop, at 0 of 1 and 1 of 1, and no host has to special-case it.
Fields§
§done: usize§total: Option<usize>Trait Implementations§
Source§impl Clone for WindowProgress
impl Clone for WindowProgress
impl Copy for WindowProgress
Source§impl Debug for WindowProgress
impl Debug for WindowProgress
impl Eq for WindowProgress
Source§impl PartialEq for WindowProgress
impl PartialEq for WindowProgress
impl StructuralPartialEq for WindowProgress
Auto Trait Implementations§
impl Freeze for WindowProgress
impl RefUnwindSafe for WindowProgress
impl Send for WindowProgress
impl Sync for WindowProgress
impl Unpin for WindowProgress
impl UnsafeUnpin for WindowProgress
impl UnwindSafe for WindowProgress
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.