pub struct Selector<T> {
pub name: String,
/* private fields */
}Expand description
Executes children left-to-right. Succeeds on FIRST success. Fails if ALL fail. Memory selector: remembers the currently running child.
Fields§
§name: StringImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Selector<T>
impl<T> !RefUnwindSafe for Selector<T>
impl<T> Send for Selector<T>
impl<T> Sync for Selector<T>
impl<T> Unpin for Selector<T>
impl<T> UnsafeUnpin for Selector<T>
impl<T> !UnwindSafe for Selector<T>
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