pub struct SubtitlesState {
pub selected: Option<u64>,
pub checked: HashSet<u64>,
pub show_style: bool,
pub focus: Option<u64>,
pub transcribe: TranscribeState,
}Fields§
§selected: Option<u64>§checked: HashSet<u64>Multi-selected cues (the row checkboxes) for “Delete selected”.
show_style: bool§focus: Option<u64>Cue whose text field should grab focus (set by “Add at playhead”).
transcribe: TranscribeStateTrait Implementations§
Source§impl Default for SubtitlesState
impl Default for SubtitlesState
Source§fn default() -> SubtitlesState
fn default() -> SubtitlesState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SubtitlesState
impl RefUnwindSafe for SubtitlesState
impl Send for SubtitlesState
impl Sync for SubtitlesState
impl Unpin for SubtitlesState
impl UnwindSafe for SubtitlesState
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
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more