pub struct DecisionEdge {
pub from: Option<u16>,
pub to: u16,
pub all: u64,
pub none: u64,
pub after: f32,
}Expand description
First matching edge wins. all/none refer to host-authored sensor bits. None as source matches any state. Matching the current destination holds that state and blocks lower-priority edges without resetting its timer.
Fields§
§from: Option<u16>§to: u16§all: u64§none: u64§after: f32Trait Implementations§
Source§impl Clone for DecisionEdge
impl Clone for DecisionEdge
Source§fn clone(&self) -> DecisionEdge
fn clone(&self) -> DecisionEdge
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 DecisionEdge
impl Debug for DecisionEdge
impl Copy for DecisionEdge
Auto Trait Implementations§
impl Freeze for DecisionEdge
impl RefUnwindSafe for DecisionEdge
impl Send for DecisionEdge
impl Sync for DecisionEdge
impl Unpin for DecisionEdge
impl UnwindSafe for DecisionEdge
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