pub struct ClosureUseVar<'src> {
pub name: &'src str,
pub by_ref: bool,
pub span: Span,
}Fields§
§name: &'src str§by_ref: bool§span: SpanTrait Implementations§
Source§impl<'src> Clone for ClosureUseVar<'src>
impl<'src> Clone for ClosureUseVar<'src>
Source§fn clone(&self) -> ClosureUseVar<'src>
fn clone(&self) -> ClosureUseVar<'src>
Returns a duplicate 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 moreSource§impl<'src> Debug for ClosureUseVar<'src>
impl<'src> Debug for ClosureUseVar<'src>
Auto Trait Implementations§
impl<'src> Freeze for ClosureUseVar<'src>
impl<'src> RefUnwindSafe for ClosureUseVar<'src>
impl<'src> Send for ClosureUseVar<'src>
impl<'src> Sync for ClosureUseVar<'src>
impl<'src> Unpin for ClosureUseVar<'src>
impl<'src> UnsafeUnpin for ClosureUseVar<'src>
impl<'src> UnwindSafe for ClosureUseVar<'src>
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