pub struct Range {
pub start: Point,
pub end: Point,
}Expand description
The stretch of the function a value is live over.
Both ends are included: a value written at a point and read at a later one is live at both, and one written and never read is live where it was written, because the register it was written to is not free at the instant it was written to. A value written early is written before the instruction reads its operands and is still written when the instruction is done, so even one nothing reads covers the whole of the instruction that wrote it.
Fields§
§start: PointWhere the value is written.
end: PointThe last place it is read, or where it is written if nothing reads it.
Implementations§
Trait Implementations§
impl Copy for Range
impl Eq for Range
impl StructuralPartialEq for Range
Auto Trait Implementations§
impl Freeze for Range
impl RefUnwindSafe for Range
impl Send for Range
impl Sync for Range
impl Unpin for Range
impl UnsafeUnpin for Range
impl UnwindSafe for Range
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