pub struct BoggleBoardResult { /* private fields */ }Expand description
Boggle board result after dfs search
Implementations§
Source§impl BoggleBoardResult
impl BoggleBoardResult
Sourcepub fn how_many(&self, score: usize) -> u32
pub fn how_many(&self, score: usize) -> u32
gets the result for query of how many words exists in the board with specefic score.
Sourcepub fn score_counts(&self) -> &Vec<u32>
pub fn score_counts(&self) -> &Vec<u32>
gets a refrence to all score counts vector
Sourcepub fn len_counts(&self) -> &HashMap<usize, usize>
pub fn len_counts(&self) -> &HashMap<usize, usize>
gets a reference to word length’ count map.
Sourcepub fn path_tracks(&self) -> &Vec<Vec<u16>>
pub fn path_tracks(&self) -> &Vec<Vec<u16>>
gets a vector of all valid paths in the boggle board.
Auto Trait Implementations§
impl Freeze for BoggleBoardResult
impl RefUnwindSafe for BoggleBoardResult
impl Send for BoggleBoardResult
impl Sync for BoggleBoardResult
impl Unpin for BoggleBoardResult
impl UnwindSafe for BoggleBoardResult
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more