pub struct Anagram { /* private fields */ }
Implementations§
Source§impl Anagram
impl Anagram
pub fn new( letters: &str, settings: HashMap<String, String>, ) -> Result<Self, Error>
pub fn set_word_source( &mut self, dir: Option<String>, file: Option<String>, ) -> &mut Self
pub fn load_words(&mut self) -> &mut Self
pub fn find_solutions(&mut self) -> Result<&mut Self, Error>
pub fn count_solution(&mut self, chain_length: usize) -> &mut Self
pub fn word_source_string(&self) -> String
pub fn distribution_string(&self) -> String
pub fn solutions_title(&self) -> String
pub fn solutions_string(&self) -> String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Anagram
impl RefUnwindSafe for Anagram
impl Send for Anagram
impl Sync for Anagram
impl Unpin for Anagram
impl UnwindSafe for Anagram
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