pub struct RuleEntry {
pub key: Expr,
pub value: Expr,
pub delayed: bool,
}Expand description
Single association entry — key, value, and a flag indicating
Rule (->, immediate) vs RuleDelayed (:>, held).
Fields§
§key: ExprThe left-hand side expression.
value: ExprThe right-hand side expression.
delayed: boolfalse for Rule (->, immediate), true for RuleDelayed (:>, held).
Implementations§
Trait Implementations§
impl Eq for RuleEntry
Source§impl Ord for RuleEntry
impl Ord for RuleEntry
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for RuleEntry
impl PartialOrd for RuleEntry
impl StructuralPartialEq for RuleEntry
Auto Trait Implementations§
impl Freeze for RuleEntry
impl RefUnwindSafe for RuleEntry
impl Send for RuleEntry
impl Sync for RuleEntry
impl Unpin for RuleEntry
impl UnsafeUnpin for RuleEntry
impl UnwindSafe for RuleEntry
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