pub struct LocalInit<'ast> {
pub name: AstName<'ast>,
pub location: Location,
pub shadow: Option<&'ast Local<'ast>>,
pub function_depth: usize,
pub loop_depth: usize,
pub annotation: Option<Type<'ast>>,
pub is_const: bool,
pub is_exported: bool,
}Fields§
§name: AstName<'ast>§location: Location§shadow: Option<&'ast Local<'ast>>§function_depth: usize§loop_depth: usize§annotation: Option<Type<'ast>>§is_const: bool§is_exported: boolTrait Implementations§
Auto Trait Implementations§
impl<'ast> !Send for LocalInit<'ast>
impl<'ast> !Sync for LocalInit<'ast>
impl<'ast> Freeze for LocalInit<'ast>
impl<'ast> RefUnwindSafe for LocalInit<'ast>
impl<'ast> Unpin for LocalInit<'ast>
impl<'ast> UnsafeUnpin for LocalInit<'ast>
impl<'ast> UnwindSafe for LocalInit<'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