pub struct ReuseLiveRange {
pub var: u32,
pub def_point: usize,
pub last_use: usize,
pub size_class: ReuseMemSizeClass,
}Expand description
Live range for reuse analysis
Fields§
§var: u32§def_point: usize§last_use: usize§size_class: ReuseMemSizeClassImplementations§
Source§impl ReuseLiveRange
impl ReuseLiveRange
pub fn overlaps(&self, other: &ReuseLiveRange) -> bool
pub fn can_reuse(&self, other: &ReuseLiveRange) -> bool
Trait Implementations§
Source§impl Clone for ReuseLiveRange
impl Clone for ReuseLiveRange
Source§fn clone(&self) -> ReuseLiveRange
fn clone(&self) -> ReuseLiveRange
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 Freeze for ReuseLiveRange
impl RefUnwindSafe for ReuseLiveRange
impl Send for ReuseLiveRange
impl Sync for ReuseLiveRange
impl Unpin for ReuseLiveRange
impl UnsafeUnpin for ReuseLiveRange
impl UnwindSafe for ReuseLiveRange
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