Struct beancount_parser_lima::types::LooseAmount
source · pub struct LooseAmount<'a> { /* private fields */ }Expand description
An amount where each element of ExprValue and Currency may not actually be specified.
Implementations§
Trait Implementations§
source§impl<'a> Clone for LooseAmount<'a>
impl<'a> Clone for LooseAmount<'a>
source§fn clone(&self) -> LooseAmount<'a>
fn clone(&self) -> LooseAmount<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<'a> Debug for LooseAmount<'a>
impl<'a> Debug for LooseAmount<'a>
source§impl<'a> PartialEq for LooseAmount<'a>
impl<'a> PartialEq for LooseAmount<'a>
source§fn eq(&self, other: &LooseAmount<'a>) -> bool
fn eq(&self, other: &LooseAmount<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'a> Eq for LooseAmount<'a>
impl<'a> StructuralPartialEq for LooseAmount<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for LooseAmount<'a>
impl<'a> Send for LooseAmount<'a>
impl<'a> Sync for LooseAmount<'a>
impl<'a> Unpin for LooseAmount<'a>
impl<'a> UnwindSafe for LooseAmount<'a>
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more