#[repr(transparent)]
pub struct Pcid(_);
Expand description
Structure of a PCID. A PCID has to be <= 4096 for x86_64.
pub const fn new(pcid: u16) -> Result<Pcid, &'static str>
[src]
Create a new PCID. Will result in a failure if the value of
PCID is out of expected bounds.
pub const fn value(&self) -> u16
[src]
Get the value of the current PCID.
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
[src]
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.