pub struct LeftHandSide {
pub statements: Arena<Statement>,
pub infer: Infer,
}
Expand description
The left-hand side of a replacement.
Fields§
§statements: Arena<Statement>
Statements making up this LHS’s expression DAG.
infer: Infer
The root of this LHS’s expression DAG.
Trait Implementations§
Source§impl Clone for LeftHandSide
impl Clone for LeftHandSide
Source§fn clone(&self) -> LeftHandSide
fn clone(&self) -> LeftHandSide
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LeftHandSide
impl Debug for LeftHandSide
Source§impl Display for LeftHandSide
impl Display for LeftHandSide
Auto Trait Implementations§
impl Freeze for LeftHandSide
impl RefUnwindSafe for LeftHandSide
impl Send for LeftHandSide
impl Sync for LeftHandSide
impl Unpin for LeftHandSide
impl UnwindSafe for LeftHandSide
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)