#[repr(C)]pub struct Binary {
pub lhs: Box<Expression>,
pub operator: BinaryOperator,
pub rhs: Box<Expression>,
}Expand description
Represents a PHP binary operation.
A binary operation is an operation that takes two operands, a left-hand side and a right-hand side.
Fields§
§lhs: Box<Expression>§operator: BinaryOperator§rhs: Box<Expression>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Binary
impl<'de> Deserialize<'de> for Binary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for Binary
impl Ord for Binary
Source§impl PartialOrd for Binary
impl PartialOrd for Binary
impl Eq for Binary
impl StructuralPartialEq for Binary
Auto Trait Implementations§
impl Freeze for Binary
impl RefUnwindSafe for Binary
impl Send for Binary
impl Sync for Binary
impl Unpin for Binary
impl UnwindSafe for Binary
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