pub struct ClosureUseVar {
pub name: Box<str>,
pub by_ref: bool,
pub span: Span,
}Fields§
§name: Box<str>§by_ref: bool§span: SpanTrait Implementations§
Source§impl Clone for ClosureUseVar
impl Clone for ClosureUseVar
Source§fn clone(&self) -> ClosureUseVar
fn clone(&self) -> ClosureUseVar
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClosureUseVar
impl Debug for ClosureUseVar
Auto Trait Implementations§
impl Freeze for ClosureUseVar
impl RefUnwindSafe for ClosureUseVar
impl Send for ClosureUseVar
impl Sync for ClosureUseVar
impl Unpin for ClosureUseVar
impl UnsafeUnpin for ClosureUseVar
impl UnwindSafe for ClosureUseVar
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