Struct cpp_common::Closure
source · 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: u32
Trait Implementations§
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<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