#[repr(C)]pub struct RawNativeClosure {
pub function: Option<RawNativeFunction>,
pub continuation: Option<RawNativeContinuation>,
pub debug_name_deprecated: Option<&'static str>,
pub debug_name: *mut RawTString,
}Fields§
§function: Option<RawNativeFunction>§continuation: Option<RawNativeContinuation>§debug_name_deprecated: Option<&'static str>§debug_name: *mut RawTStringTrait Implementations§
Source§impl Clone for RawNativeClosure
impl Clone for RawNativeClosure
Source§fn clone(&self) -> RawNativeClosure
fn clone(&self) -> RawNativeClosure
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RawNativeClosure
Auto Trait Implementations§
impl !Send for RawNativeClosure
impl !Sync for RawNativeClosure
impl Freeze for RawNativeClosure
impl RefUnwindSafe for RawNativeClosure
impl Unpin for RawNativeClosure
impl UnsafeUnpin for RawNativeClosure
impl UnwindSafe for RawNativeClosure
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