pub struct Selector {
pub group: Vec<PokemonTypeAll>,
pub size: usize,
}
Fields§
§group: Vec<PokemonTypeAll>
§size: usize
Implementations§
Source§impl Selector
impl Selector
pub fn select_random(&mut self, remain: usize) -> Result<(), SelectorError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Selector
impl RefUnwindSafe for Selector
impl Send for Selector
impl Sync for Selector
impl Unpin for Selector
impl UnwindSafe for Selector
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