#[repr(C)]pub struct ClosureTy<'ast> { /* private fields */ }
Expand description
The semantic representation of a closure type.
Closure expressions create anonymous types, which implement traits to call the closure. This type on it’s own therefore only identifies the type of the closure.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'ast> Freeze for ClosureTy<'ast>
impl<'ast> RefUnwindSafe for ClosureTy<'ast>
impl<'ast> !Send for ClosureTy<'ast>
impl<'ast> !Sync for ClosureTy<'ast>
impl<'ast> Unpin for ClosureTy<'ast>
impl<'ast> UnwindSafe for ClosureTy<'ast>
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