pub struct FloatConst {
pub constant: f64,
}Fields§
§constant: f64Trait Implementations§
Source§impl Clone for FloatConst
impl Clone for FloatConst
Source§fn clone(&self) -> FloatConst
fn clone(&self) -> FloatConst
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 FloatConst
Source§impl Debug for FloatConst
impl Debug for FloatConst
Source§impl PartialEq for FloatConst
impl PartialEq for FloatConst
Source§fn eq(&self, other: &FloatConst) -> bool
fn eq(&self, other: &FloatConst) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FloatConst
Auto Trait Implementations§
impl Freeze for FloatConst
impl RefUnwindSafe for FloatConst
impl Send for FloatConst
impl Sync for FloatConst
impl Unpin for FloatConst
impl UnsafeUnpin for FloatConst
impl UnwindSafe for FloatConst
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