pub struct PostfixOperation {
pub left: Expression,
pub op: PostfixOperator,
}Expand description
An operation involving a Ryan expression and a postfix operator.
Fields§
§left: ExpressionThe expression on which the postfix operator is applied.
op: PostfixOperatorThe postfix operator to be applied.
Trait Implementations§
Source§impl Clone for PostfixOperation
impl Clone for PostfixOperation
Source§fn clone(&self) -> PostfixOperation
fn clone(&self) -> PostfixOperation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PostfixOperation
impl Debug for PostfixOperation
Source§impl Display for PostfixOperation
impl Display for PostfixOperation
Source§impl PartialEq for PostfixOperation
impl PartialEq for PostfixOperation
Source§fn eq(&self, other: &PostfixOperation) -> bool
fn eq(&self, other: &PostfixOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PostfixOperation
Auto Trait Implementations§
impl !Send for PostfixOperation
impl !Sync for PostfixOperation
impl Freeze for PostfixOperation
impl RefUnwindSafe for PostfixOperation
impl Unpin for PostfixOperation
impl UnsafeUnpin for PostfixOperation
impl UnwindSafe for PostfixOperation
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