#[repr(transparent)]pub struct Devicetype(pub u32);
Tuple Fields§
§0: u32
Implementations§
Source§impl Devicetype
impl Devicetype
Sourcepub const DIE: Devicetype = _
pub const DIE: Devicetype = _
Device is an physical DIE
Sourcepub const FPGA: Devicetype = _
pub const FPGA: Devicetype = _
Device is an FPGA
Source§impl Devicetype
impl Devicetype
Trait Implementations§
Source§impl Clone for Devicetype
impl Clone for Devicetype
Source§fn clone(&self) -> Devicetype
fn clone(&self) -> Devicetype
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Devicetype
impl Debug for Devicetype
Source§impl From<u32> for Devicetype
impl From<u32> for Devicetype
Source§fn from(val: u32) -> Devicetype
fn from(val: u32) -> Devicetype
Converts to this type from the input type.
Source§impl Ord for Devicetype
impl Ord for Devicetype
Source§fn cmp(&self, other: &Devicetype) -> Ordering
fn cmp(&self, other: &Devicetype) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Devicetype
impl PartialEq for Devicetype
Source§impl PartialOrd for Devicetype
impl PartialOrd for Devicetype
impl Copy for Devicetype
impl Eq for Devicetype
impl StructuralPartialEq for Devicetype
Auto Trait Implementations§
impl Freeze for Devicetype
impl RefUnwindSafe for Devicetype
impl Send for Devicetype
impl Sync for Devicetype
impl Unpin for Devicetype
impl UnwindSafe for Devicetype
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more