Struct quil_rs::expression::PrefixExpression
source · pub struct PrefixExpression {
pub operator: PrefixOperator,
pub expression: Box<Expression>,
}
Fields§
§operator: PrefixOperator
§expression: Box<Expression>
Implementations§
source§impl PrefixExpression
impl PrefixExpression
pub fn new(operator: PrefixOperator, expression: Box<Expression>) -> Self
Trait Implementations§
source§impl Clone for PrefixExpression
impl Clone for PrefixExpression
source§fn clone(&self) -> PrefixExpression
fn clone(&self) -> PrefixExpression
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 moreAuto Trait Implementations§
impl RefUnwindSafe for PrefixExpression
impl Send for PrefixExpression
impl Sync for PrefixExpression
impl Unpin for PrefixExpression
impl UnwindSafe for PrefixExpression
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