Struct rustpython_vm::stdlib::errno::errors::sched_attr
source · #[repr(C)]pub struct sched_attr {
pub size: u32,
pub sched_policy: u32,
pub sched_flags: u64,
pub sched_nice: i32,
pub sched_priority: u32,
pub sched_runtime: u64,
pub sched_deadline: u64,
pub sched_period: u64,
}Fields§
§size: u32§sched_policy: u32§sched_flags: u64§sched_nice: i32§sched_priority: u32§sched_runtime: u64§sched_deadline: u64§sched_period: u64Trait Implementations§
source§impl Clone for sched_attr
impl Clone for sched_attr
source§fn clone(&self) -> sched_attr
fn clone(&self) -> sched_attr
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for sched_attr
impl Debug for sched_attr
source§impl Hash for sched_attr
impl Hash for sched_attr
source§impl PartialEq for sched_attr
impl PartialEq for sched_attr
source§fn eq(&self, other: &sched_attr) -> bool
fn eq(&self, other: &sched_attr) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for sched_attr
impl Eq for sched_attr
Auto Trait Implementations§
impl Freeze for sched_attr
impl RefUnwindSafe for sched_attr
impl Send for sched_attr
impl Sync for sched_attr
impl Unpin for sched_attr
impl UnwindSafe for sched_attr
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.