pub struct Location {
pub block: BasicBlock,
pub statement_index: usize,
}
Expand description
Proxy for mir::Location
Fields§
§block: BasicBlock
§statement_index: usize
Implementations§
Source§impl<'de> Location
impl<'de> Location
pub fn deserialize<__D>(__deserializer: __D) -> Result<Location, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Ord for Location
impl Ord for Location
Source§impl PartialOrd for Location
impl PartialOrd for Location
impl Copy for Location
impl Eq for Location
impl StructuralPartialEq for Location
Auto Trait Implementations§
impl Freeze for Location
impl RefUnwindSafe for Location
impl Send for Location
impl Sync for Location
impl Unpin for Location
impl UnwindSafe for Location
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