[−][src]Struct idiom_solitaire::SolitaireSolver
Fields
dict: Dictionary
state: HashMap<String, Vec<Idiom>>
mode: SolitaireMode
rng: SmallRng
Implementations
impl SolitaireSolver
[src]
impl SolitaireSolver
[src]
pub fn load(&mut self, bytes: &[u8]) -> Result<()>
[src]
pub fn refresh(&mut self) -> Result<()>
[src]
pub fn solve_random(&mut self, input: &str) -> Result<Idiom>
[src]
pub fn solve_target(&mut self, input: &str, target: &str) -> Result<Vec<Idiom>>
[src]
pub fn solve_greedy(&mut self, input: &str) -> Result<Idiom>
[src]
pub fn solve_chain(&mut self, head: &str, length: usize) -> Vec<Idiom>
[src]
Trait Implementations
impl Clone for SolitaireSolver
[src]
pub fn clone(&self) -> SolitaireSolver
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SolitaireSolver
[src]
impl Default for SolitaireSolver
[src]
Auto Trait Implementations
impl RefUnwindSafe for SolitaireSolver
impl Send for SolitaireSolver
impl Sync for SolitaireSolver
impl Unpin for SolitaireSolver
impl UnwindSafe for SolitaireSolver
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,