pub struct Assignment<'tcx> {
    pub lv: Place<'tcx>,
    pub rv: Place<'tcx>,
    pub atype: AssignType,
    pub span: Span,
}Fields§
§lv: Place<'tcx>§rv: Place<'tcx>§atype: AssignType§span: SpanImplementations§
Source§impl<'tcx> Assignment<'tcx>
 
impl<'tcx> Assignment<'tcx>
pub fn new( lv: Place<'tcx>, rv: Place<'tcx>, atype: AssignType, span: Span, ) -> Assignment<'tcx>
Trait Implementations§
Source§impl<'tcx> Clone for Assignment<'tcx>
 
impl<'tcx> Clone for Assignment<'tcx>
Source§fn clone(&self) -> Assignment<'tcx>
 
fn clone(&self) -> Assignment<'tcx>
Returns a duplicate 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 moreAuto Trait Implementations§
impl<'tcx> Freeze for Assignment<'tcx>
impl<'tcx> !RefUnwindSafe for Assignment<'tcx>
impl<'tcx> Send for Assignment<'tcx>
impl<'tcx> Sync for Assignment<'tcx>
impl<'tcx> Unpin for Assignment<'tcx>
impl<'tcx> !UnwindSafe for Assignment<'tcx>
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