pub struct Cand {
pub lhs: Operand,
pub rhs: Operand,
pub attributes: Vec<RootAttribute>,
}
Expand description
A candidate rewrite.
Fields§
§lhs: Operand
The left-hand side expression that can be replaced by the right-hand side.
rhs: Operand
The right-hand side expression that can replace the left-hand side.
attributes: Vec<RootAttribute>
Attributes for this rewrite.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Cand
impl RefUnwindSafe for Cand
impl Send for Cand
impl Sync for Cand
impl Unpin for Cand
impl UnwindSafe for Cand
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
)