pub struct Local {
pub name: String,
pub ty: Ty,
pub is_mut: bool,
pub span: Span,
}Expand description
Metadata for one local variable.
Fields§
§name: String§ty: Ty§is_mut: bool§span: SpanTrait Implementations§
Auto Trait Implementations§
impl Freeze for Local
impl RefUnwindSafe for Local
impl Send for Local
impl Sync for Local
impl Unpin for Local
impl UnsafeUnpin for Local
impl UnwindSafe for Local
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