[−][src]Enum rustc_mir_build::build::LocalsForNode
Variants
One(Local)In the usual case, a HirId for an identifier maps to at most
one Local declaration.
The exceptional case is identifiers in a match arm's pattern
that are referenced in a guard of that match arm. For these,
we have 2 Locals.
-
for_arm_bodyis the Local used in the arm body (which is just like theOnecase above), -
ref_for_guardis the Local used in the arm's guard (which is a reference to a temp that is an alias offor_arm_body).
Implementations
impl LocalsForNode[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LocalsForNode
impl Send for LocalsForNode
impl Sync for LocalsForNode
impl Unpin for LocalsForNode
impl UnwindSafe for LocalsForNode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,