pub struct ClosureExpr {
pub args: Vec<(Param, Kind)>,
pub returns: Option<Kind>,
pub body: Expr,
}Fields§
§args: Vec<(Param, Kind)>§returns: Option<Kind>§body: ExprTrait Implementations§
Source§impl Clone for ClosureExpr
impl Clone for ClosureExpr
Source§impl Debug for ClosureExpr
impl Debug for ClosureExpr
impl Eq for ClosureExpr
Source§impl From<Closure> for ClosureExpr
impl From<Closure> for ClosureExpr
Source§impl From<ClosureExpr> for Closure
impl From<ClosureExpr> for Closure
Source§fn from(v: ClosureExpr) -> Self
fn from(v: ClosureExpr) -> Self
Converts to this type from the input type.
Source§impl Hash for ClosureExpr
impl Hash for ClosureExpr
Source§impl Ord for ClosureExpr
impl Ord for ClosureExpr
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ClosureExpr
impl PartialEq for ClosureExpr
Source§impl PartialOrd for ClosureExpr
impl PartialOrd for ClosureExpr
impl StructuralPartialEq for ClosureExpr
Source§impl ToSql for ClosureExpr
impl ToSql for ClosureExpr
Source§impl<V: Visitor> Visit<V> for ClosureExpr
impl<V: Visitor> Visit<V> for ClosureExpr
Auto Trait Implementations§
impl !Freeze for ClosureExpr
impl RefUnwindSafe for ClosureExpr
impl Send for ClosureExpr
impl Sync for ClosureExpr
impl Unpin for ClosureExpr
impl UnsafeUnpin for ClosureExpr
impl UnwindSafe for ClosureExpr
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.