pub struct CallByValue { /* private fields */ }Expand description
Call-by-value evaluation.
Implementations§
Source§impl CallByValue
impl CallByValue
Trait Implementations§
Source§impl Debug for CallByValue
impl Debug for CallByValue
Source§impl Display for CallByValue
impl Display for CallByValue
Source§impl Evaluator for CallByValue
impl Evaluator for CallByValue
Source§fn normal_form(&self) -> bool
fn normal_form(&self) -> bool
Determines whether the primary expression is currently in a normal form, i.e. one that
cannot be further reduced.
Source§fn set_print_style(&mut self, print_style: PrintStyle)
fn set_print_style(&mut self, print_style: PrintStyle)
Sets the print style.
Auto Trait Implementations§
impl Freeze for CallByValue
impl RefUnwindSafe for CallByValue
impl Send for CallByValue
impl Sync for CallByValue
impl Unpin for CallByValue
impl UnwindSafe for CallByValue
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> 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