#[repr(C)]pub struct StackClosure {
pub function_id: u32,
pub type_id: u32,
}Expand description
Stack-allocated closure. No HeapHeader; captures follow the
function_id/type_id pair at offset 8.
Fields§
§function_id: u32§type_id: u32Auto Trait Implementations§
impl Freeze for StackClosure
impl RefUnwindSafe for StackClosure
impl Send for StackClosure
impl Sync for StackClosure
impl Unpin for StackClosure
impl UnsafeUnpin for StackClosure
impl UnwindSafe for StackClosure
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