Struct rhai::BinaryExpr
source · pub struct BinaryExpr {
pub lhs: Expr,
pub rhs: Expr,
}
Expand description
(internals) A binary expression.
Exported under the internals
feature only.
Fields§
§lhs: Expr
LHS expression.
rhs: Expr
RHS expression.
Trait Implementations§
source§impl Clone for BinaryExpr
impl Clone for BinaryExpr
source§fn clone(&self) -> BinaryExpr
fn clone(&self) -> BinaryExpr
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BinaryExpr
impl Debug for BinaryExpr
source§impl Default for BinaryExpr
impl Default for BinaryExpr
source§fn default() -> BinaryExpr
fn default() -> BinaryExpr
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BinaryExpr
impl !RefUnwindSafe for BinaryExpr
impl !Send for BinaryExpr
impl !Sync for BinaryExpr
impl Unpin for BinaryExpr
impl !UnwindSafe for BinaryExpr
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
source§impl<T> Variant for T
impl<T> Variant for T
source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert this
Variant
trait object to &mut dyn Any
.source§fn as_boxed_any(self: Box<T>) -> Box<dyn Any>
fn as_boxed_any(self: Box<T>) -> Box<dyn Any>
Convert this
Variant
trait object to Box<dyn Any>
.