#[repr(transparent)]pub struct WaveformVal(pub u8);Tuple Fields§
§0: u8Implementations§
Trait Implementations§
Source§impl Clone for WaveformVal
impl Clone for WaveformVal
Source§fn clone(&self) -> WaveformVal
fn clone(&self) -> WaveformVal
Returns a duplicate 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 WaveformVal
impl Debug for WaveformVal
Source§impl Default for WaveformVal
impl Default for WaveformVal
Source§fn default() -> WaveformVal
fn default() -> WaveformVal
Returns the “default value” for a type. Read more
Source§impl From<WaveformVal> for u8
impl From<WaveformVal> for u8
Source§fn from(value: WaveformVal) -> Self
fn from(value: WaveformVal) -> Self
Converts to this type from the input type.
Source§impl Ord for WaveformVal
impl Ord for WaveformVal
Source§fn cmp(&self, other: &WaveformVal) -> Ordering
fn cmp(&self, other: &WaveformVal) -> 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 WaveformVal
impl PartialEq for WaveformVal
Source§impl PartialOrd for WaveformVal
impl PartialOrd for WaveformVal
impl Copy for WaveformVal
impl Eq for WaveformVal
impl StructuralPartialEq for WaveformVal
Auto Trait Implementations§
impl Freeze for WaveformVal
impl RefUnwindSafe for WaveformVal
impl Send for WaveformVal
impl Sync for WaveformVal
impl Unpin for WaveformVal
impl UnwindSafe for WaveformVal
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