pub struct LettersBoxed { /* private fields */ }
Implementations§
Source§impl LettersBoxed
impl LettersBoxed
pub fn new(letters: &[char], words: &[String]) -> Self
pub fn set_max_chain(&mut self, value: usize) -> &mut Self
pub fn set_shuffle_depth(&mut self, value: i8) -> &mut Self
pub fn filter_words_with_letters_only(&mut self) -> &mut Self
pub fn filter_exclude_invalid_pairs(&mut self) -> &mut Self
pub fn build_word_chain(&mut self, shuffle: &mut Shuffle) -> Result<(), Error>
pub fn solution_string(&self) -> String
pub fn chain_length(&self) -> usize
Trait Implementations§
Source§impl Debug for LettersBoxed
impl Debug for LettersBoxed
Auto Trait Implementations§
impl Freeze for LettersBoxed
impl RefUnwindSafe for LettersBoxed
impl Send for LettersBoxed
impl Sync for LettersBoxed
impl Unpin for LettersBoxed
impl UnwindSafe for LettersBoxed
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