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 (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 RoundingOutcome
Source§impl Debug for RoundingOutcome
impl Debug for RoundingOutcome
impl Eq for RoundingOutcome
Source§impl PartialEq for RoundingOutcome
impl PartialEq 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 UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
Source§fn into_safe_cast(self) -> T
fn into_safe_cast(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.Source§impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
Source§fn into_safe_cast_arch(self) -> T
fn into_safe_cast_arch(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.