pub struct BlizzardGameFinder { /* private fields */ }Expand description
Static-method facade around the free functions above so they bind through the class-method codegen path.
Implementations§
Source§impl BlizzardGameFinder
impl BlizzardGameFinder
Sourcepub fn find_all() -> Option<BlizzardGameInfoList>
pub fn find_all() -> Option<BlizzardGameInfoList>
Discover installed Blizzard games. See findBlizzardGames().
Sourcepub fn from_name(name: &str) -> BlizzardGame
pub fn from_name(name: &str) -> BlizzardGame
Map a display name to a BlizzardGame enum. See blizzardGameFromName().
Sourcepub fn to_name(game: BlizzardGame) -> String
pub fn to_name(game: BlizzardGame) -> String
Get the canonical display name for a known game. See blizzardGameToName(). Returns empty string for Unknown.
Trait Implementations§
Source§impl Debug for BlizzardGameFinder
impl Debug for BlizzardGameFinder
Source§impl Drop for BlizzardGameFinder
impl Drop for BlizzardGameFinder
impl Send for BlizzardGameFinder
Auto Trait Implementations§
impl !Sync for BlizzardGameFinder
impl Freeze for BlizzardGameFinder
impl RefUnwindSafe for BlizzardGameFinder
impl Unpin for BlizzardGameFinder
impl UnsafeUnpin for BlizzardGameFinder
impl UnwindSafe for BlizzardGameFinder
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