pub struct ConstCacheInfo {
pub pi: usize,
pub e: usize,
pub ln2: usize,
pub ln10: usize,
pub sqrt2: usize,
pub phi: usize,
pub euler: usize,
}Expand description
Snapshot of how many mantissa bits of each constant are currently cached.
Fields§
§pi: usizeCached bits of π.
e: usizeCached bits of e.
ln2: usizeCached bits of ln 2.
ln10: usizeCached bits of ln 10.
sqrt2: usizeCached bits of √2.
phi: usizeCached bits of φ = (1+√5)/2.
euler: usizeCached bits of the Euler–Mascheroni constant γ.
Trait Implementations§
Source§impl Clone for ConstCacheInfo
impl Clone for ConstCacheInfo
Source§fn clone(&self) -> ConstCacheInfo
fn clone(&self) -> ConstCacheInfo
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 ConstCacheInfo
Source§impl Debug for ConstCacheInfo
impl Debug for ConstCacheInfo
impl Eq for ConstCacheInfo
Source§impl PartialEq for ConstCacheInfo
impl PartialEq for ConstCacheInfo
impl StructuralPartialEq for ConstCacheInfo
Auto Trait Implementations§
impl Freeze for ConstCacheInfo
impl RefUnwindSafe for ConstCacheInfo
impl Send for ConstCacheInfo
impl Sync for ConstCacheInfo
impl Unpin for ConstCacheInfo
impl UnsafeUnpin for ConstCacheInfo
impl UnwindSafe for ConstCacheInfo
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> 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