[−][src]Struct libslide::grammar::UnaryExpr
A unary expression.
Fields
op: UnaryOperator
The unary operator.
rhs: E
The expression the unary operator applies to.
Implementations
impl<E> UnaryExpr<E> where
E: RcExpression,
[src]
E: RcExpression,
Trait Implementations
impl<E: Clone + RcExpression> Clone for UnaryExpr<E>
[src]
impl<E: Debug + RcExpression> Debug for UnaryExpr<E>
[src]
impl Display for UnaryExpr<RcExpr>
[src]
impl Display for UnaryExpr<RcExprPat>
[src]
impl Emit for UnaryExpr<RcExpr>
[src]
fn emit_pretty(&self, config: EmitConfig) -> String
[src]
fn emit_s_expression(&self, config: EmitConfig) -> String
[src]
fn emit_latex(&self, config: EmitConfig) -> String
[src]
fn emit(&self, form: EmitFormat, config: EmitConfig) -> String
[src]
fn emit_debug(&self, _config: EmitConfig) -> String
[src]
fn emit_wrapped_latex(&self, config: EmitConfig) -> String
[src]
impl Emit for UnaryExpr<RcExprPat>
[src]
fn emit_pretty(&self, config: EmitConfig) -> String
[src]
fn emit_s_expression(&self, config: EmitConfig) -> String
[src]
fn emit_latex(&self, config: EmitConfig) -> String
[src]
fn emit(&self, form: EmitFormat, config: EmitConfig) -> String
[src]
fn emit_debug(&self, _config: EmitConfig) -> String
[src]
fn emit_wrapped_latex(&self, config: EmitConfig) -> String
[src]
impl<E: Eq + RcExpression> Eq for UnaryExpr<E>
[src]
impl<E: Hash + RcExpression> Hash for UnaryExpr<E>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<E> Ord for UnaryExpr<E> where
E: RcExpression,
[src]
E: RcExpression,
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<E: PartialEq + RcExpression> PartialEq<UnaryExpr<E>> for UnaryExpr<E>
[src]
impl<E> PartialOrd<UnaryExpr<E>> for UnaryExpr<E> where
E: RcExpression,
[src]
E: RcExpression,
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<E: RcExpression> StructuralEq for UnaryExpr<E>
[src]
impl<E: RcExpression> StructuralPartialEq for UnaryExpr<E>
[src]
Auto Trait Implementations
impl<E> RefUnwindSafe for UnaryExpr<E> where
E: RefUnwindSafe,
E: RefUnwindSafe,
impl<E> Send for UnaryExpr<E> where
E: Send,
E: Send,
impl<E> Sync for UnaryExpr<E> where
E: Sync,
E: Sync,
impl<E> Unpin for UnaryExpr<E> where
E: Unpin,
E: Unpin,
impl<E> UnwindSafe for UnaryExpr<E> where
E: UnwindSafe,
E: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,