pub struct LIR {
pub functions: FxHashMap<ResourceLocation, LIRFunction>,
}Fields§
§functions: FxHashMap<ResourceLocation, LIRFunction>Implementations§
Trait Implementations§
Source§impl IRType for LIR
impl IRType for LIR
type FunctionType = LIRFunction
fn get_fns<'this>( &'this self, ) -> &'this FxHashMap<ResourceLocation, Self::FunctionType>
fn get_fns_mut<'this>( &'this mut self, ) -> &'this mut FxHashMap<ResourceLocation, Self::FunctionType>
fn iter_fns(&self) -> Iter<'_, ResourceLocation, Self::FunctionType>
fn iter_fns_mut(&mut self) -> IterMut<'_, ResourceLocation, Self::FunctionType>
fn instr_count(&self) -> usize
Auto Trait Implementations§
impl Freeze for LIR
impl RefUnwindSafe for LIR
impl Send for LIR
impl Sync for LIR
impl Unpin for LIR
impl UnwindSafe for LIR
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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