pub enum ExpressionOrString {
EExpr(ExpressionI),
EStr(String),
}
Expand description
Used by the print()
function. Can hold an Expression
or a String
.
Variants§
EExpr(ExpressionI)
EStr(String)
Trait Implementations§
Source§impl Debug for ExpressionOrString
impl Debug for ExpressionOrString
Source§impl PartialEq for ExpressionOrString
impl PartialEq for ExpressionOrString
impl StructuralPartialEq for ExpressionOrString
Auto Trait Implementations§
impl Freeze for ExpressionOrString
impl RefUnwindSafe for ExpressionOrString
impl Send for ExpressionOrString
impl Sync for ExpressionOrString
impl Unpin for ExpressionOrString
impl UnwindSafe for ExpressionOrString
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