pub struct ShowBranch {
pub condition: Option<ShowExpression>,
pub result: ShowExpression,
}Expand description
One arm of a rule’s flat last-match table on Show.
Fields§
§condition: Option<ShowExpression>Absent on the default arm; present on each unless.
result: ShowExpressionTrait Implementations§
Source§impl Clone for ShowBranch
impl Clone for ShowBranch
Source§impl Debug for ShowBranch
impl Debug for ShowBranch
impl Eq for ShowBranch
Source§impl From<&ShowBranch> for ShowBranch
impl From<&ShowBranch> for ShowBranch
Source§fn from(branch: &DomainShowBranch) -> Self
fn from(branch: &DomainShowBranch) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ShowBranch
impl PartialEq for ShowBranch
impl StructuralPartialEq for ShowBranch
Auto Trait Implementations§
impl Forget for ShowBranch
impl Freeze for ShowBranch
impl Move for ShowBranch
impl RefUnwindSafe for ShowBranch
impl Send for ShowBranch
impl Sync for ShowBranch
impl Unpin for ShowBranch
impl UnsafeUnpin for ShowBranch
impl UnwindSafe for ShowBranch
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.