Struct nix::sched::CpuSet [−][src]
#[repr(C)]pub struct CpuSet { /* fields omitted */ }
Methods
impl CpuSet[src]
impl CpuSetpub fn new() -> CpuSet[src]
pub fn new() -> CpuSetpub fn is_set(&self, field: usize) -> Result<bool>[src]
pub fn is_set(&self, field: usize) -> Result<bool>pub fn set(&mut self, field: usize) -> Result<()>[src]
pub fn set(&mut self, field: usize) -> Result<()>pub fn unset(&mut self, field: usize) -> Result<()>[src]
pub fn unset(&mut self, field: usize) -> Result<()>Trait Implementations
impl Clone for CpuSet[src]
impl Clone for CpuSetfn clone(&self) -> CpuSet[src]
fn clone(&self) -> CpuSetReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for CpuSet[src]
impl Copy for CpuSet