pub struct RightHandSide {
pub statements: Arena<Statement>,
pub result: Operand,
}
Expand description
The right-hand side of a replacement.
Fields§
§statements: Arena<Statement>
Statements making up this RHS’s expression DAG.
result: Operand
The root of this RHS’s expression DAG.
Trait Implementations§
Source§impl Clone for RightHandSide
impl Clone for RightHandSide
Source§fn clone(&self) -> RightHandSide
fn clone(&self) -> RightHandSide
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 RightHandSide
impl Debug for RightHandSide
Source§impl Display for RightHandSide
impl Display for RightHandSide
Auto Trait Implementations§
impl Freeze for RightHandSide
impl RefUnwindSafe for RightHandSide
impl Send for RightHandSide
impl Sync for RightHandSide
impl Unpin for RightHandSide
impl UnwindSafe for RightHandSide
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
)