pub struct Unary {
pub operator: String,
pub operand: Box<Expression>,
pub prefix: bool,
}Expand description
A unary operation: operator (operand) when prefix, else
operand operator (IS NULL, IS NOT NULL).
PHP: Utopia\Query\AST\Expression\Unary (operator, operand, prefix).
Fields§
§operator: StringThe operator.
operand: Box<Expression>The operand.
prefix: boolWhether the operator comes first.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Unary
Auto Trait Implementations§
impl Forget for Unary
impl Freeze for Unarywhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const Expression is !null: Freeze,
PhantomData<Expression>: Freeze,
impl Move for Unary
impl RefUnwindSafe for Unarywhere
Atomic<*mut ()>: RefUnwindSafe,
Atomic<usize>: RefUnwindSafe,
OnceLock<Index>: RefUnwindSafe,
Atomic<u8>: RefUnwindSafe,
impl Send for Unary
impl Sync for Unary
impl Unpin for Unary
impl UnsafeUnpin for Unarywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const Expression is !null: UnsafeUnpin,
PhantomData<Expression>: UnsafeUnpin,
impl UnwindSafe for Unary
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