Enum geo_aid::generator::fast_float::FastFloat
source · pub enum FastFloat {
Zero,
One,
Other(f64),
}
Expand description
A floating point value for optimized operations with often use of values 1 and 0.
Variants§
Implementations§
Trait Implementations§
source§impl AddAssign for FastFloat
impl AddAssign for FastFloat
source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moreimpl Copy for FastFloat
Auto Trait Implementations§
impl RefUnwindSafe for FastFloat
impl Send for FastFloat
impl Sync for FastFloat
impl Unpin for FastFloat
impl UnwindSafe for FastFloat
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> CloneWithNode for Twhere
T: Clone,
impl<T> CloneWithNode for Twhere
T: Clone,
fn clone_with_node(&mut self) -> T
fn clone_without_node(&self) -> T
source§impl<T> Convert for T
impl<T> Convert for T
source§fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
fn convert<U>(self, context: &CompileContext) -> Expr<U>where
U: ConvertFrom<T>,
Errors Read more
source§fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
Errors Read more