Enum Phydatawidth
#[repr(u8)]pub enum Phydatawidth {
Width1 = 0,
Width2 = 1,
Width3 = 2,
_RESERVED_3 = 3,
}Variants§
Implementations§
§impl Phydatawidth
impl Phydatawidth
pub const fn from_bits(val: u8) -> Phydatawidth
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Phydatawidth
impl Clone for Phydatawidth
§fn clone(&self) -> Phydatawidth
fn clone(&self) -> Phydatawidth
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Phydatawidth
impl Eq for Phydatawidth
§impl From<u8> for Phydatawidth
impl From<u8> for Phydatawidth
§fn from(val: u8) -> Phydatawidth
fn from(val: u8) -> Phydatawidth
Converts to this type from the input type.
§impl Ord for Phydatawidth
impl Ord for Phydatawidth
§fn cmp(&self, other: &Phydatawidth) -> Ordering
fn cmp(&self, other: &Phydatawidth) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
§impl PartialEq for Phydatawidth
impl PartialEq for Phydatawidth
§impl PartialOrd for Phydatawidth
impl PartialOrd for Phydatawidth
impl StructuralPartialEq for Phydatawidth
Auto Trait Implementations§
impl Forget for Phydatawidth
impl Freeze for Phydatawidth
impl Move for Phydatawidth
impl RefUnwindSafe for Phydatawidth
impl Send for Phydatawidth
impl Sync for Phydatawidth
impl Unpin for Phydatawidth
impl UnsafeUnpin for Phydatawidth
impl UnwindSafe for Phydatawidth
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