pub struct LocalDecl {
pub name: Option<Symbol>,
pub ty: Ty,
pub mutable: bool,
pub span: Span,
}Expand description
Local variable declaration
Fields§
§name: Option<Symbol>Name (for debugging)
ty: TyType
mutable: boolIs this mutable?
span: SpanSource span
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LocalDecl
impl RefUnwindSafe for LocalDecl
impl Send for LocalDecl
impl Sync for LocalDecl
impl Unpin for LocalDecl
impl UnwindSafe for LocalDecl
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