pub struct BuiltinClosureFn(pub Arc<BuiltinClosure>);Expand description
Wrapper around a closure-backed builtin so Value can still derive
Debug. dyn Fn doesn’t implement Debug; we print a placeholder.
Tuple Fields§
§0: Arc<BuiltinClosure>Implementations§
Trait Implementations§
Source§impl Clone for BuiltinClosureFn
impl Clone for BuiltinClosureFn
Source§fn clone(&self) -> BuiltinClosureFn
fn clone(&self) -> BuiltinClosureFn
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BuiltinClosureFn
impl !RefUnwindSafe for BuiltinClosureFn
impl Send for BuiltinClosureFn
impl Sync for BuiltinClosureFn
impl Unpin for BuiltinClosureFn
impl UnsafeUnpin for BuiltinClosureFn
impl !UnwindSafe for BuiltinClosureFn
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