Struct sysinfo::User [−][src]
pub struct User { /* fields omitted */ }
Type containing user information.
It is returned by SystemExt::get_users
.
use sysinfo::{System, SystemExt}; let s = System::new_all(); println!("users: {:?}", s.get_users());
Trait Implementations
impl Ord for User
[src]
impl Ord for User
[src]impl PartialOrd<User> for User
[src]
impl PartialOrd<User> for User
[src]fn partial_cmp(&self, other: &User) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &User) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Eq for User
[src]
impl StructuralEq for User
[src]
impl StructuralPartialEq for User
[src]
Auto Trait Implementations
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T