Enum hwloc::TopologyFlag [] [src]

pub enum TopologyFlag {
    WholeSystem,
    IsThisSystem,
    IoDevices,
    IoBridges,
    WholeIo,
    ICaches,
}

Variants

WholeSystem
IsThisSystem
IoDevices
IoBridges
WholeIo
ICaches

Trait Implementations

impl ToPrimitive for TopologyFlag

fn to_i64(&self) -> Option<i64>

fn to_u64(&self) -> Option<u64>

fn to_isize(&self) -> Option<isize>

fn to_i8(&self) -> Option<i8>

fn to_i16(&self) -> Option<i16>

fn to_i32(&self) -> Option<i32>

fn to_usize(&self) -> Option<usize>

fn to_u8(&self) -> Option<u8>

fn to_u16(&self) -> Option<u16>

fn to_u32(&self) -> Option<u32>

fn to_f32(&self) -> Option<f32>

fn to_f64(&self) -> Option<f64>

impl FromPrimitive for TopologyFlag

fn from_i64(n: i64) -> Option<Self>

fn from_u64(n: u64) -> Option<Self>

fn from_isize(n: isize) -> Option<Self>

fn from_i8(n: i8) -> Option<Self>

fn from_i16(n: i16) -> Option<Self>

fn from_i32(n: i32) -> Option<Self>

fn from_usize(n: usize) -> Option<Self>

fn from_u8(n: u8) -> Option<Self>

fn from_u16(n: u16) -> Option<Self>

fn from_u32(n: u32) -> Option<Self>

fn from_f32(n: f32) -> Option<Self>

fn from_f64(n: f64) -> Option<Self>

Derived Implementations

impl PartialEq for TopologyFlag

fn eq(&self, __arg_0: &TopologyFlag) -> bool

fn ne(&self, __arg_0: &TopologyFlag) -> bool

impl Debug for TopologyFlag

fn fmt(&self, __arg_0: &mut Formatter) -> Result