pub enum FromSlotRef<'a> {
Expr(&'a Expr),
Select(&'a SelectStatement),
}Expand description
The shared half of FromSlot.
v7.40.11 — analysis reads a statement it must not modify, and Rust
has no way to write one walk that is generic over &/&mut. The two
bodies are the same destructure and must move together; the
destructures are total, so a new slot fails to compile in both.
Variants§
Expr(&'a Expr)
Select(&'a SelectStatement)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for FromSlotRef<'a>
impl<'a> RefUnwindSafe for FromSlotRef<'a>
impl<'a> Send for FromSlotRef<'a>
impl<'a> Sync for FromSlotRef<'a>
impl<'a> Unpin for FromSlotRef<'a>
impl<'a> UnsafeUnpin for FromSlotRef<'a>
impl<'a> UnwindSafe for FromSlotRef<'a>
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