pub enum RoundingOutcome {
ExactOrRoundedDown,
RoundedUp,
}Expand description
Describes the outcome of a round_waveform operation.
Variants§
ExactOrRoundedDown
The requested waveform was achievable exactly or by rounding values down.
RoundedUp
The requested waveform could only be achieved by rounding up.
Trait Implementations§
Source§impl Clone for RoundingOutcome
impl Clone for RoundingOutcome
Source§fn clone(&self) -> RoundingOutcome
fn clone(&self) -> RoundingOutcome
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 RoundingOutcome
impl Debug for RoundingOutcome
Source§impl PartialEq for RoundingOutcome
impl PartialEq for RoundingOutcome
impl Copy for RoundingOutcome
impl Eq for RoundingOutcome
impl StructuralPartialEq for RoundingOutcome
Auto Trait Implementations§
impl Freeze for RoundingOutcome
impl RefUnwindSafe for RoundingOutcome
impl Send for RoundingOutcome
impl Sync for RoundingOutcome
impl Unpin for RoundingOutcome
impl UnwindSafe for RoundingOutcome
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