pub struct FunctionScopeState {
pub block_scope_stack: Vec<BlockScope>,
pub return_type: ResolvedType,
}
Fields§
§block_scope_stack: Vec<BlockScope>
§return_type: ResolvedType
Implementations§
Source§impl FunctionScopeState
impl FunctionScopeState
pub fn new(return_type: ResolvedType) -> Self
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