pub struct UserReader<'a> {
pub process: &'a Process,
pub state: &'a mut State,
pub osu_type: OsuClientKind,
}Fields§
§process: &'a Process§state: &'a mut State§osu_type: OsuClientKindImplementations§
Source§impl<'a> UserReader<'a>
impl<'a> UserReader<'a>
pub fn new( p: &'a Process, state: &'a mut State, osu_type: OsuClientKind, ) -> Self
pub fn id(&mut self) -> Result<i32, Error>
pub fn bancho_status(&mut self) -> Result<i32, Error>
pub fn country_code(&mut self) -> Result<i32, Error>
pub fn username(&mut self) -> Result<String, Error>
pub fn pp(&mut self) -> Result<i32, Error>
pub fn rankedscore(&mut self) -> Result<i64, Error>
pub fn level(&mut self) -> Result<f32, Error>
pub fn playcount(&mut self) -> Result<i32, Error>
pub fn rank(&mut self) -> Result<i32, Error>
pub fn playmode(&mut self) -> Result<i32, Error>
pub fn accuracy(&mut self) -> Result<f64, Error>
pub fn info(&mut self) -> Result<UserInfo, Error>
Auto Trait Implementations§
impl<'a> Freeze for UserReader<'a>
impl<'a> RefUnwindSafe for UserReader<'a>
impl<'a> Send for UserReader<'a>
impl<'a> Sync for UserReader<'a>
impl<'a> Unpin for UserReader<'a>
impl<'a> !UnwindSafe for UserReader<'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