Struct calc::CalculatorState
source · pub struct CalculatorState {
pub screen: ScreenBuffer,
pub msg: Vec<Character>,
/* private fields */
}
Expand description
Represents the state of the calculator
Fields§
§screen: ScreenBuffer
§msg: Vec<Character>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for CalculatorState
impl Send for CalculatorState
impl Sync for CalculatorState
impl Unpin for CalculatorState
impl UnwindSafe for CalculatorState
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