pub struct InvalidComptimeFloat<F>(pub F);Expand description
A float value that cannot be used as a ComptimeFloat because it is
infinite or NaN.
Tuple Fields§
§0: FTrait Implementations§
Source§impl<F: Clone> Clone for InvalidComptimeFloat<F>
impl<F: Clone> Clone for InvalidComptimeFloat<F>
Source§fn clone(&self) -> InvalidComptimeFloat<F>
fn clone(&self) -> InvalidComptimeFloat<F>
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<F: Copy> Copy for InvalidComptimeFloat<F>
Source§impl<F: Debug> Debug for InvalidComptimeFloat<F>
impl<F: Debug> Debug for InvalidComptimeFloat<F>
Source§impl<F: FloatBits> Display for InvalidComptimeFloat<F>
impl<F: FloatBits> Display for InvalidComptimeFloat<F>
Source§impl<F: FloatBits> Error for InvalidComptimeFloat<F>
impl<F: FloatBits> Error for InvalidComptimeFloat<F>
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl<F: PartialEq> PartialEq for InvalidComptimeFloat<F>
impl<F: PartialEq> PartialEq for InvalidComptimeFloat<F>
impl<F: PartialEq> StructuralPartialEq for InvalidComptimeFloat<F>
Auto Trait Implementations§
impl<F> Freeze for InvalidComptimeFloat<F>where
F: Freeze,
impl<F> RefUnwindSafe for InvalidComptimeFloat<F>where
F: RefUnwindSafe,
impl<F> Send for InvalidComptimeFloat<F>where
F: Send,
impl<F> Sync for InvalidComptimeFloat<F>where
F: Sync,
impl<F> Unpin for InvalidComptimeFloat<F>where
F: Unpin,
impl<F> UnsafeUnpin for InvalidComptimeFloat<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for InvalidComptimeFloat<F>where
F: 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