pub struct Closure {
pub sig: ClosureSig,
pub body: TokenTree,
pub body_str: String,
pub callback_offset: u32,
}Fields§
§sig: ClosureSig§body: TokenTree§body_str: String§callback_offset: u32Trait Implementations§
Auto Trait Implementations§
impl Freeze for Closure
impl RefUnwindSafe for Closure
impl !Send for Closure
impl !Sync for Closure
impl Unpin for Closure
impl UnwindSafe for Closure
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