pub struct ConditionalNode<State, Cond, Then, Else>where
Cond: Fn(&State) -> bool + Send + Sync,
Then: BaseNode<State> + 'static,
Else: BaseNode<State> + 'static,{ /* private fields */ }Expand description
A conditional node that branches based on state.
Implementations§
Source§impl<State, Cond, Then, Else> ConditionalNode<State, Cond, Then, Else>
impl<State, Cond, Then, Else> ConditionalNode<State, Cond, Then, Else>
Auto Trait Implementations§
impl<State, Cond, Then, Else> Freeze for ConditionalNode<State, Cond, Then, Else>where
Cond: Freeze,
impl<State, Cond, Then, Else> RefUnwindSafe for ConditionalNode<State, Cond, Then, Else>
impl<State, Cond, Then, Else> Send for ConditionalNode<State, Cond, Then, Else>where
State: Send,
impl<State, Cond, Then, Else> Sync for ConditionalNode<State, Cond, Then, Else>where
State: Sync,
impl<State, Cond, Then, Else> Unpin for ConditionalNode<State, Cond, Then, Else>
impl<State, Cond, Then, Else> UnwindSafe for ConditionalNode<State, Cond, Then, Else>
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