pub struct ClosureParam {
pub name: Ident,
pub ty: Option<Ty>,
}Expand description
A closure parameter.
Fields§
§name: IdentThe name.
ty: Option<Ty>The written type.
Trait Implementations§
Source§impl Clone for ClosureParam
impl Clone for ClosureParam
Source§impl Debug for ClosureParam
impl Debug for ClosureParam
Source§impl PartialEq for ClosureParam
impl PartialEq for ClosureParam
impl StructuralPartialEq for ClosureParam
Auto Trait Implementations§
impl Freeze for ClosureParam
impl RefUnwindSafe for ClosureParam
impl Send for ClosureParam
impl Sync for ClosureParam
impl Unpin for ClosureParam
impl UnsafeUnpin for ClosureParam
impl UnwindSafe for ClosureParam
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