Struct beancount_parser::amount::Value
source · pub struct Value(_);Expand description
A direct value, the leaf of the expression tree
Implementations
sourceimpl Value
impl Value
sourcepub fn try_into_f64(self) -> Result<f64, ConversionError>
pub fn try_into_f64(self) -> Result<f64, ConversionError>
sourcepub fn try_into_f32(self) -> Result<f32, ConversionError>
pub fn try_into_f32(self) -> Result<f32, ConversionError>
Trait Implementations
impl Copy for Value
impl StructuralPartialEq for Value
Auto Trait Implementations
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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