pub enum ValueOrPlace<V> {
Value(V),
Place(PlaceIndex),
}
Expand description
Used as the result of an operand or r-value.
Variants§
Value(V)
Place(PlaceIndex)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<V> RefUnwindSafe for ValueOrPlace<V>where V: RefUnwindSafe,
impl<V> Send for ValueOrPlace<V>where V: Send,
impl<V> Sync for ValueOrPlace<V>where V: Sync,
impl<V> Unpin for ValueOrPlace<V>where V: Unpin,
impl<V> UnwindSafe for ValueOrPlace<V>where V: UnwindSafe,
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
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.