pub struct ConversionResult {
pub success: bool,
pub rpn_expression: String,
pub infix_expression: String,
pub message: String,
}
Expand description
Represents the result of a conversion between Reverse Polish Notation (RPN) and infix notation.
§Fields
success
- A boolean indicating whether the conversion was successful.rpn_expression
- A string containing the RPN representation of the expression.infix_expression
- A string containing the infix representation of the expression.message
- A string with additional information, such as error messages or status notes.
Fields§
§success: bool
§rpn_expression: String
§infix_expression: String
§message: String
Auto Trait Implementations§
impl Freeze for ConversionResult
impl RefUnwindSafe for ConversionResult
impl Send for ConversionResult
impl Sync for ConversionResult
impl Unpin for ConversionResult
impl UnwindSafe for ConversionResult
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