pub struct Closure {
pub extent: Extent,
pub is_async: Option<Extent>,
pub is_move: Option<Extent>,
pub args: Vec<ClosureArg>,
pub return_type: Option<Type>,
pub body: Box<Attributed<Expression>>,
pub whitespace: Vec<Whitespace>,
}Fields§
§extent: Extent§is_async: Option<Extent>§is_move: Option<Extent>§args: Vec<ClosureArg>§return_type: Option<Type>§body: Box<Attributed<Expression>>§whitespace: Vec<Whitespace>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Closure
impl RefUnwindSafe for Closure
impl Send for Closure
impl Sync for Closure
impl Unpin for Closure
impl UnsafeUnpin 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