pub enum BehaviorWhen {
Fallback,
Clauses(DesignClauses),
}
Expand description
When statement of a behavior case. Either the fallback case (at most one) or a set of clauses as a mapping.
Variants§
Fallback
Clauses(DesignClauses)
Trait Implementations§
Source§impl Clone for BehaviorWhen
impl Clone for BehaviorWhen
Source§fn clone(&self) -> BehaviorWhen
fn clone(&self) -> BehaviorWhen
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BehaviorWhen
impl Debug for BehaviorWhen
Source§impl PartialEq for BehaviorWhen
impl PartialEq for BehaviorWhen
impl StructuralPartialEq for BehaviorWhen
Auto Trait Implementations§
impl Freeze for BehaviorWhen
impl RefUnwindSafe for BehaviorWhen
impl !Send for BehaviorWhen
impl !Sync for BehaviorWhen
impl Unpin for BehaviorWhen
impl UnwindSafe for BehaviorWhen
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