Type Alias hwlocality::object::depth::NormalDepth

source ·
pub type NormalDepth = PositiveInt;
Expand description

Depth of a normal object (not Memory, I/O or Misc)

Aliased Type§

struct NormalDepth(/* private fields */);

Trait Implementations§

source§

impl PartialEq<Depth> for NormalDepth

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl TryFrom<Depth> for NormalDepth

§

type Error = Depth

The type returned in the event of a conversion error.
source§

fn try_from(value: Depth) -> Result<Self, Depth>

Performs the conversion.