pub struct Closure { /* private fields */ }
Expand description
A callable combined with the runtime scope where it was declared.
Implementations§
Trait Implementations§
source§impl PartialEq for Closure
impl PartialEq for Closure
source§impl PartialOrd for Closure
impl PartialOrd for Closure
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Closure
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