pub struct FunctionScopeState {
pub block_scope_stack: Vec<BlockScope>,
pub variable_index: usize,
}
Fields§
§block_scope_stack: Vec<BlockScope>
§variable_index: usize
Implementations§
Source§impl FunctionScopeState
impl FunctionScopeState
pub const fn emit_variable_index(&mut self) -> usize
Trait Implementations§
Source§impl Clone for FunctionScopeState
impl Clone for FunctionScopeState
Source§fn clone(&self) -> FunctionScopeState
fn clone(&self) -> FunctionScopeState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FunctionScopeState
impl Debug for FunctionScopeState
Source§impl Default for FunctionScopeState
impl Default for FunctionScopeState
Auto Trait Implementations§
impl Freeze for FunctionScopeState
impl RefUnwindSafe for FunctionScopeState
impl !Send for FunctionScopeState
impl !Sync for FunctionScopeState
impl Unpin for FunctionScopeState
impl UnwindSafe for FunctionScopeState
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