pub struct RoundedWaveform<WfHw> {
pub status: c_int,
pub hardware_waveform: WfHw,
}Expand description
The result of a round_waveform_tohw operation.
Fields§
§status: c_intA status code, 0 for success or 1 if values were rounded up.
hardware_waveform: WfHwThe driver-specific hardware representation of the waveform.
Trait Implementations§
Source§impl<WfHw: Clone> Clone for RoundedWaveform<WfHw>
impl<WfHw: Clone> Clone for RoundedWaveform<WfHw>
Source§fn clone(&self) -> RoundedWaveform<WfHw>
fn clone(&self) -> RoundedWaveform<WfHw>
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<WfHw: Debug> Debug for RoundedWaveform<WfHw>
impl<WfHw: Debug> Debug for RoundedWaveform<WfHw>
Source§impl<WfHw: PartialEq> PartialEq for RoundedWaveform<WfHw>
impl<WfHw: PartialEq> PartialEq for RoundedWaveform<WfHw>
impl<WfHw: Copy> Copy for RoundedWaveform<WfHw>
impl<WfHw: Eq> Eq for RoundedWaveform<WfHw>
impl<WfHw> StructuralPartialEq for RoundedWaveform<WfHw>
Auto Trait Implementations§
impl<WfHw> Freeze for RoundedWaveform<WfHw>where
WfHw: Freeze,
impl<WfHw> RefUnwindSafe for RoundedWaveform<WfHw>where
WfHw: RefUnwindSafe,
impl<WfHw> Send for RoundedWaveform<WfHw>where
WfHw: Send,
impl<WfHw> Sync for RoundedWaveform<WfHw>where
WfHw: Sync,
impl<WfHw> Unpin for RoundedWaveform<WfHw>where
WfHw: Unpin,
impl<WfHw> UnwindSafe for RoundedWaveform<WfHw>where
WfHw: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> PinInit<T> for T
impl<T> PinInit<T> for T
Source§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
Initializes
slot. Read more