pub struct ScopeProcessing {
pub instructions: Vec<Instruction>,
pub global_state: GlobalState,
}Expand description
Information necessary when compiling a scope.
Fields§
§instructions: Vec<Instruction>The operations.
global_state: GlobalStateThe global state
Implementations§
Source§impl ScopeProcessing
impl ScopeProcessing
pub fn state(&self) -> Ref<'_, GlobalStateInner>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ScopeProcessing
impl !Send for ScopeProcessing
impl !Sync for ScopeProcessing
impl !UnwindSafe for ScopeProcessing
impl Freeze for ScopeProcessing
impl Unpin for ScopeProcessing
impl UnsafeUnpin for ScopeProcessing
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more