pub struct ResourceValues {
pub amount: f64,
pub current: f64,
pub maximum: f64,
}Expand description
Resource values captured by one gain or spend event.
Fields§
§amount: f64§current: f64§maximum: f64Trait Implementations§
Source§impl Clone for ResourceValues
impl Clone for ResourceValues
Source§fn clone(&self) -> ResourceValues
fn clone(&self) -> ResourceValues
Returns a duplicate 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 Debug for ResourceValues
impl Debug for ResourceValues
Source§impl PartialEq for ResourceValues
impl PartialEq for ResourceValues
impl Copy for ResourceValues
impl StructuralPartialEq for ResourceValues
Auto Trait Implementations§
impl Freeze for ResourceValues
impl RefUnwindSafe for ResourceValues
impl Send for ResourceValues
impl Sync for ResourceValues
impl Unpin for ResourceValues
impl UnsafeUnpin for ResourceValues
impl UnwindSafe for ResourceValues
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