Struct sched_param

#[repr(C)]
pub struct sched_param { pub sched_priority: c_int }

Fields

sched_priority: c_int

Trait Implementations

impl Clone for sched_param

fn clone(&self) -> sched_param

impl Copy for sched_param

impl Debug for sched_param

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for sched_param

impl Hash for sched_param

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for sched_param

fn eq(&self, other: &sched_param) -> bool

impl StructuralPartialEq for sched_param

Auto Trait Implementations

impl Freeze for sched_param

impl RefUnwindSafe for sched_param

impl Send for sched_param

impl Sync for sched_param

impl Unpin for sched_param

impl UnsafeUnpin for sched_param

impl UnwindSafe for sched_param

Blanket Implementations

impl<T> Any for sched_param where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for sched_param where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for sched_param where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for sched_param where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for sched_param

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for sched_param where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for sched_param where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for sched_param where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>