Struct dgen::ConstDecimal
source · pub struct ConstDecimal(_);
Implementations
sourceimpl ConstDecimal
impl ConstDecimal
pub fn new<T: Into<f64>>(val: T) -> AnyFunction
Trait Implementations
sourceimpl Clone for ConstDecimal
impl Clone for ConstDecimal
sourcefn clone(&self) -> ConstDecimal
fn clone(&self) -> ConstDecimal
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ConstDecimal
impl Debug for ConstDecimal
sourceimpl PartialEq<ConstDecimal> for ConstDecimal
impl PartialEq<ConstDecimal> for ConstDecimal
sourcefn eq(&self, other: &ConstDecimal) -> bool
fn eq(&self, other: &ConstDecimal) -> bool
sourceimpl RunnableFunction<f64> for ConstDecimal
impl RunnableFunction<f64> for ConstDecimal
fn gen_value(&self, _context: &mut ProgramContext) -> Result<f64, Error>
fn write_value(
&self,
_context: &mut ProgramContext,
output: &mut DataGenOutput<'_>
) -> Result<u64, Error>
impl StructuralPartialEq for ConstDecimal
Auto Trait Implementations
impl RefUnwindSafe for ConstDecimal
impl Send for ConstDecimal
impl Sync for ConstDecimal
impl Unpin for ConstDecimal
impl UnwindSafe for ConstDecimal
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more