pub struct LocalVariable<'a> {
pub name: Ident<'a>,
pub ty: Option<Handle<Type<'a>>>,
pub init: Option<Handle<Expression<'a>>>,
pub handle: Handle<Local>,
}
Fields§
§name: Ident<'a>
§ty: Option<Handle<Type<'a>>>
§init: Option<Handle<Expression<'a>>>
§handle: Handle<Local>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for LocalVariable<'a>
impl<'a> RefUnwindSafe for LocalVariable<'a>
impl<'a> Send for LocalVariable<'a>
impl<'a> Sync for LocalVariable<'a>
impl<'a> Unpin for LocalVariable<'a>
impl<'a> UnwindSafe for LocalVariable<'a>
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