Enum Txpreempamptune
#[repr(u8)]pub enum Txpreempamptune {
Disable = 0,
X1 = 1,
X2 = 2,
X3 = 3,
}Variants§
Disable = 0
HS transmitter preemphasis circuit disabled
X1 = 1
HS transmitter preemphasis circuit sources 1x preemphasis current
X2 = 2
HS transmitter preemphasis circuit sources 2x preemphasis current
X3 = 3
HS transmitter preemphasis circuit sources 3x preemphasis current
Implementations§
§impl Txpreempamptune
impl Txpreempamptune
pub const fn from_bits(val: u8) -> Txpreempamptune
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Txpreempamptune
impl Clone for Txpreempamptune
§fn clone(&self) -> Txpreempamptune
fn clone(&self) -> Txpreempamptune
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 Txpreempamptune
impl Eq for Txpreempamptune
§impl From<Txpreempamptune> for u8
impl From<Txpreempamptune> for u8
§fn from(val: Txpreempamptune) -> u8
fn from(val: Txpreempamptune) -> u8
Converts to this type from the input type.
§impl From<u8> for Txpreempamptune
impl From<u8> for Txpreempamptune
§fn from(val: u8) -> Txpreempamptune
fn from(val: u8) -> Txpreempamptune
Converts to this type from the input type.
§impl Ord for Txpreempamptune
impl Ord for Txpreempamptune
§fn cmp(&self, other: &Txpreempamptune) -> Ordering
fn cmp(&self, other: &Txpreempamptune) -> 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
§impl PartialEq for Txpreempamptune
impl PartialEq for Txpreempamptune
§impl PartialOrd for Txpreempamptune
impl PartialOrd for Txpreempamptune
impl StructuralPartialEq for Txpreempamptune
Auto Trait Implementations§
impl Freeze for Txpreempamptune
impl RefUnwindSafe for Txpreempamptune
impl Send for Txpreempamptune
impl Sync for Txpreempamptune
impl Unpin for Txpreempamptune
impl UnsafeUnpin for Txpreempamptune
impl UnwindSafe for Txpreempamptune
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