pub struct ClosureUse<'ast> {
pub var: &'ast Token,
pub by_ref: bool,
pub span: Span,
}Fields§
§var: &'ast Token§by_ref: bool§span: SpanTrait Implementations§
Source§impl<'ast> Clone for ClosureUse<'ast>
impl<'ast> Clone for ClosureUse<'ast>
Source§fn clone(&self) -> ClosureUse<'ast>
fn clone(&self) -> ClosureUse<'ast>
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<'ast> Debug for ClosureUse<'ast>
impl<'ast> Debug for ClosureUse<'ast>
Source§impl<'ast> Serialize for ClosureUse<'ast>
impl<'ast> Serialize for ClosureUse<'ast>
impl<'ast> Copy for ClosureUse<'ast>
Auto Trait Implementations§
impl<'ast> Freeze for ClosureUse<'ast>
impl<'ast> RefUnwindSafe for ClosureUse<'ast>
impl<'ast> Send for ClosureUse<'ast>
impl<'ast> Sync for ClosureUse<'ast>
impl<'ast> Unpin for ClosureUse<'ast>
impl<'ast> UnwindSafe for ClosureUse<'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