Struct nix::sched::CpuSet [−][src]
#[repr(C)]pub struct CpuSet { /* fields omitted */ }
Methods
impl CpuSet
[src]
impl CpuSet
pub fn new() -> CpuSet
[src]
pub fn new() -> CpuSet
pub 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 CpuSet
fn clone(&self) -> CpuSet
[src]
fn clone(&self) -> CpuSet
Returns 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