pub struct MIRPassData<'mir, 'proj> {
pub mir: &'mir mut MIR,
pub inline_candidates: FxHashSet<ResourceLocation>,
pub proj: &'proj ProjectSettings,
}Fields§
§mir: &'mir mut MIR§inline_candidates: FxHashSet<ResourceLocation>§proj: &'proj ProjectSettingsAuto Trait Implementations§
impl<'mir, 'proj> Freeze for MIRPassData<'mir, 'proj>
impl<'mir, 'proj> RefUnwindSafe for MIRPassData<'mir, 'proj>
impl<'mir, 'proj> Send for MIRPassData<'mir, 'proj>
impl<'mir, 'proj> Sync for MIRPassData<'mir, 'proj>
impl<'mir, 'proj> Unpin for MIRPassData<'mir, 'proj>
impl<'mir, 'proj> !UnwindSafe for MIRPassData<'mir, 'proj>
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> 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