pub struct ClosureParam {
pub span: TokenSpan,
pub ident: Ident,
pub shadow: Cell<Option<ScopeSymShadow>>,
}Fields§
§span: TokenSpan§ident: Ident§shadow: Cell<Option<ScopeSymShadow>>Trait Implementations§
§impl Clone for ClosureParam
impl Clone for ClosureParam
§fn clone(&self) -> ClosureParam
fn clone(&self) -> ClosureParam
Returns a copy 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 !RefUnwindSafe for ClosureParam
impl Send for ClosureParam
impl !Sync for ClosureParam
impl Unpin 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