pub struct ResolvedRoutine {
pub steps: Vec<RoutineStep>,
pub pacing: Option<RoutinePacing>,
pub max_step_secs: Option<u64>,
pub breath: Option<BreathPattern>,
}Expand description
Steps + pacing metadata resolved for a single break, produced by a
single random_index call so all three fields always come from the
same routine draw.
Fields§
§steps: Vec<RoutineStep>§pacing: Option<RoutinePacing>The routine’s own declared RoutinePacing, if any. None means
the frontend should fall back to the global routine_fill setting.
max_step_secs: Option<u64>Per-step duration cap for fill-mode routines. See RoutinePacing::Fill.
breath: Option<BreathPattern>The routine’s breathing pattern, if any.
Implementations§
Auto Trait Implementations§
impl Freeze for ResolvedRoutine
impl RefUnwindSafe for ResolvedRoutine
impl Send for ResolvedRoutine
impl Sync for ResolvedRoutine
impl Unpin for ResolvedRoutine
impl UnsafeUnpin for ResolvedRoutine
impl UnwindSafe for ResolvedRoutine
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, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self file descriptor.§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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