pub struct Local {
pub object: ObjectId,
pub rust_name: String,
}Expand description
A local variable hoisted to the top of the function.
Fields§
§object: ObjectIdThe object it defines.
rust_name: StringThe Rust name it is given, unique within the function.
Trait 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