pub struct RandomSelector<T> {
pub name: String,
/* private fields */
}Expand description
Shuffles children order each activation, then tries them in that order.
Fields§
§name: StringImplementations§
Trait Implementations§
Source§impl<T: Debug> Debug for RandomSelector<T>
impl<T: Debug> Debug for RandomSelector<T>
Auto Trait Implementations§
impl<T> Freeze for RandomSelector<T>
impl<T> !RefUnwindSafe for RandomSelector<T>
impl<T> Send for RandomSelector<T>
impl<T> Sync for RandomSelector<T>
impl<T> Unpin for RandomSelector<T>
impl<T> UnsafeUnpin for RandomSelector<T>
impl<T> !UnwindSafe for RandomSelector<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