pub struct ClosureMeta {
pub this_type: Option<Type>,
pub self_name: Option<Ident>,
pub runtime_generics: Vec<String>,
pub expr_id: ExprId,
pub signature: Type,
pub captured: Vec<CapturedVar>,
pub params: Vec<TypedParam>,
pub body: ClosureBody,
pub return_type: Type,
}Fields§
§this_type: Option<Type>§self_name: Option<Ident>§runtime_generics: Vec<String>§expr_id: ExprId§signature: Type§captured: Vec<CapturedVar>§params: Vec<TypedParam>§body: ClosureBody§return_type: TypeTrait Implementations§
Source§impl Clone for ClosureMeta
impl Clone for ClosureMeta
Auto Trait Implementations§
impl Freeze for ClosureMeta
impl RefUnwindSafe for ClosureMeta
impl Send for ClosureMeta
impl Sync for ClosureMeta
impl Unpin for ClosureMeta
impl UnsafeUnpin for ClosureMeta
impl UnwindSafe for ClosureMeta
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