pub struct Portion {
pub number: f64,
pub unit: Unit,
}Fields§
§number: f64§unit: UnitImplementations§
Trait Implementations§
impl Copy for Portion
Auto Trait Implementations§
impl Freeze for Portion
impl RefUnwindSafe for Portion
impl Send for Portion
impl Sync for Portion
impl Unpin for Portion
impl UnwindSafe for Portion
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