Enum sweet_potator::recipe::ingredient::QuantityValue
source · [−]Variants
Integer(Integer)
Decimal(Decimal)
Fraction(Fraction)
Implementations
sourceimpl QuantityValue
impl QuantityValue
pub fn parse_from_str(value: &str) -> ParseResult<(Self, &str)>
Trait Implementations
sourceimpl Debug for QuantityValue
impl Debug for QuantityValue
sourceimpl Display for QuantityValue
impl Display for QuantityValue
sourceimpl Serialize for QuantityValue
impl Serialize for QuantityValue
Auto Trait Implementations
impl RefUnwindSafe for QuantityValue
impl Send for QuantityValue
impl Sync for QuantityValue
impl Unpin for QuantityValue
impl UnwindSafe for QuantityValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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