pub struct Closure {
pub is_const: bool,
pub is_async: bool,
pub is_move: bool,
pub fn_decl: FnDecl,
pub body: Box<Expr>,
}Fields§
§is_const: bool§is_async: bool§is_move: bool§fn_decl: FnDecl§body: Box<Expr>Implementations§
Trait Implementations§
source§impl From<Closure> for TokenStream
impl From<Closure> for TokenStream
source§impl PartialEq for Closure
impl PartialEq for Closure
impl Eq for Closure
impl StructuralEq for Closure
impl StructuralPartialEq for Closure
Auto Trait Implementations§
impl RefUnwindSafe for Closure
impl Send for Closure
impl Sync for Closure
impl Unpin for Closure
impl UnwindSafe for Closure
Blanket Implementations§
source§impl<E> Accessible for Ewhere
E: Into<Expr>,
impl<E> Accessible for Ewhere E: Into<Expr>,
source§impl<E> Assignable for Ewhere
E: Into<Expr>,
impl<E> Assignable for Ewhere E: Into<Expr>,
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