pub struct ResultScreenReader<'a> {
pub process: &'a Process,
pub state: &'a mut State,
pub osu_type: OsuType,
}Fields§
§process: &'a Process§state: &'a mut State§osu_type: OsuTypeImplementations§
Source§impl<'a> ResultScreenReader<'a>
impl<'a> ResultScreenReader<'a>
pub fn new(p: &'a Process, state: &'a mut State, osu_type: OsuType) -> Self
pub fn get_result_screen_info(&mut self) -> Result<ResultScreenInfo>
pub fn get_result_username(&mut self) -> Result<String>
pub fn get_result_score(&mut self) -> Result<i32>
pub fn get_result_mode(&mut self) -> Result<GameMode>
pub fn get_result_hit_300(&mut self) -> Result<i16>
pub fn get_result_hit_100(&mut self) -> Result<i16>
pub fn get_result_hit_50(&mut self) -> Result<i16>
pub fn get_result_hit_miss(&mut self) -> Result<i16>
pub fn get_result_hit_geki(&mut self) -> Result<i16>
pub fn get_result_hit_katu(&mut self) -> Result<i16>
pub fn get_result_hits(&mut self) -> Result<Hit>
pub fn get_result_accuracy(&mut self) -> Result<f64>
pub fn get_result_max_combo(&mut self) -> Result<i16>
Auto Trait Implementations§
impl<'a> Freeze for ResultScreenReader<'a>
impl<'a> RefUnwindSafe for ResultScreenReader<'a>
impl<'a> Send for ResultScreenReader<'a>
impl<'a> Sync for ResultScreenReader<'a>
impl<'a> Unpin for ResultScreenReader<'a>
impl<'a> !UnwindSafe for ResultScreenReader<'a>
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