pub struct EvalCfg {
pub agreement: Agreement,
pub fmt: FmtOpts,
pub tol: Tol,
pub rules: Rules,
}Expand description
The effect-free half of the execution context. Copyable, so a path that runs cells on other threads can carry it there; the output sink cannot go along, which is what keeps those paths pure by construction.
Fields§
§agreement: Agreement§fmt: FmtOpts§tol: TolComparison tolerance in force; it starts as the dialect’s and u!.n
overrides it inside the verb it is attached to.
rules: RulesThe dialect’s settings, resolved once at compile time. A rule that only bites at run time reads it from here rather than deducing it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EvalCfg
impl RefUnwindSafe for EvalCfg
impl Send for EvalCfg
impl Sync for EvalCfg
impl Unpin for EvalCfg
impl UnsafeUnpin for EvalCfg
impl UnwindSafe for EvalCfg
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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