pub struct BehaviorCase {
pub name: Token,
pub loc: FileLocation,
pub when: BehaviorWhen,
pub then: BehaviorThen,
}
Expand description
Behavior case that states how certain variables should respond to a set of values of stimuli.
Fields§
§name: Token
Behavior case’s name or label.
loc: FileLocation
Case’s textual location.
when: BehaviorWhen
When clauses or fallback.
then: BehaviorThen
Then clauses.
Trait Implementations§
Source§impl Clone for BehaviorCase
impl Clone for BehaviorCase
Source§fn clone(&self) -> BehaviorCase
fn clone(&self) -> BehaviorCase
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 BehaviorCase
impl Debug for BehaviorCase
Source§impl Display for BehaviorCase
impl Display for BehaviorCase
Source§impl PartialEq for BehaviorCase
impl PartialEq for BehaviorCase
impl StructuralPartialEq for BehaviorCase
Auto Trait Implementations§
impl Freeze for BehaviorCase
impl RefUnwindSafe for BehaviorCase
impl !Send for BehaviorCase
impl !Sync for BehaviorCase
impl Unpin for BehaviorCase
impl UnwindSafe for BehaviorCase
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