pub struct PhpUnaryOp {
pub operator: PhpUnaryOperator,
pub operand: Box<PhpExpression>,
}Expand description
PHP 一元操作
Fields§
§operator: PhpUnaryOperator§operand: Box<PhpExpression>Trait Implementations§
Source§impl Clone for PhpUnaryOp
impl Clone for PhpUnaryOp
Source§fn clone(&self) -> PhpUnaryOp
fn clone(&self) -> PhpUnaryOp
Returns a duplicate 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 PhpUnaryOp
impl Debug for PhpUnaryOp
Source§impl<'de> Deserialize<'de> for PhpUnaryOp
impl<'de> Deserialize<'de> for PhpUnaryOp
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 PartialEq for PhpUnaryOp
impl PartialEq for PhpUnaryOp
Source§impl Serialize for PhpUnaryOp
impl Serialize for PhpUnaryOp
impl StructuralPartialEq for PhpUnaryOp
Auto Trait Implementations§
impl Freeze for PhpUnaryOp
impl RefUnwindSafe for PhpUnaryOp
impl Send for PhpUnaryOp
impl Sync for PhpUnaryOp
impl Unpin for PhpUnaryOp
impl UnwindSafe for PhpUnaryOp
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