Variants
HirItem
MirInstr(Instr, InstrId, Type)
Implementations
sourceimpl Op
impl Op
pub fn as_mir_instr(&self) -> Option<&Instr>
pub fn as_mir_instr_mut(&mut self) -> Option<&mut Instr>
pub fn get_mir_instr_id(&self) -> Option<InstrId>
pub fn get_mir_instr_type(&self) -> Option<&Type>
pub fn as_hir_item(&self) -> Option<Item>
pub fn has_semicolon(&self) -> bool
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more