Struct rgbds_obj::RpnExpr [−][src]
pub struct RpnExpr(_);
A Reverse Polish Notation expression.
Printing
An expression can be printed in one of two ways.
By default, the expression is printed using Reverse Polish Notation still; however, if the
#
“alternate printing” flag is passed, the expression will be pretty-printed using infix
notation instead, with a minimal amount of parentheses.
Implementations
impl RpnExpr
[src]
impl RpnExpr
[src]pub fn from_bytes(bytes: Vec<u8>) -> Self
[src]
pub fn from_bytes(bytes: Vec<u8>) -> Self
[src]Constructs a RPN expression from its byte serialization. This does not check the expression’s correctness.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RpnExpr
impl Send for RpnExpr
impl Sync for RpnExpr
impl Unpin for RpnExpr
impl UnwindSafe for RpnExpr
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more