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 for InvalidComptimeFloat<F>where
F: Clone,
impl<F> Clone for InvalidComptimeFloat<F>where
F: Clone,
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 for InvalidComptimeFloat<F>where
F: Copy,
Source§impl<F> Debug for InvalidComptimeFloat<F>where
F: Debug,
impl<F> Debug for InvalidComptimeFloat<F>where
F: Debug,
Source§impl<F> Display for InvalidComptimeFloat<F>where
F: FloatBits,
impl<F> Display for InvalidComptimeFloat<F>where
F: FloatBits,
Source§impl<F> Error for InvalidComptimeFloat<F>where
F: FloatBits,
impl<F> Error for InvalidComptimeFloat<F>where
F: FloatBits,
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 for InvalidComptimeFloat<F>where
F: PartialEq,
impl<F> PartialEq for InvalidComptimeFloat<F>where
F: PartialEq,
impl<F> StructuralPartialEq for InvalidComptimeFloat<F>where
F: PartialEq,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneExpand for Twhere
T: Clone,
impl<T> CloneExpand for Twhere
T: Clone,
fn __expand_clone_method(&self, _: &Scope) -> T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more