pub struct CaptureUi {
pub screen_open: bool,
pub voice_open: bool,
pub elapsed: f64,
pub region: Option<(i32, i32, u32, u32)>,
pub area: String,
pub level: f32,
pub from_playhead: bool,
pub voice_start: Option<f64>,
}Fields§
§screen_open: bool§voice_open: bool§elapsed: f64§region: Option<(i32, i32, u32, u32)>Region in desktop pixels (x, y, w, h) — typed in the window, used in “region” mode.
area: String“desktop” | “region”
level: f32Input level 0..1 for the voiceover meter (fed by the app while recording).
from_playhead: boolRoll playback while recording the voiceover, so the take lines up with the timeline.
voice_start: Option<f64>Timeline time the current voiceover take started at.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CaptureUi
impl RefUnwindSafe for CaptureUi
impl Send for CaptureUi
impl Sync for CaptureUi
impl Unpin for CaptureUi
impl UnwindSafe for CaptureUi
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